Send netdisco-users mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
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: Cannot update and now postgres
authentication is gone (Oliver Gorwits)
--- Begin Message ---
ahh, thanks for letting us know!
On Fri, 8 Aug 2025 at 15:32, Eric Bates <[email protected]> wrote:
> Thank you. You are correct.
>
> Not sure why; but it's the user "netdisco" which can no longer use the
> network (other logins on the machine can pull it).
> Clearly not netdisco's fault.
> On 8/7/25 02:40, Oliver Gorwits wrote:
>
> This email originated outside of WHOI. Please use caution if clicking on
> links or opening attachments.
> Hi Eric
>
> I suspect some kind of network issue on your box or locally. In particular
> the second error is usually caused by netdisco not being able to connect to
> the database at all (sorry it’s a rubbish error message), which then makes
> me think that the metacpandb isn’t offline, it’s just unreachable.
>
> Occasionally yes the metacpandb where the install comes from is offline,
> but usually not for long and with the db error also, I suspect something
> else.
>
> Is the server able to do Linux package updates for instance?
>
> Regards
>
> Oliver
>
> On Wed, 6 Aug 2025 at 23:32, Eric Bates <[email protected]> wrote:
>
>> I'm a little unclear what's going on, but I can no longer run
>> ~/bin/netdisco-do
>>
>> I ran the normal update command and I'm getting an "App::Netdisco not
>> found" error:
>>
>> netdisco@netdisco:~$ ~/bin/localenv cpanm --notest App::Netdisco
>> ! Finding App::Netdisco on cpanmetadb failed.
>> App::Netdisco is up to date. (2.087000)
>>
>> I checked, and I am up to date (2.087000 is the version on CPAN);
>> however, I don't understand the error message.
>>
>> Additionally, now when I try to add a new device (haven't done it in a
>> while; so it may have nothing to do with the above?), I get a Postgres
>> authentication error:
>>
>> netdisco@netdisco:~$ ~/bin/netdisco-do discover -d
>> clark04x01.whoinet.whoi.edu -D
>> [7601] 2025-08-06 14:46:28 info App::Netdisco version 2.087000 loaded.
>> [7601] 2025-08-06 14:46:28 info discover: [172.26.8.207] started at Wed
>> Aug 6 10:46:28 2025DBIx::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
>> [7601] 2025-08-06 14:46:28 info discover: finished at Wed Aug 6
>> 10:46:28 2025
>> [7601] 2025-08-06 14:46:28 info discover: status error: error running
>> job: DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed:
>> DBI connect('dbname=netdisco','changeme',...) failed: connection to
>> server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL:
>> Peer authentication failed for user "changeme" at
>> /home/netdisco/perl5/lib/perl5/DBIx/Class/Storage/DBI.pm line 1639. at
>> /home/netdisco/perl5/lib/perl5/App/Netdisco/Util/Device.pm line 80
>>
>> The environments/deployment.yaml is being ignored? I'm assuming
>> "changeme" is a default username?
>>
>> The file IS readable by the user "netdisco" and the web page appears to
>> be running correctly. I just can't use the cli.
>>
>> --
>> Clark 159a
>> 508/289-3112
>>
>> _______________________________________________
>> Netdisco mailing list
>> [email protected]
>> https://sourceforge.net/p/netdisco/mailman/netdisco-users/
>
>
>
--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users