[GH-ISSUE #29] [Feature Request] OIDC / Forward Auth #15

Closed
opened 2026-02-27 15:54:32 +03:00 by kerem · 18 comments
Owner

Originally created by @CrazyWolf13 on GitHub (Jun 23, 2025).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/29

Hi

It would be awesome to have OIDC or Forward auth, examples:

https://docs.goauthentik.io/docs/add-secure-apps/providers/proxy/header_authentication
https://docs.goauthentik.io/integrations/services/bookstack/

That would be awesome, because one could simply log into main auth provider and not have to log in again on each selfhosted app.
Therefore log in automatically into gitea-mirror.

I guess it's best to decide, if the app stays single-user then header auth may probably be the best, if multi-user OIDC/Oauth.

Originally created by @CrazyWolf13 on GitHub (Jun 23, 2025). Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/29 Hi It would be awesome to have OIDC or Forward auth, examples: https://docs.goauthentik.io/docs/add-secure-apps/providers/proxy/header_authentication https://docs.goauthentik.io/integrations/services/bookstack/ That would be awesome, because one could simply log into main auth provider and not have to log in again on each selfhosted app. Therefore log in automatically into gitea-mirror. I guess it's best to decide, if the app stays single-user then header auth may probably be the best, if multi-user OIDC/Oauth.
kerem 2026-02-27 15:54:32 +03:00
Author
Owner

@arunavo4 commented on GitHub (Jun 24, 2025):

I have been debating about single and multiple user casue I feel if people have multiple github accounts they could make seperate user accounts and have it work that way. but single account is just easier to manage. Will think more on it and see what I decide on

<!-- gh-comment-id:2998814739 --> @arunavo4 commented on GitHub (Jun 24, 2025): I have been debating about single and multiple user casue I feel if people have multiple github accounts they could make seperate user accounts and have it work that way. but single account is just easier to manage. Will think more on it and see what I decide on
Author
Owner

@CrazyWolf13 commented on GitHub (Jun 24, 2025):

Yeah, I'd currently think single user is better for such a thing.
because with docker it's easy to run a second container.

<!-- gh-comment-id:2999338384 --> @CrazyWolf13 commented on GitHub (Jun 24, 2025): Yeah, I'd currently think single user is better for such a thing. because with docker it's easy to run a second container.
Author
Owner

@CrazyWolf13 commented on GitHub (Jun 24, 2025):

dude, you are insanely quick, awesome :)
will test out as soon as release is up.

<!-- gh-comment-id:3000120587 --> @CrazyWolf13 commented on GitHub (Jun 24, 2025): dude, you are insanely quick, awesome :) will test out as soon as release is up.
Author
Owner

@arunavo4 commented on GitHub (Jun 24, 2025):

@CrazyWolf13 https://github.com/arunavo4/gitea-mirror/releases/tag/v2.19.0

<!-- gh-comment-id:3000204544 --> @arunavo4 commented on GitHub (Jun 24, 2025): @CrazyWolf13 https://github.com/arunavo4/gitea-mirror/releases/tag/v2.19.0
Author
Owner

@CrazyWolf13 commented on GitHub (Jun 24, 2025):

Startup of the service seems to fail for me after update.

