I’m currently running Emoncms 9.9.8 on a local Ubuntu 18.04 VM. The Emoncms install is unfortunately quite messy and Ubuntu is running slow in the VM, so I decided to migrate to XUbuntu 18.04 and do a clean Emoncms install. I have now created the new VM, everything is running nicely and I now want to migrate data etc.
Preferably I would like to use the sync functionality, but PHP redis does no longer work on the old install after I updated from emoncms 9.x to 9.8. When running
sudo tail /var/log/apache2/error.log
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/redis.so' - /usr/lib/php/20151012/redis.so: cannot open shared object file: No such file or directory in Unknown on line 0 [Tue Mar 05 00:06:12.664384 2019] [mpm_prefork:notice] [pid 1023] AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations [Tue Mar 05 00:06:12.664445 2019] [core:notice] [pid 1023] AH00094: Command line: '/usr/sbin/apache2' [Tue Mar 05 00:06:12.689951 2019] [:error] [pid 3293] avahi_entry_group_add_service_strlst("localhost") failed: Invalid host name
I can see redis.so is in an other library; ‘/usr/lib/php/20170718/’ , so obviously something is not right I tried different redis version, but no luck.
So I decided to use the backup script in Usefulscripts in stead. This worked very nicely, and all the data transferred to the new VM - but they do not populate the Feed-list. I’ve tried creating a new feed, and that works OK and the data file is saved next to the transferred files. Any special tricks needed to get the old feed to populate the feed list?