Open thatlostboy opened 1 month ago
I am using rancher 1.14.2 on my laptop (not docker directly) as we are not allowed to use docker at our company. Is this issue on netdisco related to: https://github.com/rancher-sandbox/rancher-desktop/issues/1209
Hello Im having a similar issue asking for upgrade of db
followed the instructions as per README
cd $directory_of_your_choice
mkdir -p netdisco/{logs,config,nd-site-local}
sudo chown -R 901:901 netdisco
~ ls -al
total 16
drwxr-xr-x 6 901 901 4096 Sep 18 11:46 netdisco
netdisco-web_1 | DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently unversioned. Please call upgrade on your schema to sync the DB. at /home/netdisco/perl5/lib/perl5/DBICx/Sugar.pm line 121
netdisco-web_1 | Error while loading /home/netdisco/perl5/bin/netdisco-web-fg: The setting session_cookie_key must be defined at /home/netdisco/perl5/lib/perl5/Dancer/Session/Cookie.pm line 38.
netdisco-web_1 | Compilation failed in require at /home/netdisco/perl5/bin/netdisco-web-fg line 59.
netdisco-web_1 | BEGIN failed--compilation aborted at /home/netdisco/perl5/bin/netdisco-web-fg line 59.
netdisco-web_1 | Child process 9 exited with status 115
netdisco-web_1 | DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently unversioned. Please call upgrade on your schema to sync the DB. at /home/netdisco/perl5/lib/perl5/DBICx/Sugar.pm line 121
netdisco-web_1 | Error while loading /home/netdisco/perl5/bin/netdisco-web-fg: The setting session_cookie_key must be defined at /home/netdisco/perl5/lib/perl5/Dancer/Session/Cookie.pm line 38.
netdisco-web_1 | Compilation failed in require at /home/netdisco/perl5/bin/netdisco-web-fg line 59.
netdisco-web_1 | BEGIN failed--compilation aborted at /home/netdisco/perl5/bin/netdisco-web-fg line 59.
netdisco-web_1 | Child process 12 exited with status 115
netdisco-web_1 | DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently unversioned. Please call upgrade on your schema to sync the DB. at /home/netdisco/perl5/lib/perl5/DBICx/Sugar.pm line 121
netdisco-web_1 | Error while loading /home/netdisco/perl5/bin/netdisco-web-fg: The setting session_cookie_key must be defined at /home/netdisco/perl5/lib/perl5/Dancer/Session/Cookie.pm line 38.
netdisco-web_1 | Compilation failed in require at /home/netdisco/perl5/bin/netdisco-web-fg line 59.
netdisco-web_1 | BEGIN failed--compilation aborted at /home/netdisco/perl5/bin/netdisco-web-fg line 59.
netdisco-web_1 | Child process 10 exited with status 115
netdisco-web_1 | DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently unversioned. Please call upgrade on your schema to sync the DB. at /home/netdisco/perl5/lib/perl5/DBICx/Sugar.pm line 121
netdisco-web_1 | Error while loading /home/netdisco/perl5/bin/netdisco-web-fg: The setting session_cookie_key must be defined at /home/netdisco/perl5/lib/perl5/Dancer/Session/Cookie.pm line 38.
I can actually enter the web gui ,seems to be working .
Any clue how to solve this?
Provide a general summary of the issue in the Title above
when including netdisco config snippets, whitespace matters since it's a yaml file for github issues it really helps if you include the relevant config parts in a codeblock (code fencing) see the "code" subject on https://guides.github.com/features/mastering-markdown/ for that) this should preserve spaces in the issue tracker and make troubleshooting quicker -->
Expected Behavior
When i run docker-compose up, the containers should come up and i shoudl be able to access the web interface.
Current Behavior
When I run docker-compose up, I get the following error. And I cannot acess the website at https://localhost:5000
Possible Solution
Steps to Reproduce (for bugs)
I following the steps in: https://hub.docker.com/r/netdisco/netdisco
Context
I cannot test netdisco for our environment.
Your Environment
I am not sure how to check the postgresql and backend versions. Here is the relevant output from the docker image ls
Device information