Jun 24 14:45:19 gitea-mirror bun[12782]: 🛑 Shutting down cleanup service...
Jun 24 14:45:19 gitea-mirror bun[12782]: 🛑 Stopping cleanup service...
Jun 24 14:45:19 gitea-mirror bun[12782]: ✅ Cleanup service stopped
Jun 24 14:45:19 gitea-mirror bun[12782]: ✅ Shutdown callback 1 completed
Jun 24 14:45:19 gitea-mirror bun[12782]: ✅ Completed all shutdown callbacks
Jun 24 14:45:19 gitea-mirror bun[12782]: 💾 Step 3: Closing database connections...
Jun 24 14:45:19 gitea-mirror bun[12782]: ✅ Graceful shutdown completed successfully
Jun 24 14:45:19 gitea-mirror systemd[1]: gitea-mirror.service: Deactivated successfully.
Jun 24 14:45:19 gitea-mirror systemd[1]: Stopped gitea-mirror.service - Gitea Mirror.
Jun 24 14:45:19 gitea-mirror systemd[1]: gitea-mirror.service: Consumed 1min 36.672s CPU time.
Jun 24 14:45:35 gitea-mirror systemd[1]: Started gitea-mirror.service - Gitea Mirror.
Jun 24 14:45:35 gitea-mirror bun[13390]: 14:45:35 [@astrojs/node] Server listening on
Jun 24 14:45:35 gitea-mirror bun[13390]:   local: https://localhost:4321
Jun 24 14:45:35 gitea-mirror bun[13390]:   network: https://10.10.20.47:4321
Jun 24 14:45:38 gitea-mirror bun[13390]: Successfully connected to SQLite database using Bun's native driver
Jun 24 14:45:38 gitea-mirror bun[13390]: ⚠️  Table 'auth_config' is missing. Creating it now...
Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ Table 'auth_config' created successfully
Jun 24 14:45:38 gitea-mirror bun[13390]: 🔄 Database migrations needed, running...
Jun 24 14:45:38 gitea-mirror bun[13390]: 🔄 Running database migrations...
Jun 24 14:45:38 gitea-mirror bun[13390]: 🔄 Migrating users table for authentication features...
Jun 24 14:45:38 gitea-mirror bun[13390]:   Adding column: display_name
Jun 24 14:45:38 gitea-mirror bun[13390]:   Adding column: auth_provider
Jun 24 14:45:38 gitea-mirror bun[13390]:   Adding column: external_id
Jun 24 14:45:38 gitea-mirror bun[13390]:   Adding column: external_username
Jun 24 14:45:38 gitea-mirror bun[13390]:   Adding column: is_active
Jun 24 14:45:38 gitea-mirror bun[13390]:   Adding column: last_login_at
Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ Applied 6 migrations to users table
Jun 24 14:45:38 gitea-mirror bun[13390]: 🔄 Creating auth_config table...
Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ auth_config table already exists
Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ All migrations completed successfully
Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ Database migrations completed successfully
Jun 24 14:45:38 gitea-mirror bun[13390]: 🔧 Initializing shutdown manager and signal handlers...
Jun 24 14:45:38 gitea-mirror bun[13390]: 🔧 Initializing shutdown manager...
Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ Shutdown manager initialized
Jun 24 14:45:38 gitea-mirror bun[13390]: 🔧 Setting up signal handlers for graceful shutdown...
Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ Signal handlers registered successfully
Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ Shutdown manager and signal handlers initialized
Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ No recovery needed (startup script likely handled it)
Jun 24 14:45:38 gitea-mirror bun[13390]: Starting automatic database cleanup service...
Jun 24 14:45:38 gitea-mirror bun[13390]: Starting background cleanup service...
Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ Cleanup service started. Will run every 60 minutes.
Jun 24 14:45:50 gitea-mirror bun[13390]: 91 |       setLoading(false);
Jun 24 14:45:50 gitea-mirror bun[13390]: 92 |     }
Jun 24 14:45:50 gitea-mirror bun[13390]: 93 |   };
Jun 24 14:45:50 gitea-mirror bun[13390]: 94 |   return /* @__PURE__ */ jsxDEV("div", { className: "min-h-screen flex items-center justify-center p-4", children: /* @__PURE__ */ jsxDEV(Card, { className: "w-full max-w-2xl", children: [
Jun 24 14:45:50 gitea-mirror bun[13390]: 95 |     /* @__PURE__ */ jsxDEV(CardHeader, { children: [
Jun 24 14:45:50 gitea-mirror bun[13390]: 96 |       /* @__PURE__ */ jsxDEV(CardTitle, { className: "text-2xl", children: "Welcome to Gitea Mirror" }, void 0, false, {
Jun 24 14:45:50 gitea-mirror bun[13390]:                            ^
Jun 24 14:45:50 gitea-mirror bun[13390]: TypeError: jsxDEV is not a function. (In 'jsxDEV(CardTitle, { className: "text-2xl", children: "Welcome to Gitea Mirror" }, void 0, !1, {
Jun 24 14:45:50 gitea-mirror bun[13390]:         fileName: "/opt/gitea-mirror/src/components/auth/SetupWizard.tsx",
Jun 24 14:45:50 gitea-mirror bun[13390]:         lineNumber: 128,
Jun 24 14:45:50 gitea-mirror bun[13390]:         columnNumber: 11
Jun 24 14:45:50 gitea-mirror bun[13390]:       }, this)', 'jsxDEV' is undefined)
Jun 24 14:45:50 gitea-mirror bun[13390]:       at SetupWizard (/opt/gitea-mirror/dist/server/pages/setup.astro.mjs:96:23)
Jun 24 14:45:50 gitea-mirror bun[13390]:       at renderWithHooks (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:3851:18)
Jun 24 14:45:50 gitea-mirror bun[13390]:       at renderElement (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:3989:14)
Jun 24 14:45:50 gitea-mirror bun[13390]:       at retryNode (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:4591:16)
Jun 24 14:45:50 gitea-mirror bun[13390]:       at performWork (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:5233:13)
Jun 24 14:45:50 gitea-mirror bun[13390]: There was an uncaught error in the middle of the stream while rendering /setup. 91 |       setLoading(false);
Jun 24 14:45:50 gitea-mirror bun[13390]: 92 |     }
Jun 24 14:45:50 gitea-mirror bun[13390]: 93 |   };
Jun 24 14:45:50 gitea-mirror bun[13390]: 94 |   return /* @__PURE__ */ jsxDEV("div", { className: "min-h-screen flex items-center justify-center p-4", children: /* @__PURE__ */ jsxDEV(Card, { className: "w-full max-w-2xl", children: [
Jun 24 14:45:50 gitea-mirror bun[13390]: 95 |     /* @__PURE__ */ jsxDEV(CardHeader, { children: [
Jun 24 14:45:50 gitea-mirror bun[13390]: 96 |       /* @__PURE__ */ jsxDEV(CardTitle, { className: "text-2xl", children: "Welcome to Gitea Mirror" }, void 0, false, {
Jun 24 14:45:50 gitea-mirror bun[13390]:                            ^
Jun 24 14:45:50 gitea-mirror bun[13390]: TypeError: jsxDEV is not a function. (In 'jsxDEV(CardTitle, { className: "text-2xl", children: "Welcome to Gitea Mirror" }, void 0, !1, {
Jun 24 14:45:50 gitea-mirror bun[13390]:         fileName: "/opt/gitea-mirror/src/components/auth/SetupWizard.tsx",
Jun 24 14:45:50 gitea-mirror bun[13390]:         lineNumber: 128,
Jun 24 14:45:50 gitea-mirror bun[13390]:         columnNumber: 11
Jun 24 14:45:50 gitea-mirror bun[13390]:       }, this)', 'jsxDEV' is undefined)
Jun 24 14:45:50 gitea-mirror bun[13390]:       at SetupWizard (/opt/gitea-mirror/dist/server/pages/setup.astro.mjs:96:23)
Jun 24 14:45:50 gitea-mirror bun[13390]:       at renderWithHooks (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:3851:18)
Jun 24 14:45:50 gitea-mirror bun[13390]:       at renderElement (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:3989:14)
Jun 24 14:45:50 gitea-mirror bun[13390]:       at retryNode (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:4591:16)
Jun 24 14:45:50 gitea-mirror bun[13390]:       at performWork (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:5233:13)
<!-- gh-comment-id:3000324836 --> @CrazyWolf13 commented on GitHub (Jun 24, 2025): Startup of the service seems to fail for me after update. ```bash Jun 24 14:45:19 gitea-mirror bun[12782]: 🛑 Shutting down cleanup service... Jun 24 14:45:19 gitea-mirror bun[12782]: 🛑 Stopping cleanup service... Jun 24 14:45:19 gitea-mirror bun[12782]: ✅ Cleanup service stopped Jun 24 14:45:19 gitea-mirror bun[12782]: ✅ Shutdown callback 1 completed Jun 24 14:45:19 gitea-mirror bun[12782]: ✅ Completed all shutdown callbacks Jun 24 14:45:19 gitea-mirror bun[12782]: 💾 Step 3: Closing database connections... Jun 24 14:45:19 gitea-mirror bun[12782]: ✅ Graceful shutdown completed successfully Jun 24 14:45:19 gitea-mirror systemd[1]: gitea-mirror.service: Deactivated successfully. Jun 24 14:45:19 gitea-mirror systemd[1]: Stopped gitea-mirror.service - Gitea Mirror. Jun 24 14:45:19 gitea-mirror systemd[1]: gitea-mirror.service: Consumed 1min 36.672s CPU time. Jun 24 14:45:35 gitea-mirror systemd[1]: Started gitea-mirror.service - Gitea Mirror. Jun 24 14:45:35 gitea-mirror bun[13390]: 14:45:35 [@astrojs/node] Server listening on Jun 24 14:45:35 gitea-mirror bun[13390]: local: https://localhost:4321 Jun 24 14:45:35 gitea-mirror bun[13390]: network: https://10.10.20.47:4321 Jun 24 14:45:38 gitea-mirror bun[13390]: Successfully connected to SQLite database using Bun's native driver Jun 24 14:45:38 gitea-mirror bun[13390]: ⚠️ Table 'auth_config' is missing. Creating it now... Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ Table 'auth_config' created successfully Jun 24 14:45:38 gitea-mirror bun[13390]: 🔄 Database migrations needed, running... Jun 24 14:45:38 gitea-mirror bun[13390]: 🔄 Running database migrations... Jun 24 14:45:38 gitea-mirror bun[13390]: 🔄 Migrating users table for authentication features... Jun 24 14:45:38 gitea-mirror bun[13390]: Adding column: display_name Jun 24 14:45:38 gitea-mirror bun[13390]: Adding column: auth_provider Jun 24 14:45:38 gitea-mirror bun[13390]: Adding column: external_id Jun 24 14:45:38 gitea-mirror bun[13390]: Adding column: external_username Jun 24 14:45:38 gitea-mirror bun[13390]: Adding column: is_active Jun 24 14:45:38 gitea-mirror bun[13390]: Adding column: last_login_at Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ Applied 6 migrations to users table Jun 24 14:45:38 gitea-mirror bun[13390]: 🔄 Creating auth_config table... Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ auth_config table already exists Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ All migrations completed successfully Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ Database migrations completed successfully Jun 24 14:45:38 gitea-mirror bun[13390]: 🔧 Initializing shutdown manager and signal handlers... Jun 24 14:45:38 gitea-mirror bun[13390]: 🔧 Initializing shutdown manager... Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ Shutdown manager initialized Jun 24 14:45:38 gitea-mirror bun[13390]: 🔧 Setting up signal handlers for graceful shutdown... Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ Signal handlers registered successfully Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ Shutdown manager and signal handlers initialized Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ No recovery needed (startup script likely handled it) Jun 24 14:45:38 gitea-mirror bun[13390]: Starting automatic database cleanup service... Jun 24 14:45:38 gitea-mirror bun[13390]: Starting background cleanup service... Jun 24 14:45:38 gitea-mirror bun[13390]: ✅ Cleanup service started. Will run every 60 minutes. Jun 24 14:45:50 gitea-mirror bun[13390]: 91 | setLoading(false); Jun 24 14:45:50 gitea-mirror bun[13390]: 92 | } Jun 24 14:45:50 gitea-mirror bun[13390]: 93 | }; Jun 24 14:45:50 gitea-mirror bun[13390]: 94 | return /* @__PURE__ */ jsxDEV("div", { className: "min-h-screen flex items-center justify-center p-4", children: /* @__PURE__ */ jsxDEV(Card, { className: "w-full max-w-2xl", children: [ Jun 24 14:45:50 gitea-mirror bun[13390]: 95 | /* @__PURE__ */ jsxDEV(CardHeader, { children: [ Jun 24 14:45:50 gitea-mirror bun[13390]: 96 | /* @__PURE__ */ jsxDEV(CardTitle, { className: "text-2xl", children: "Welcome to Gitea Mirror" }, void 0, false, { Jun 24 14:45:50 gitea-mirror bun[13390]: ^ Jun 24 14:45:50 gitea-mirror bun[13390]: TypeError: jsxDEV is not a function. (In 'jsxDEV(CardTitle, { className: "text-2xl", children: "Welcome to Gitea Mirror" }, void 0, !1, { Jun 24 14:45:50 gitea-mirror bun[13390]: fileName: "/opt/gitea-mirror/src/components/auth/SetupWizard.tsx", Jun 24 14:45:50 gitea-mirror bun[13390]: lineNumber: 128, Jun 24 14:45:50 gitea-mirror bun[13390]: columnNumber: 11 Jun 24 14:45:50 gitea-mirror bun[13390]: }, this)', 'jsxDEV' is undefined) Jun 24 14:45:50 gitea-mirror bun[13390]: at SetupWizard (/opt/gitea-mirror/dist/server/pages/setup.astro.mjs:96:23) Jun 24 14:45:50 gitea-mirror bun[13390]: at renderWithHooks (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:3851:18) Jun 24 14:45:50 gitea-mirror bun[13390]: at renderElement (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:3989:14) Jun 24 14:45:50 gitea-mirror bun[13390]: at retryNode (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:4591:16) Jun 24 14:45:50 gitea-mirror bun[13390]: at performWork (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:5233:13) Jun 24 14:45:50 gitea-mirror bun[13390]: There was an uncaught error in the middle of the stream while rendering /setup. 91 | setLoading(false); Jun 24 14:45:50 gitea-mirror bun[13390]: 92 | } Jun 24 14:45:50 gitea-mirror bun[13390]: 93 | }; Jun 24 14:45:50 gitea-mirror bun[13390]: 94 | return /* @__PURE__ */ jsxDEV("div", { className: "min-h-screen flex items-center justify-center p-4", children: /* @__PURE__ */ jsxDEV(Card, { className: "w-full max-w-2xl", children: [ Jun 24 14:45:50 gitea-mirror bun[13390]: 95 | /* @__PURE__ */ jsxDEV(CardHeader, { children: [ Jun 24 14:45:50 gitea-mirror bun[13390]: 96 | /* @__PURE__ */ jsxDEV(CardTitle, { className: "text-2xl", children: "Welcome to Gitea Mirror" }, void 0, false, { Jun 24 14:45:50 gitea-mirror bun[13390]: ^ Jun 24 14:45:50 gitea-mirror bun[13390]: TypeError: jsxDEV is not a function. (In 'jsxDEV(CardTitle, { className: "text-2xl", children: "Welcome to Gitea Mirror" }, void 0, !1, { Jun 24 14:45:50 gitea-mirror bun[13390]: fileName: "/opt/gitea-mirror/src/components/auth/SetupWizard.tsx", Jun 24 14:45:50 gitea-mirror bun[13390]: lineNumber: 128, Jun 24 14:45:50 gitea-mirror bun[13390]: columnNumber: 11 Jun 24 14:45:50 gitea-mirror bun[13390]: }, this)', 'jsxDEV' is undefined) Jun 24 14:45:50 gitea-mirror bun[13390]: at SetupWizard (/opt/gitea-mirror/dist/server/pages/setup.astro.mjs:96:23) Jun 24 14:45:50 gitea-mirror bun[13390]: at renderWithHooks (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:3851:18) Jun 24 14:45:50 gitea-mirror bun[13390]: at renderElement (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:3989:14) Jun 24 14:45:50 gitea-mirror bun[13390]: at retryNode (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:4591:16) Jun 24 14:45:50 gitea-mirror bun[13390]: at performWork (/opt/gitea-mirror/node_modules/react-dom/cjs/react-dom-server.bun.production.js:5233:13) ```
Author
Owner

@arunavo4 commented on GitHub (Jun 24, 2025):

@CrazyWolf13 are you using docker or Proxmox?

<!-- gh-comment-id:3000419635 --> @arunavo4 commented on GitHub (Jun 24, 2025): @CrazyWolf13 are you using docker or Proxmox?
Author
Owner

@CrazyWolf13 commented on GitHub (Jun 24, 2025):

Proxmox :)

<!-- gh-comment-id:3000463398 --> @CrazyWolf13 commented on GitHub (Jun 24, 2025): Proxmox :)
Author
Owner

@arunavo4 commented on GitHub (Jun 24, 2025):

@CrazyWolf13 I have made a patch update with some manual migrations. But will be releasing a breaking change major verison update with drizzle migrations for future proofing this.

Production build error fix:

cd /opt/gitea-mirror
NODE_ENV=production bun run build
sudo systemctl restart gitea-mirror

Setup wizard on existing installation fix:

cd /opt/gitea-mirror
./fix-v2.19-upgrade.sh
<!-- gh-comment-id:3000607738 --> @arunavo4 commented on GitHub (Jun 24, 2025): @CrazyWolf13 I have made a patch update with some manual migrations. But will be releasing a breaking change major verison update with drizzle migrations for future proofing this. Production build error fix: ``` cd /opt/gitea-mirror NODE_ENV=production bun run build sudo systemctl restart gitea-mirror ``` Setup wizard on existing installation fix: ``` cd /opt/gitea-mirror ./fix-v2.19-upgrade.sh ```
Author
Owner

@CrazyWolf13 commented on GitHub (Jun 24, 2025):

Hi @arunavo4
Thanks for the quick fix, though that does not seem to resolve the issue, I still see the error:

Neither the update, nor the both snippets above seem to fix it :/

Image

The first command did just a build no special output, but the service still showed the above error.

The second command looks promising, but seems to fail.

<!-- gh-comment-id:3000805990 --> @CrazyWolf13 commented on GitHub (Jun 24, 2025): Hi @arunavo4 Thanks for the quick fix, though that does not seem to resolve the issue, I still see the error: Neither the update, nor the both snippets above seem to fix it :/ ![Image](https://github.com/user-attachments/assets/4ffcf01e-adef-4d1d-acdd-ed69a9614a62) The first command did just a build no special output, but the service still showed the above error. The second command looks promising, but seems to fail.
Author
Owner

@arunavo4 commented on GitHub (Jun 24, 2025):

@CrazyWolf13 Hey I dont want to spend time writing migrations so I have moved the application to use drizzle migrations for easy migrations in the future but it does come with a major breaking change so just do a fresh start from scratch.

future migrations should be seemless. v3.0.0 I am currently testing this

<!-- gh-comment-id:3000842136 --> @arunavo4 commented on GitHub (Jun 24, 2025): @CrazyWolf13 Hey I dont want to spend time writing migrations so I have moved the application to use drizzle migrations for easy migrations in the future but it does come with a major breaking change so just do a fresh start from scratch. future migrations should be seemless. `v3.0.0` I am currently testing this
Author
Owner

@CrazyWolf13 commented on GitHub (Jun 24, 2025):

alright.

Please let me know the most semless way to migrate the whole community-script userbase (Roughly 100 Installs)
Plus if we need to do any special changes to our deployment.

<!-- gh-comment-id:3000919565 --> @CrazyWolf13 commented on GitHub (Jun 24, 2025): alright. Please let me know the most semless way to migrate the whole community-script userbase (Roughly 100 Installs) Plus if we need to do any special changes to our deployment.
Author
Owner

@CrazyWolf13 commented on GitHub (Jun 27, 2025):

@arunavo4 could you release v3 as an actual github release an tag it?
Seems like it's ony tagged on ghcr.

EDIT: seems like it's only prerelease.

<!-- gh-comment-id:3011689647 --> @CrazyWolf13 commented on GitHub (Jun 27, 2025): @arunavo4 could you release v3 as an actual github release an tag it? Seems like it's ony tagged on ghcr. EDIT: seems like it's only prerelease.
Author
Owner

@arunavo4 commented on GitHub (Jun 27, 2025):

It has issues so I have made pre release I need to fix the issues but I don't have time this week wait for next week I will try to find some time

<!-- gh-comment-id:3012546213 --> @arunavo4 commented on GitHub (Jun 27, 2025): It has issues so I have made pre release I need to fix the issues but I don't have time this week wait for next week I will try to find some time
Author
Owner

@arunavo4 commented on GitHub (Jul 7, 2025):

Due to major issues I have removed the v3 branch and will update it once I have fully tested and fixed all the issues.

<!-- gh-comment-id:3043468208 --> @arunavo4 commented on GitHub (Jul 7, 2025): Due to major issues I have removed the v3 branch and will update it once I have fully tested and fixed all the issues.
Author
Owner

@arunavo4 commented on GitHub (Jul 17, 2025):

@CrazyWolf13 consider testing the latest v3 version

https://github.com/RayLabsHQ/gitea-mirror/releases/tag/v3.0.0

<!-- gh-comment-id:3083711481 --> @arunavo4 commented on GitHub (Jul 17, 2025): @CrazyWolf13 consider testing the latest v3 version https://github.com/RayLabsHQ/gitea-mirror/releases/tag/v3.0.0
Author
Owner

@CrazyWolf13 commented on GitHub (Jul 22, 2025):

@arunavo4 apologies for the delay, I was finally able to upgrade our script and also my personal instance. I fully reconfigured it too.

When clicking on the Authentification Part of that round bar, I end up with a black screen, I can't see anything in the log.

https://github.com/user-attachments/assets/9824c1bf-560d-4157-9b76-6ab0420cb4a5

<!-- gh-comment-id:3103995914 --> @CrazyWolf13 commented on GitHub (Jul 22, 2025): @arunavo4 apologies for the delay, I was finally able to upgrade our script and also my personal instance. I fully reconfigured it too. When clicking on the Authentification Part of that round bar, I end up with a black screen, I can't see anything in the log. https://github.com/user-attachments/assets/9824c1bf-560d-4157-9b76-6ab0420cb4a5
Author
Owner

@CrazyWolf13 commented on GitHub (Jul 22, 2025):

Error from dev-tools:

Uncaught TypeError: t.map is not a function
    Z0 http://10.10.20.45:4321/_astro/MainLayout.aKav2rrH.js:273
    Rf http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24
    $f http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24
    A1 http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24
    w1 http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24
    Hh http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24
    zc http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24
    C1 http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24
    fv http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24
    Ea http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:9
    Td http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:9
    Td http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:9
    Ed http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:9
    Md http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:17
    Dd http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:25
    <anonymous> http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:25
MainLayout.aKav2rrH.js:273:134771
<!-- gh-comment-id:3104001447 --> @CrazyWolf13 commented on GitHub (Jul 22, 2025): Error from dev-tools: ```bash Uncaught TypeError: t.map is not a function Z0 http://10.10.20.45:4321/_astro/MainLayout.aKav2rrH.js:273 Rf http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24 $f http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24 A1 http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24 w1 http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24 Hh http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24 zc http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24 C1 http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24 fv http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:24 Ea http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:9 Td http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:9 Td http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:9 Ed http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:9 Md http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:17 Dd http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:25 <anonymous> http://10.10.20.45:4321/_astro/client.DxZNQU9M.js:25 MainLayout.aKav2rrH.js:273:134771 ```
Author
Owner

@CrazyWolf13 commented on GitHub (Oct 22, 2025):

I'm gonna close this as OIDC is implemented.

<!-- gh-comment-id:3430649558 --> @CrazyWolf13 commented on GitHub (Oct 22, 2025): I'm gonna close this as OIDC is implemented.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/gitea-mirror#15
No description provided.