Send netdisco-users mailing list submissions to netdisco-users@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/netdisco-users or, via email, send a message with subject or body 'help' to netdisco-users-requ...@lists.sourceforge.net You can reach the person managing the list at netdisco-users-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of netdisco-users digest..."
Today's Topics: 1. Re: [EXTERNAL] Re: container update problem (Eric Bates)
--- Begin Message ---Thanks for you time, folks. I followed Olivier's suggestion about testing the access to postgres; and that appears to not be a problem: $ docker exec -ti netdisco-web psql -U netdisco -d netdisco -h netdisco-postgresql Password for user netdisco: psql (17.4, server 13.4) Type "help" for help. netdisco=> \dt List of relations Schema | Name | Type | Owner --------+----------------------------+-------+---------- public | admin | table | netdisco public | community | table | netdisco ... public | user_log | table | netdisco public | users | table | netdisco (37 rows) netdisco=> I also added Christian's Health check. But more to the point, the explanation that the early error: "Your DB is currently unversioned." is really spurious. There is another error following (didn't mention it before) is: 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 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. Compilation failed in require at /home/netdisco/perl5/bin/netdisco-web-fg line 59. BEGIN failed--compilation aborted at /home/netdisco/perl5/bin/netdisco-web-fg line 59. Child process 13 exited with status 115 On 5/16/25 03:08, Christian Ramseyer wrote: > This email originated outside of WHOI. Please use caution if clicking on > links or opening attachments. > > Hi Eric > > Yes there is no need to netdisco-deploy manually. The messages you see > are expected during container start, here is an explanation: > > https://github.com/netdisco/netdisco-docker/issues/73#issuecomment-2560401492 > > As long as Netdisco works after a while, it's all good. Just looks a bit > worrying. > > I've experimented with better dependencies in the docker-compose that > would improve things: > > https://github.com/netdisco/netdisco-docker/issues/77 > > But I'm reluctant to add it to the docker-compose.yml since it might > complicate an upgrade of the Postgres container we're planning, and it > forces people to use a newer docker-compose for just a cosmetic problem. > > Cheers > Christian > > On 15.05.2025 20:48, Eric Bates wrote: >> Hi folks; >> >> I've recently created a netdisco in a Docker container and it has been >> working well. For various reasons I've had to bounce the container quite >> a few times and suddenly there is a problem with the schema: >> >> DBIx::Class::Schema::Versioned::_on_connect(): Your DB is currently >> unversioned. Please call upgrade on your schema to sync the DB. >> >> Correct me if I'm wrong; but I don't run netdisco-deploy anymore with >> the container? >> >> Once it had failed, I did perform a fresh pull from Docker Hub; but it's >> still throwing the same error. >> >> If I do have to run netdisco-deploy, which container do I run it in? >> netdisco-web, netdisco-backend, or netdisco-postgresql? >> >> Only netdisco-web has any errors. The other 2 appear happy. >> >> -- >> Clark 159a >> 508/289-3112 >> >> >> >> _______________________________________________ >> Netdisco mailing list >> netdisco-users@lists.sourceforge.net >> https://sourceforge.net/p/netdisco/mailman/netdisco-users/ > -- > Christian Ramseyer, netnea ag > Network Management. Security. OpenSource. > https://www.netnea.com/ > Phone: +41 79 644 77 64 > >
smime.p7m
Description: smime.p7m
--- End Message ---
_______________________________________________ Netdisco mailing list - Digest Mode netdisco-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/netdisco-users