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: container update problem (Oliver Gorwits)
   2. Re: container update problem (Christian Ramseyer)
--- Begin Message ---
Hi Eric,

I'm not too experienced with running Netdisco in containers, but usually
that error means that the connection to the database is failing (yes, very
cryptic) ... could there be an issue with the local networking? If you run
netdisco-do container entrypoint can you run the "psql" command?

In answer to your question, you can run deploy from the backend container,
but as I say, I suspect that's not the issue as the postgresql container
should deploy itself on startup.
https://github.com/netdisco/netdisco-docker/tree/master/netdisco-postgresql

regards
oliver.

On Thu, 15 May 2025 at 21:31, Eric Bates <eba...@whoi.edu> 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/

--- End Message ---
--- Begin Message ---
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




--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to