Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Cacti 0.8 (pre20030410) - Problem and Question

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions
Author Message
holti



Joined: 19 Mar 2002
Posts: 19

PostPosted: Sun Apr 13, 2003 3:46 pm    Post subject: Cacti 0.8 (pre20030410) - Problem and Question Reply with quote

Hi all,
i'm using 0.8 since friday: fantastic tool, upgrade from 0.68 worked fine, all data is still there and is't much better than 0.68....
One problem occurs: i can't collapse the tree, is it a known bug or what am i doing wrong???
One Question: will i have to do the update-procedure with every new preVersion or can i leave the database as it is??
Thanks for your answers
Michael
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Sun Apr 13, 2003 11:50 pm    Post subject: Reply with quote

Expanding/Collapsing branches should work at this point. There was a bug regarding this, but it has since been fixed. What happens when you try and expand/collapse a branch? The first thing I would do is drop and reload your database from cacti.sql to make sure that everything is up to date.

It's not a given that you have to re-import your database for each pre-release, but it's a very good idea. Since it is pre-release software, the database structure is subject to change in which case could cause things to break.

I hope I answered your questions.

-Ian
Back to top
holti



Joined: 19 Mar 2002
Posts: 19

PostPosted: Mon Apr 14, 2003 4:07 am    Post subject: Reply with quote

Hi Ian,
thanks for your fast answer.
When i click on a "-" in the tree, the screen is rebuilded, but with the same content.
So i tried the following: picked the version from today (20030414), moved my cacti-dir to cacti old, created a new database and filled it from cacti.sql and copied the rra/ to the new dir.
When i point my browser to the new directory, the setup-dialog appears. I choose "Update from 0.8", but i allways come back to this screen...
So no chance to start with a new database.
Greetings
Michael
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Mon Apr 14, 2003 5:11 pm    Post subject: Reply with quote

I fixed this problem in the latest release and in CVS. Just FYI 'New install' and 'upgrade from 0.8.x' are functionally equivilant at this point. Eventually the latter option will take care of making modifications to the 0.8.x database upon upgrades to future versions.

-Ian
Back to top
holti



Joined: 19 Mar 2002
Posts: 19

PostPosted: Tue Apr 15, 2003 6:55 am    Post subject: Reply with quote

Hi Ian,
so i tried pre20030415 with a blank database an added some hosts, builded a graph tree and collapsing the tree works great
My new problem now: how can i import my existing data (from the db with "non-working-collapse") to the new version????
I fear, that copying the database will copy the problem too
Greetings
Michael
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Thu Apr 17, 2003 12:09 am    Post subject: Reply with quote

To force the installer to appear, just execute the following SQL on your cacti database:

Code:
delete from version; insert into version (cacti) values ('new_install');


I would be curious to see if importing your old 0.6.8 database caused the problem to re-appear.

-Ian
Back to top
holti



Joined: 19 Mar 2002
Posts: 19

PostPosted: Thu Apr 17, 2003 1:35 am    Post subject: Reply with quote

Hi Ian,
i had the same thought yesterday....
I set up a new cacti 0.8 and added some graphs: collapsing worked
Then i set up another new cacti 0.8 and imported my old 0.6 database: collapsing didn't work
So today i'll start with another new one and create all my hosts. Then i'll copy the old rras over the new ones.... This should bring up a working version of 0.8 with collapsing trees....
Thanks for your answer
Michael
Back to top
Guest






PostPosted: Thu Apr 17, 2003 12:10 pm    Post subject: Reply with quote

I'm at the same point here, I did an upgrade from .68 to .8 and collapsing the branches does not work. It just refreshes the page with them all expanded. This is still probably a bug if it only works with a new install.

Thanks,
J
Back to top
chrism



Joined: 10 Sep 2002
Posts: 13

PostPosted: Wed Apr 30, 2003 7:53 am    Post subject: Reply with quote

Same problem here, with Version 0.8-pre20030430. I've tried building/populating/dropping the schema a number of times, but 'update' from 0.6.8 still brings in the problem. Trees won't collapse.

Other than that, 0.8 is the tops. The speed of the poller is awsome. A huge improvement.

ChrisM
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Wed Apr 30, 2003 2:10 pm    Post subject: Reply with quote

Alright, I will take a look at the import/tree issue tonight.

-Ian
Back to top
raX
Lead Developer


Joined: 13 Oct 2001
Posts: 2234
Location: Carlisle, PA

PostPosted: Wed Apr 30, 2003 8:50 pm    Post subject: Reply with quote

The problem was due to the fact that I was not importing the 'graph_settings' column from the users table. To fix you can either re-run the import with a new release, or check the "Allow this User to Keep Custom Graph Settings" under user administration.

-Ian
Back to top
chrism



Joined: 10 Sep 2002
Posts: 13

PostPosted: Thu May 01, 2003 5:27 am    Post subject: Reply with quote

Thanks Ian,

It's working fine now.

Chris
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group