Zoom and default tree problems SOLVED

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
paulstaf
Posts: 4
Joined: Sun Dec 11, 2016 5:00 pm

Zoom and default tree problems SOLVED

Post by paulstaf »

After a new install on Ubuntu with Version 0.8.8f, I saw no items under the tree graph mode, and I also could not zoom into my graphs to see specific times.

This is what I did to fix it. I am posting this so that someone in the future may find this and be able to fix it:

I don't know if this first copying thing helped or not:
sudo cp /usr/share/javascript/jquery-ui/jquery-ui.js /usr/share/cacti/site/include/js/

And then dump and reinstall javascript-common:

dpkg --purge javascript-common
apt-get install javascript-common
aftershocks
Cacti User
Posts: 117
Joined: Fri Aug 22, 2014 2:11 pm

Re: Zoom and default tree problems SOLVED

Post by aftershocks »

@paulstaf:

THANK YOU SOOOO MUCH!! This helped me a lot! been trying to search for a solution for the longest time!

Thank you!!
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Zoom and default tree problems SOLVED

Post by netniV »

Unfortunately, the version of cacti installed by Ubuntu is quite old now so applying this kind of fix is a manual job if someone gets the error given the current version of cacti is 1.1.28. I upgraded from 0.8.8f to 1.1.28 using the github source and I have had no issues with zoom etc. But it would be good to know if these issues are present on a clean install of 1.1.28 without upgrading.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Zoom and default tree problems SOLVED

Post by paulgevers »

paulstaf wrote:After a new install on Ubuntu with Version 0.8.8f, I saw no items under the tree graph mode, and I also could not zoom into my graphs to see specific times.

This is what I did to fix it. I am posting this so that someone in the future may find this and be able to fix it:

I don't know if this first copying thing helped or not:
sudo cp /usr/share/javascript/jquery-ui/jquery-ui.js /usr/share/cacti/site/include/js/

And then dump and reinstall javascript-common:

dpkg --purge javascript-common
apt-get install javascript-common
Oh, how I wish such issues were filed in Debian or Ubuntu bug trackers such that I can investigate and potentially fix it for everybody. Alas.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Zoom and default tree problems SOLVED

Post by netniV »

Out of interest, which version is currently used in the packages? Last time I used the packages, I was only getting the 0.8.8f version.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
paulgevers
Cacti Pro User
Posts: 613
Joined: Tue Aug 29, 2006 4:09 pm
Location: NL

Re: Zoom and default tree problems SOLVED

Post by paulgevers »

markv wrote:Out of interest, which version is currently used in the packages? Last time I used the packages, I was only getting the 0.8.8f version.
Fully up-to-date. But older Ubuntu or Debian releases aren't updated of course.
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Zoom and default tree problems SOLVED

Post by netniV »

Oh I see why I got the older version from stable, rather than the newer one from backports. I'll have to see if I had that enabled or not.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Moegoe
Posts: 16
Joined: Sun Aug 04, 2019 7:13 am

Re: Zoom and default tree problems SOLVED

Post by Moegoe »

Thank you sir for that solution. It is finding posts like this that makes my day. :D
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests