Troubles upgrading to Cacti 1.2.0.

Andrea Venturoli <[email protected]> Mon, 14 Jan 2019 09:51:03 +0100
Newsgroups gmane.network.cacti.user
Message-ID <[email protected]>
Hello.

I've got an installation of Cacti 1.1 on FreeBSD and I've upgraded via 
pakcages to 1.2.0.

It has always been enough to go to the cacti site and follow the web 
upgrade instructions, but this time it does not work.

I get to the page where I have to choose theme, language and accept the 
license, but after I press Begin, I get:

> Action failed
> Sorry, we could not process your last action.
> Errore: 200 OK
> Reason: The response to the last action was unexpected.

In cacti.log I have:
> 2019/01/14 09:10:00 - ERROR PHP NOTICE: Undefined index: processes in file: /usr/local/share/cacti/poller.php  on line: 218
> 2019/01/14 09:10:00 - CMDPHP PHP ERROR NOTICE Backtrace:  (/poller.php[218]:CactiErrorHandler())
> 2019/01/14 09:10:00 - CMDPHP ERROR: A DB Row Failed!, Error: Unknown column 'deleted' in 'where clause'
> 2019/01/14 09:10:00 - CMDPHP SQL Backtrace:  (/poller.php[370]:db_fetch_assoc_prepared(), /lib/database.php[463]:db_execute_prepared())
> 2019/01/14 09:10:00 - ERROR PHP WARNING: array_merge(): Argument #2 is not an array in file: /usr/local/share/cacti/poller.php  on line: 370
> 2019/01/14 09:10:00 - CMDPHP PHP ERROR WARNING Backtrace:  (/poller.php[370]:array_merge(), CactiErrorHandler())
> 2019/01/14 09:10:00 - ERROR PHP WARNING: Invalid argument supplied for foreach() in file: /usr/local/share/cacti/poller.php  on line: 582
> 2019/01/14 09:10:00 - CMDPHP PHP ERROR WARNING Backtrace:  (/poller.php[582]:CactiErrorHandler())
> 2019/01/14 09:10:00 - SYSTEM STATS: Time:0.0215 Method:cmd.php Processes:1 Threads:N/A Hosts:-1 HostsPerProcess:-1 DataSources:95 RRDsProcessed:0
> 2019/01/14 09:10:00 - CMDPHP ERROR: A DB Row Failed!, Error: Unknown column 'last_sync' in 'where clause'
> 2019/01/14 09:10:00 - CMDPHP SQL Backtrace:  (/poller.php[787]:poller_replicate_check(), /poller.php[818]:db_fetch_assoc(), /lib/database.php[449]:db_fetch_assoc_prepared(), /lib/database.php[463]:db_execute_prepared())
> 2019/01/14 09:10:00 - ERROR PHP WARNING: Invalid argument supplied for foreach() in file: /usr/local/share/cacti/poller.php  on line: 820
> 2019/01/14 09:10:00 - CMDPHP PHP ERROR WARNING Backtrace:  (/poller.php[787]:poller_replicate_check(), /poller.php[820]:CactiErrorHandler())
> 2019/01/14 09:10:00 - CMDPHP ERROR: A DB Row Failed!, Error: Table 'cacti.data_debug' doesn't exist
> 2019/01/14 09:10:00 - CMDPHP SQL Backtrace:  (/poller.php[791]:dsdebug_poller_bottom(), /lib/dsdebug.php[145]:db_fetch_assoc(), /lib/database.php[449]:db_fetch_assoc_prepared(), /lib/database.php[463]:db_execute_prepared())
> 2019/01/14 09:10:00 - CMDPHP ERROR: A DB Row Failed!, Error: Unknown column 'deleted' in 'where clause'
> 2019/01/14 09:10:00 - CMDPHP SQL Backtrace:  (/poller_maintenance.php[146]:api_device_purge_deleted_devices(), /lib/api_device.php[109]:db_fetch_assoc_prepared(), /lib/database.php[463]:db_execute_prepared())


Any help appreciated.

  bye & Thanks
	av.