update 1.x to 2.5 problems

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Better, well for the most part now right?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

Post by torstentfk »

TheWitness wrote:Looks like the database upgrade did not run correctly for you.

TheWitness
so best is to delete all tables and let mactrack initialize all the tables and data from scratch?
But which table do I have to truncate? I do not want to loose my setup of switches/sites etc., only the mac/ip-content should be renewed.

Torsten
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

update lib/database.php from branches/0.8.7/lib/database.php and then post the errors.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

Post by torstentfk »

- updated the database.php from the cacti svn.
- changed to version mactrack 2.6
--> works
zephyr936
Posts: 5
Joined: Wed Jul 28, 2010 3:35 am

Post by zephyr936 »

I have the same problem as torstentfk with the 2.6 version of mactrack(the last one with the database which didn't update when i change from 1.1 version)with the messages :
-Notice: Undefined index: term_type in /var/www/cacti-0.8.7e/plugins/mactrack/mactrack_view_devices.php on line 369
-/var/www/cacti-0.8.7e/plugins/mactrack/mactrack_view_devices.php on line 393
I can't use svn to upgrade to 2.8 version so i would like to know a different solution to update the database. I have also some problem, i cannot see the devices in the console but there are in the mactrack viewer.
And from 1.1 version an in the 2.6 version i have also a problem of port none dectected where there are devices connected to them and up in MACAdress in the MACTrack viewer too.
I have the 0.8.7.e version of cacti, 2.6 for mactrack and 2.6 for the Architecture.
thanks forward
Zephyr
zephyr936
Posts: 5
Joined: Wed Jul 28, 2010 3:35 am

Post by zephyr936 »

it s ok now about the database problem ( i uninstall and install again mactrack 2.6) but i lost every devices and every type devices, i ve just added all my every devices and type devices one by one but i have also the problem with the 1.1 version of MacTrack :
MacTrack don t show every ports of my devices, some of them with device connected on it so it s a real problem. I have Cisco devices : C6500, C3750G, C2950 and C2960.
Have you any idea about my problem ?
i have post a new topic for that
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

When you uninstall MacTrack, it removes your data. Please restore from your last backup, and you will be fine.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

zephyr936 wrote:I have the same problem as torstentfk with the 2.6 version of mactrack(the last one with the database which didn't update when i change from 1.1 version)with the messages :
-Notice: Undefined index: term_type in /var/www/cacti-0.8.7e/plugins/mactrack/mactrack_view_devices.php on line 369
-/var/www/cacti-0.8.7e/plugins/mactrack/mactrack_view_devices.php on line 393
I can't use svn to upgrade to 2.8 version so i would like to know a different solution to update the database. I have also some problem, i cannot see the devices in the console but there are in the mactrack viewer.
And from 1.1 version an in the 2.6 version i have also a problem of port none dectected where there are devices connected to them and up in MACAdress in the MACTrack viewer too.
I have the 0.8.7.e version of cacti, 2.6 for mactrack and 2.6 for the Architecture.
thanks forward
Zephyr
Please open a bug report at http://bugs.cacti.net for this issue. I might do some work on MacTrack from the Airport on in the air on Saturday. Not sure yet.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
zephyr936
Posts: 5
Joined: Wed Jul 28, 2010 3:35 am

Post by zephyr936 »

about the data i just manually increase everythings that was a boring stuff, i finish my trainning course today so i cannot be there if there is some idea.
thanks a lot for trying to help me
Zephyr
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest