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. Upgrading Netdisco 2? (Andy Ruhl)
   2. Re: Upgrading Netdisco 2? (Oliver Gorwits)
   3. netdisco-deploy error (Bavo Seesink)
   4. Re: netdisco-deploy error (Oliver Gorwits)
   5. Re: Netdisco 2 - lots of queued jobs (Oliver Gorwits)
   6. Re: Netdisco 2 - lots of queued jobs (Andy Ruhl)
--- Begin Message ---
Hello all,

I noticed there was recently a new release here:

http://search.cpan.org/~oliver/App-Netdisco-2.029013_002/

I'm sorry if this is a stupid question, but how do I upgrade? It looks like
the package is just a tarball of files. So it seems that I might just
unpack these "over the top" of what I already have, which I can try.

But I'd rather read directions on how to upgrade instead of just trying
something.

Thanks.

Andy

--- End Message ---
--- Begin Message ---
Hi Andy,

On 2014-11-16 16:42, Andy Ruhl wrote:
I'm sorry if this is a stupid question, but how do I upgrade? It looks
like the package is just a tarball of files. So it seems that I might
just unpack these "over the top" of what I already have, which I can
try.

There are no stupid questions :)

The app's homepage and documentation are here:
   https://metacpan.org/pod/App::Netdisco

You'll find an "upgrading" section there, with the simple steps to follow.

regards,
oliver.



--- End Message ---
--- Begin Message ---
Hi all,
I`m trying to install Netdisco 2.0.

If followed the instructions on 
"http://search.cpan.org/~oliver/App-Netdisco-2.008000/lib/App/Netdisco.pm” 
all worked well until i reach the part of the commando “~/bin/netdisco-deploy”.
I`m getting the following:

netdisco@debian:~/environments$ ~/bin/netdisco-deploy
This is the Netdisco II deployment script.

Before we continue, the following prerequisites must be in place:
 * Database added to PostgreSQL for Netdisco
 * User added to PostgreSQL with rights to the Netdisco Database
 * "~/environments/deployment.yml" file configured with Database dsn/user/pass
 * A full backup of any existing Netdisco database data
 * Internet access (for OUIs and MIBs)

You will be asked to confirm all changes to your system.

So, is all the above in place? [y/N]: y

