This will solve a few issues. Took quite a bit of time to track down
the real root cause. Right now, I don't have a real fix script.
However, a re-install will fix things up right.
Note that you will need to rerun you database upgrade after thsese
changes. Some a new table and some new columns have been added to
support remote polling and if you don't make these database changes,
your Cacti system may stop operating.
note, the poller table is updated, see the cacti.sql, also the default
poller_id is now 1, so you need to review the file
install/0_8_8g_to_1_0_0.php for important changes.
for testers, make sure that you not only add the poller_resource_cache
table, but alter the structure of the host table, or you system will
stop working. this is the first of several commit's. taking it in
stages.
All templates being imported throws error message:
03/23/2016 11:19:21 AM - CMDPHP ERROR: There are no RRA's assigned to local_data_id: x.
You have to resave them to make them work.
This fixed the login issue.
Now upgraded database and new installed database is exactly equal, no difference.
Still need to fix/test:
1. output for array sql log
2. test windows
3. cleanup, import more features, make it look better
Works:
Linux New install
Upgrade from 0.8.8g
Tables were not created because primary key was: KEY PRIMARY 'id' Instead of PRIMARY KEY 'id
Saw some weird behaviour when switching between 0.8.8g and 1.0, this was solved when browser was closed between upgrades.
Removed top and bottom header
Issues:
1. the new way of creating tables with db_create_table doesnt give any log output, if it fails it fails silently.
2. after upgrade user are sent to login page but cant login with admin/admin, realm problem?