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"
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
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 GitHub (Mar 19, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/367
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
`
Are you logged in with the server admin credentials from the config file?
I don't see anything in these logs to indicate a problem as this just shows the startup logs. Are there any other errors server side when you click the create button? I can't think of why this would be throwing unauthorized.
<!-- gh-comment-id:2738426680 -->
@miloschwartz commented on GitHub (Mar 19, 2025):
Are you logged in with the server admin credentials from the config file?
I don't see anything in these logs to indicate a problem as this just shows the startup logs. Are there any other errors server side when you click the create button? I can't think of why this would be throwing unauthorized.
Yes, when I click on the user menu on the upper left it shows my email and that I am the server admin, there are no other users.
<!-- gh-comment-id:2738493016 -->
@ericflix commented on GitHub (Mar 19, 2025):
Yes, when I click on the user menu on the upper left it shows my email and that I am the server admin, there are no other users.
I think I have solved it, It appears to be a cookies or cache issue, cleared chrome and it works now.
<!-- gh-comment-id:2738815312 -->
@ericflix commented on GitHub (Mar 20, 2025):
I think I have solved it, It appears to be a cookies or cache issue, cleared chrome and it works now.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @ericflix on GitHub (Mar 19, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/367
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
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
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
`
@miloschwartz commented on GitHub (Mar 19, 2025):
Are you logged in with the server admin credentials from the config file?
I don't see anything in these logs to indicate a problem as this just shows the startup logs. Are there any other errors server side when you click the create button? I can't think of why this would be throwing unauthorized.
@ericflix commented on GitHub (Mar 19, 2025):
Yes, when I click on the user menu on the upper left it shows my email and that I am the server admin, there are no other users.
@ericflix commented on GitHub (Mar 20, 2025):
I think I have solved it, It appears to be a cookies or cache issue, cleared chrome and it works now.