Would you like to deploy or upgrade your database schema? [y/N]: y
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/Dancer/Plugin/DBIC.pm line 62
DBIx::Class::Storage::DBI::deploy(): DBIx::Class::Storage::DBI::deploy(): DBI 
Exception (unhandled by DBIC, ::Schema GCed): DBD::Pg::db do failed: ERROR:  
current transaction is aborted, commands ignored until end of transaction block 
at /home/netdisco/perl5/bin/netdisco-db-deploy line 88
 (running "CREATE TABLE dbix_class_schema_versions (
  version character varying(10) NOT NULL,
  installed character varying(20) NOT NULL,
  PRIMARY KEY (version)
)") at /home/netdisco/perl5/bin/netdisco-db-deploy line 88
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception (unhandled by DBIC, 
::Schema GCed): DBD::Pg::st execute failed: ERROR:  current transaction is 
aborted, commands ignored until end of transaction block [for Statement "INSERT 
INTO dbix_class_schema_versions ( installed, version) VALUES ( ?, ? )" with 
ParamValues: 1='v20141118_064150.513', 2='1'] at 
/home/netdisco/perl5/bin/netdisco-db-deploy line 88
DB schema update complete.
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/Dancer/Plugin/DBIC.pm line 62
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception (unhandled by DBIC, 
::Schema GCed): DBD::Pg::st execute failed: ERROR:  relation "users" does not 
exist
LINE 1: SELECT COUNT( * ) FROM users me WHERE ( admin )
                               ^ [for Statement "SELECT COUNT( * ) FROM users 
me WHERE ( admin )"] at /home/netdisco/bin/netdisco-deploy line 129
netdisco@debian:~/environments$ 

I Don`t think this is going well.
Can some one help me?

Thanks in advanced
Greetings 
Palermo


--- End Message ---
--- Begin Message ---
Hi Bavo,

If you follow the instructions over again from the beginning, at this page, then I think you'll be OK:

https://metacpan.org/pod/App::Netdisco

We released a new version the other day with seveal bug fixes.

regards,
oliver.


On 2014-11-18 07:02, Bavo Seesink wrote:
Hi all,
I`m trying to install Netdisco 2.0.

If followed the instructions on

"http://search.cpan.org/~oliver/App-Netdisco-2.008000/lib/App/Netdisco.pm
[1]”
all worked well until i reach the part of the commando
“~/bin/netdisco-deploy”.
I`m getting the following:

netdisco@debian:~/environments$ ~/bin/netdisco-deploy
THIS IS THE NETDISCO II DEPLOYMENT SCRIPT.

BEFORE WE CONTINUE, THE FOLLOWING PREREQUISITES MUST BE IN PLACE:
 * DATABASE ADDED TO POSTGRESQL FOR NETDISCO
 * USER ADDED TO POSTGRESQL WITH RIGHTS TO THE NETDISCO DATABASE
 * "~/ENVIRONMENTS/DEPLOYMENT.YML" FILE CONFIGURED WITH DATABASE
DSN/USER/PASS
 * A FULL BACKUP OF ANY EXISTING NETDISCO DATABASE DATA
 * INTERNET ACCESS (FOR OUIS AND MIBS)

YOU WILL BE ASKED TO CONFIRM ALL CHANGES TO YOUR SYSTEM.

So, is all the above in place? [y/N]: Y

Would you like to deploy or upgrade your database schema? [y/N]: Y
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/Dancer/Plugin/DBIC.pm line 62
DBIx::Class::Storage::DBI::deploy():
DBIx::Class::Storage::DBI::deploy(): DBI Exception (unhandled by DBIC,
::Schema GCed): DBD::Pg::db do failed: ERROR: current transaction is
aborted, commands ignored until end of transaction block at
/home/netdisco/perl5/bin/netdisco-db-deploy line 88
 (running "CREATE TABLE dbix_class_schema_versions (
 version character varying(10) NOT NULL,
 installed character varying(20) NOT NULL,
 PRIMARY KEY (version)
)") at /home/netdisco/perl5/bin/netdisco-db-deploy line 88
DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception (unhandled by
DBIC, ::Schema GCed): DBD::Pg::st execute failed: ERROR: current
transaction is aborted, commands ignored until end of transaction
block [for Statement "INSERT INTO dbix_class_schema_versions (
installed, version) VALUES ( ?, ? )" with ParamValues:
1='v20141118_064150.513', 2='1'] at
/home/netdisco/perl5/bin/netdisco-db-deploy line 88
DB SCHEMA UPDATE COMPLETE.
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/DANCER/PLUGIN/DBIC.PM LINE 62
DBIX::CLASS::STORAGE::DBI::_DBH_EXECUTE(): DBI EXCEPTION (UNHANDLED BY
DBIC, ::SCHEMA GCED): DBD::PG::ST EXECUTE FAILED: ERROR: RELATION
"USERS" DOES NOT EXIST
LINE 1: SELECT COUNT( * ) FROM USERS ME WHERE ( ADMIN )
 ^ [FOR STATEMENT "SELECT COUNT( * ) FROM USERS ME WHERE ( ADMIN )"]
AT /HOME/NETDISCO/BIN/NETDISCO-DEPLOY LINE 129
netdisco@debian:~/environments$

I Don`t think this is going well.
Can some one help me?

Thanks in advanced
Greetings
Palermo



Links:
------
[1] http://search.cpan.org/~oliver/App-Netdisco-2.008000/lib/App/Netdisco.pm




--- End Message ---
--- Begin Message ---
Hi Andy,

In the latest release of Netdisco, the daemons restart themselves periodically and I believe this should fix your "stuck jobs" problem. You can upgrade by following the instructions here:

https://metacpan.org/pod/App::Netdisco

regards,
oliver.

On 2014-11-08 14:31, Andy Ruhl wrote:
If I go to Admin -> Job Queue

All I see are queued jobs.

I looked at the database and I see this (don't know if it's relevant):

netdisco=> select count(*) from admin where status='queued';
 count
-------
  1049

By looking at the "connected nodes" column in the "ports" link for a
device, I'm sure that data is at least a few days old.

What can I do?

I probably don't need to be doing macwalk and arpwalk every hour.

Thanks!

Andy


------------------------------------------------------------------------------
_______________________________________________
Netdisco mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users




--- End Message ---
--- Begin Message ---
Thanks. I upgraded a few minutes ago without issue.

We'll see how it goes.

Andy

--- End Message ---
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Netdisco mailing list - Digest Mode
[email protected]
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to