Error setting up the package registry #274

Closed
opened 2023-04-03 16:55:10 +00:00 by zramsay · 1 comment
Member

transient error, went away after I nuked everything and started over.

% ./laconic-so --stack package-registry deploy-system up
[+] Running 3/0
 ⠿ Container laconic-d3bb23c3edc2ab76c76594cb1360a2b3-db-1      Running                            0.0s
 ⠿ Container laconic-d3bb23c3edc2ab76c76594cb1360a2b3-server-1  Running                            0.0s
 ⠿ Container laconic-d3bb23c3edc2ab76c76594cb1360a2b3-runner-1  Running                            0.0s
2023/04/03 12:43:04 ...s/setting/setting.go:260:newFileProviderFromConf() [F] Unable to find configuration file: "/data/gitea/conf/app.ini".
	Ensure you are running in the correct environment or set the correct configuration file with -c.
jq: error (at <stdin>:1): Cannot index string with string "name"
This is your gitea access token: null. Keep it safe and secure, it can not be fetched again from gitea.
To use with laconic-so set this environment variable: export CERC_NPM_AUTH_TOKEN=null
jq: error (at <stdin>:1): Cannot index string with string "name"
Created the organization cerc-io
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL:  database "gitea" does not exist
Gitea was configured to use host name: gitea.local, ensure that this resolves to localhost, e.g. with sudo vi /etc/hosts
Success, gitea is properly initialized
transient error, went away after I nuked everything and started over. ``` % ./laconic-so --stack package-registry deploy-system up [+] Running 3/0 ⠿ Container laconic-d3bb23c3edc2ab76c76594cb1360a2b3-db-1 Running 0.0s ⠿ Container laconic-d3bb23c3edc2ab76c76594cb1360a2b3-server-1 Running 0.0s ⠿ Container laconic-d3bb23c3edc2ab76c76594cb1360a2b3-runner-1 Running 0.0s 2023/04/03 12:43:04 ...s/setting/setting.go:260:newFileProviderFromConf() [F] Unable to find configuration file: "/data/gitea/conf/app.ini". Ensure you are running in the correct environment or set the correct configuration file with -c. jq: error (at <stdin>:1): Cannot index string with string "name" This is your gitea access token: null. Keep it safe and secure, it can not be fetched again from gitea. To use with laconic-so set this environment variable: export CERC_NPM_AUTH_TOKEN=null jq: error (at <stdin>:1): Cannot index string with string "name" Created the organization cerc-io psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: database "gitea" does not exist Gitea was configured to use host name: gitea.local, ensure that this resolves to localhost, e.g. with sudo vi /etc/hosts Success, gitea is properly initialized ```
Author
Member

haven't run into this again

haven't run into this again
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
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: cerc-io/stack-orchestrator#274
No description provided.