Unauthorized when trying to create New Organization #1697

Closed
opened 2026-04-05 19:39:42 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @ericflix on 3/19/2025

New installation on Ubuntu 24.02 LTS. ran with installer script.

I can browse to the management page and log in. When prompted for the initial setup I enter any name and click create organization, there is an immediate message "Unauthorized"

`
$ sudo docker logs pangolin

@fosrl/pangolin@0.0.0 start
NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs'

Starting migrations from version 1.0.1
Migrations to run:
All migrations completed successfully
2025-03-19T18:21:16.795Z [warn]: Email SMTP configuration is missing. Emails will not be sent.
2025-03-19T18:21:17.155Z [info]: Server admin (me@here.com) already exists
2025-03-19T18:21:17.780Z [info]: API server is running on http://localhost:3000
2025-03-19T18:21:17.781Z [info]: Internal server is running on http://localhost:3001
2025-03-19T18:21:18.016Z [info]: Next.js server is running on http://localhost:3002
npm error path /app
npm error command failed
npm error signal SIGTERM
npm error command sh -c NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs'
npm notice
npm notice New major version of npm available! 10.8.2 -> 11.2.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.2.0
npm notice To update run: npm install -g npm@11.2.0
npm notice
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-03-19T18_21_13_625Z-debug-0.log

@fosrl/pangolin@0.0.0 start
NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs'

Starting migrations from version 1.0.1
Migrations to run:
All migrations completed successfully
2025-03-19T18:22:46.197Z [warn]: Email SMTP configuration is missing. Emails will not be sent.
2025-03-19T18:22:46.521Z [info]: Server admin (me@here.com) already exists
2025-03-19T18:22:47.361Z [info]: API server is running on http://localhost:3000
2025-03-19T18:22:47.361Z [info]: Internal server is running on http://localhost:3001
2025-03-19T18:22:47.681Z [info]: Next.js server is running on http://localhost:3002
npm error path /app
npm error command failed
npm error signal SIGTERM
npm error command sh -c NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs'
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-03-19T18_22_42_650Z-debug-0.log
`

*Originally created by @ericflix on 3/19/2025* New installation on Ubuntu 24.02 LTS. ran with installer script. I can browse to the management page and log in. When prompted for the initial setup I enter any name and click create organization, there is an immediate message "Unauthorized" ` $ sudo docker logs pangolin > @fosrl/pangolin@0.0.0 start > NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs' Starting migrations from version 1.0.1 Migrations to run: All migrations completed successfully 2025-03-19T18:21:16.795Z [warn]: Email SMTP configuration is missing. Emails will not be sent. 2025-03-19T18:21:17.155Z [info]: Server admin (me@here.com) already exists 2025-03-19T18:21:17.780Z [info]: API server is running on http://localhost:3000 2025-03-19T18:21:17.781Z [info]: Internal server is running on http://localhost:3001 2025-03-19T18:21:18.016Z [info]: Next.js server is running on http://localhost:3002 npm error path /app npm error command failed npm error signal SIGTERM npm error command sh -c NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs' npm notice npm notice New major version of npm available! 10.8.2 -> 11.2.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.2.0 npm notice To update run: npm install -g npm@11.2.0 npm notice npm error A complete log of this run can be found in: /root/.npm/_logs/2025-03-19T18_21_13_625Z-debug-0.log > @fosrl/pangolin@0.0.0 start > NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs' Starting migrations from version 1.0.1 Migrations to run: All migrations completed successfully 2025-03-19T18:22:46.197Z [warn]: Email SMTP configuration is missing. Emails will not be sent. 2025-03-19T18:22:46.521Z [info]: Server admin (me@here.com) already exists 2025-03-19T18:22:47.361Z [info]: API server is running on http://localhost:3000 2025-03-19T18:22:47.361Z [info]: Internal server is running on http://localhost:3001 2025-03-19T18:22:47.681Z [info]: Next.js server is running on http://localhost:3002 npm error path /app npm error command failed npm error signal SIGTERM npm error command sh -c NODE_OPTIONS=--enable-source-maps NODE_ENV=development ENVIRONMENT=prod sh -c 'node dist/migrations.mjs && node dist/server.mjs' npm error A complete log of this run can be found in: /root/.npm/_logs/2025-03-19T18_22_42_650Z-debug-0.log `
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1697