Jun 26 12:01:13 FreeboxVM systemd[1]: Started emoncms_sync service.
Jun 26 12:01:13 FreeboxVM emoncms_sync[3329]: PHP Warning: include(Modules/sync/sync_model.php): failed to open stream: No such file or directory in /opt/emoncms/modules/sync/sync_upload.php on line 21
Jun 26 12:01:13 FreeboxVM emoncms_sync[3329]: Warning: include(Modules/sync/sync_model.php): failed to open stream: No such file or directory in /opt/emoncms/modules/sync/sync_upload.php on line 21
Jun 26 12:01:13 FreeboxVM emoncms_sync[3329]: PHP Warning: include(): Failed opening 'Modules/sync/sync_model.php' for inclusion (include_path='.:/usr/share/php') in /opt/emoncms/modules/sync/sync_upload.php on line 21
Jun 26 12:01:13 FreeboxVM emoncms_sync[3329]: Warning: include(): Failed opening 'Modules/sync/sync_model.php' for inclusion (include_path='.:/usr/share/php') in /opt/emoncms/modules/sync/sync_upload.php on line 21
Jun 26 12:01:13 FreeboxVM emoncms_sync[3329]: PHP Fatal error: Uncaught Error: Class 'Sync' not found in /opt/emoncms/modules/sync/sync_upload.php:22
Jun 26 12:01:13 FreeboxVM emoncms_sync[3329]: Stack trace:
Jun 26 12:01:13 FreeboxVM emoncms_sync[3329]: #0 {main}
Jun 26 12:01:13 FreeboxVM emoncms_sync[3329]: thrown in /opt/emoncms/modules/sync/sync_upload.php on line 22
Jun 26 12:01:13 FreeboxVM emoncms_sync[3329]: Fatal error: Uncaught Error: Class 'Sync' not found in /opt/emoncms/modules/sync/sync_upload.php:22
Jun 26 12:01:13 FreeboxVM emoncms_sync[3329]: Stack trace:
Jun 26 12:01:13 FreeboxVM emoncms_sync[3329]: #0 {main}
Jun 26 12:01:13 FreeboxVM emoncms_sync[3329]: thrown in /opt/emoncms/modules/sync/sync_upload.php on line 22
Jun 26 12:01:13 FreeboxVM systemd[1]: emoncms_sync.service: Main process exited, code=exited, status=255/EXCEPTION
Jun 26 12:01:13 FreeboxVM systemd[1]: emoncms_sync.service: Failed with result 'exit-code'.
Some paths are wrong but even adding and/copy duplication paths/files, it does not work !
The repo is up-to-date. I even erased it completely to be sure I’ve the latest stable version.
sync_model.php is located here /opt/emoncms/modules/sync/sync-module/sync_model.php
It’s installed on a virtual machine running on my internet provider box
The OS is Debian 5.10.237-1.
Well in the mean time it’s working.
First I had to fix the user name in the install.sh script.
Then for the “file not found”, I’ve copied the content of the sub-folder sync-module into /var/www/emoncms/Modules/sync/
I played around a lot… but I think that’s the thing that fixed the problem.