This indicates that your SQL Database upgrade has not worked for many upgrades. And I assume you have a permission issue on your Database Server not allowing you to do clean upgrade.
2024-09-22 14:53:32.556 T:2985 error <general>: SQL: Can't create database for copy: 'MyVideos121' (1007)
2024-09-22 14:53:32.556 T:2985 error <general>: Unable to copy old database MyVideos121 to new version MyVideos131
1 Like
Ok seems to be the problem. I think i have found the problem with the permissions. What can i do to upgrade the database again?
Would this be the right way?
First:
Stop KODi first… “Sudo systemctl Stop Mediacenter”
Second:
Remove the upgraded (MyVideos131) Database and restart Moviecenter
Third:
“Sudo systemctl Start Mediacenter”
Yes that would retrigger an upgrade of the database
1 Like
Seems to be the right way. Migration is done right now and i can see movies and series again.
Thanks for your support.
After some days the same behaviour again. although after the last time the DB migration was completed successfully.
What ist my Problem? So anybody needs a new debug log?
THIS IS THE LOG…
https://paste.osmc.tv/soqiruyutu
i did the same procedure like last time…
First:
Stop KODi first… “Sudo systemctl Stop Mediacenter”
Second:
Remove the upgraded (MyVideos131) Database and restart Moviecenter
Third:
“Sudo systemctl Start Mediacenter”
after that i saw this picture on display…
and than this one
So out of my point of view everything seems to be ok. But tommorrow morning i will have the same problem again.
Hope anybody can help me.
The same problem again this morning.
An automatic backup is created at 4:01 a.m. and the system restarts at 5:00 a.m. (I had set it up once, but I can’t remember where, but maybe you can see it in the log file).
It looks like the problem is there again after the restart.
Can anyone say anything about this? The log file was too big and only the important lines were there.
> 2024-10-02 04:54:46.857 T:3831 debug <general>: smb: smbc_rmdir(smb://USERNAME:PASSWORD@192.168.19.2/Backup/Kodi_Backup/202409280400)
> 2024-10-02 04:54:46.949 T:3831 debug <general>: script.xbmcbackup-1.7.0: scheduler will run again on 03.10.2024 04:00:00
> 2024-10-02 04:56:23.427 T:3789 info <general>: Samba is idle. Closing the remaining connections
> 2024-10-02 04:56:23.428 T:3789 info <general>: smb: Performing aggressive shutdown.
> 2024-10-02 04:56:23.439 T:3789 debug <general>: smb: smbc_remove_usused_server: 0xd07466a8 removed.
> 2024-10-02 04:56:23.443 T:3789 debug <general>: smb: smbc_remove_usused_server: 0xf00f1db0 removed.
> 2024-10-02 04:56:23.443 T:3789 debug <general>: smb: Context 0xd930af98 successfully freed
> 2024-10-02 04:56:23.443 T:3789 debug <general>: smb: Freeing parametrics:
> 2024-10-02 05:00:02.414 T:3789 info <general>: Quitting due to POSIX signal
> 2024-10-02 05:00:02.455 T:3789 info <general>: Stopping the application...
> 2024-10-02 05:00:02.455 T:3789 info <general>: Stopping player
> 2024-10-02 05:00:02.456 T:3789 info <general>: Stopping all
> 2024-10-02 05:00:02.456 T:3789 debug <general>: NetworkMessage - Signaling network services to stop
> 2024-10-02 05:00:02.456 T:3789 info <general>: ES: Stopping event server
> 2024-10-02 05:00:02.456 T:3789 debug <general>: CZeroconfAvahi::doRemoveService named: servers.jsonrpc-tcp
> 2024-10-02 05:00:02.461 T:3836 info <general>: WebSocket: connection closed by client
> 2024-10-02 05:00:02.462 T:3836 info <general>: JSONRPC Server: Disconnection detected
> 2024-10-02 05:00:02.463 T:3836 debug <general>: Thread TCPServer 3744407808 terminating
> 2024-10-02 05:00:03.080 T:3789 debug <general>: CZeroconfAvahi::doRemoveService named: servers.airtunes
> 2024-10-02 05:00:03.092 T:3789 debug <general>: NetworkMessage - Waiting for network services to stop
> 2024-10-02 05:00:03.092 T:3789 info <general>: stopping zeroconf publishing
> 2024-10-02 05:00:03.100 T:3789 info <CWebserver[80]>: Stopped
> 2024-10-02 05:00:03.449 T:3835 info <general>: ES: UDP Event server stopped
> 2024-10-02 05:00:03.450 T:3835 debug <general>: Thread EventServer 3752800512 terminating
> 2024-10-02 05:00:03.451 T:3789 debug <general>: CServiceAddonManager: stopping script.module.osmcsetting.updates.
> 2024-10-02 05:00:03.451 T:3789 debug <general>: CPythonInvoker(0, /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/service.py): trigger Monitor abort request
> 2024-10-02 05:00:03.451 T:3829 debug <general>: script.module.osmccommon[osmc_comms] : Communications shutting down... /var/tmp/osmc.settings.update.sockfile
> 2024-10-02 05:00:03.453 T:3829 debug <general>: script.module.osmccommon[osmc_comms] : Exit message sent to socket... /var/tmp/osmc.settings.update.sockfile
> 2024-10-02 05:00:03.453 T:3829 debug <general>: script.module.osmcsetting.updates[service] : Service shutdown.
> 2024-10-02 05:00:03.454 T:3829 debug <general>: CPythonInvoker(0, /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/service.py): script successfully run
> 2024-10-02 05:00:03.454 T:3829 info <general>: CPythonInvoker(0, /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/service.py): waiting on thread 3607359744
> 2024-10-02 05:00:03.455 T:3842 debug <general>: script.module.osmccommon[osmc_comms] : Connection is active... /var/tmp/osmc.settings.update.sockfile
> 2024-10-02 05:00:03.456 T:3842 debug <general>: script.module.osmccommon[osmc_comms] : Connection received partial data... exit @ /var/tmp/osmc.settings.update.sockfile
> 2024-10-02 05:00:03.457 T:3842 debug <general>: script.module.osmccommon[osmc_comms] : Connection received data... exit @ /var/tmp/osmc.settings.update.sockfile
> 2024-10-02 05:00:03.457 T:3842 debug <general>: script.module.osmccommon[osmc_comms] : Connection called to shutdown... /var/tmp/osmc.settings.update.sockfile
> 2024-10-02 05:00:03.540 T:3842 debug <general>: script.module.osmccommon[osmc_comms] : Communications shutdown... /var/tmp/osmc.settings.update.sockfile
> 2024-10-02 05:00:03.555 T:3829 debug <general>: onExecutionDone(0, /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/service.py)
> 2024-10-02 05:00:03.556 T:3829 debug <general>: .
> 2024-10-02 05:00:03.641 T:3829 debug <general>: Python interpreter interrupted by user
> 2024-10-02 05:00:03.641 T:3789 debug <general>: CPythonInvoker(0, /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/service.py): script termination took 191ms
> 2024-10-02 05:00:03.641 T:3789 debug <general>: CServiceAddonManager: stopping script.service.checkpreviousepisode.
> 2024-10-02 05:00:03.641 T:3789 debug <general>: CPythonInvoker(1, /home/osmc/.kodi/addons/script.service.checkpreviousepisode/default.py): trigger Monitor abort request
> 2024-10-02 05:00:03.641 T:3829 debug <general>: Thread LanguageInvoker 3803156736 terminating
> 2024-10-02 05:00:03.642 T:3830 info <general>: ### Kodi Check Previous Episode 0.4.7 - Exiting...
> 2024-10-02 05:00:03.642 T:3830 debug <general>: CPythonInvoker(1, /home/osmc/.kodi/addons/script.service.checkpreviousepisode/default.py): script successfully run
> 2024-10-02 05:00:03.642 T:3830 debug <general>: onExecutionDone(1, /home/osmc/.kodi/addons/script.service.checkpreviousepisode/default.py)
> 2024-10-02 05:00:03.664 T:3830 debug <general>: Python interpreter interrupted by user
> 2024-10-02 05:00:03.664 T:3789 debug <general>: CPythonInvoker(1, /home/osmc/.kodi/addons/script.service.checkpreviousepisode/default.py): script termination took 12ms
> 2024-10-02 05:00:03.664 T:3789 debug <general>: CServiceAddonManager: stopping script.xbmcbackup.
> 2024-10-02 05:00:03.664 T:3789 debug <general>: CPythonInvoker(2, /home/osmc/.kodi/addons/script.xbmcbackup/service.py): trigger Monitor abort request
> 2024-10-02 05:00:04.143 T:3831 debug <general>: CPythonInvoker(2, /home/osmc/.kodi/addons/script.xbmcbackup/service.py): script successfully run
> 2024-10-02 05:00:04.144 T:3831 debug <general>: onExecutionDone(2, /home/osmc/.kodi/addons/script.xbmcbackup/service.py)
> 2024-10-02 05:00:04.146 T:3831 debug <general>: .
> 2024-10-02 05:00:04.531 T:3831 debug <general>: Skipped 1 duplicate messages..
> 2024-10-02 05:00:04.531 T:3831 debug <general>: Python interpreter interrupted by user
> 2024-10-02 05:00:04.531 T:3789 debug <general>: CPythonInvoker(2, /home/osmc/.kodi/addons/script.xbmcbackup/service.py): script termination took 868ms
> 2024-10-02 05:00:04.531 T:3789 debug <general>: CServiceAddonManager: stopping service.osmc.settings.
> 2024-10-02 05:00:04.531 T:3789 debug <general>: CPythonInvoker(3, /usr/share/kodi/addons/service.osmc.settings/resources/lib/service.py): trigger Monitor abort request
> 2024-10-02 05:00:04.531 T:3831 debug <general>: Thread LanguageInvoker 3786371328 terminating
> 2024-10-02 05:00:04.531 T:3830 debug <general>: Thread LanguageInvoker 3794764032 terminating
> 2024-10-02 05:00:04.532 T:3832 debug <general>: service.osmc.settings[service_entry] : _daemon exiting
> 2024-10-02 05:00:04.532 T:3832 debug <general>: service.osmc.settings[service_entry] : Stopping listener (in wait)
> 2024-10-02 05:00:04.532 T:3832 debug <general>: script.module.osmccommon[osmc_comms] : Communications shutting down... /var/tmp/osmc.settings.sockfile
> 2024-10-02 05:00:04.532 T:3832 debug <general>: script.module.osmccommon[osmc_comms] : Exit message sent to socket... /var/tmp/osmc.settings.sockfile
> 2024-10-02 05:00:04.532 T:3832 debug <general>: service.osmc.settings[service_entry] : Deleting listener (in wait)
> 2024-10-02 05:00:04.532 T:3832 debug <general>: service.osmc.settings[service_entry] : Listener deleted.
> 2024-10-02 05:00:04.532 T:3832 debug <general>: service.osmc.settings[service_entry] : _daemon shutdown
> 2024-10-02 05:00:04.533 T:3832 debug <general>: service.osmc.settings[service_entry] : _daemon exited
> 2024-10-02 05:00:04.535 T:3845 debug <general>: script.module.osmccommon[osmc_comms] : Connection is active... /var/tmp/osmc.settings.sockfile
> 2024-10-02 05:00:04.537 T:3845 debug <general>: script.module.osmccommon[osmc_comms] : Connection received partial data... exit @ /var/tmp/osmc.settings.sockfile
> 2024-10-02 05:00:04.537 T:3845 debug <general>: script.module.osmccommon[osmc_comms] : Connection received data... exit @ /var/tmp/osmc.settings.sockfile
> 2024-10-02 05:00:04.537 T:3845 debug <general>: script.module.osmccommon[osmc_comms] : Connection called to shutdown... /var/tmp/osmc.settings.sockfile
> 2024-10-02 05:00:04.557 T:3832 debug <general>: service.osmc.settings[service] : Service shutdown.
> 2024-10-02 05:00:04.558 T:3832 debug <general>: CPythonInvoker(3, /usr/share/kodi/addons/service.osmc.settings/resources/lib/service.py): script successfully run
> 2024-10-02 05:00:04.558 T:3832 info <general>: CPythonInvoker(3, /usr/share/kodi/addons/service.osmc.settings/resources/lib/service.py): waiting on thread 3593466112
> 2024-10-02 05:00:04.610 T:3845 debug <general>: script.module.osmccommon[osmc_comms] : Communications shutdown... /var/tmp/osmc.settings.sockfile
> 2024-10-02 05:00:04.658 T:3832 debug <general>: onExecutionDone(3, /usr/share/kodi/addons/service.osmc.settings/resources/lib/service.py)
> 2024-10-02 05:00:04.665 T:3832 debug <general>: .
> 2024-10-02 05:00:04.827 T:3832 debug <general>: Python interpreter interrupted by user
> 2024-10-02 05:00:04.827 T:3789 debug <general>: CPythonInvoker(3, /usr/share/kodi/addons/service.osmc.settings/resources/lib/service.py): script termination took 296ms
> 2024-10-02 05:00:04.827 T:3789 debug <general>: CServiceAddonManager: stopping service.upnext.
> 2024-10-02 05:00:04.827 T:3789 debug <general>: CPythonInvoker(4, /home/osmc/.kodi/addons/service.upnext/resources/lib/service_entry.py): trigger Monitor abort request
> 2024-10-02 05:00:04.827 T:3832 debug <general>: Thread LanguageInvoker 3777978624 terminating
> 2024-10-02 05:00:04.828 T:3833 debug <CAddonSettings[0@service.upnext]>: trying to load setting definitions from old format...
> 2024-10-02 05:00:04.831 T:3833 debug <general>: [service.upnext] UpNextMonitor -> Service stopped
> 2024-10-02 05:00:04.831 T:3833 debug <general>: CPythonInvoker(4, /home/osmc/.kodi/addons/service.upnext/resources/lib/service_entry.py): script successfully run
> 2024-10-02 05:00:04.831 T:3833 debug <general>: onExecutionDone(4, /home/osmc/.kodi/addons/service.upnext/resources/lib/service_entry.py)
> 2024-10-02 05:00:04.858 T:3833 debug <general>: PythonLanguageHook::GetAddonId: __main__ returns null
> 2024-10-02 05:00:04.858 T:3833 error <general>: EXCEPTION: No valid addon id could be obtained. None was passed and the script wasn't executed in a normal Kodi manner.
> 2024-10-02 05:00:04.862 T:3833 debug <general>: Python interpreter interrupted by user
> 2024-10-02 05:00:04.862 T:3789 debug <general>: CPythonInvoker(4, /home/osmc/.kodi/addons/service.upnext/resources/lib/service_entry.py): script termination took 36ms
> 2024-10-02 05:00:04.862 T:3833 debug <general>: Thread LanguageInvoker 3769585920 terminating
> 2024-10-02 05:00:04.862 T:3807 debug <general>: Thread ActiveAE 3935392000 terminating
> 2024-10-02 05:00:04.863 T:3808 debug <general>: Thread AESink 3926999296 terminating
> 2024-10-02 05:00:04.865 T:3789 info <general>: Application stopped
> 2024-10-02 05:00:05.073 T:3828 debug <general>: Thread PeripEventScan 3811549440 terminating
> 2024-10-02 05:00:05.179 T:3825 debug <general>: Thread PeripBusUSBUdev 3836727552 terminating
> 2024-10-02 05:00:05.180 T:3826 debug <general>: Thread PeripBusCEC 3828334848 terminating
> 2024-10-02 05:00:05.188 T:3827 debug <general>: Thread PeripBusAddon 3819942144 terminating
> 2024-10-02 05:00:05.489 T:3789 info <general>: AddOnLog: peripheral.joystick: Disabling joystick interface "linux"
> 2024-10-02 05:00:05.492 T:3789 debug <general>: SECTION:UnloadDll(/usr/lib/kodi/addons/peripheral.joystick/peripheral.joystick.so.21.1.18)
> 2024-10-02 05:00:05.493 T:3789 info <general>: ADDON: Dll Destroyed - Joystick Support
> 2024-10-02 05:00:05.497 T:3789 info <general>: unload skin
> 2024-10-02 05:00:05.501 T:3789 debug <general>: FreeVisualisation() done
> 2024-10-02 05:00:05.504 T:3789 debug <general>: ------ Window Deinit () ------
> 2024-10-02 05:00:05.504 T:3789 debug <general>: FreeVisualisation() done
> 2024-10-02 05:00:05.507 T:3789 debug <general>: ------ Window Deinit (Home.xml) ------
> 2024-10-02 05:00:05.507 T:3789 debug <general>: FreeVisualisation() done
> 2024-10-02 05:00:05.559 T:3789 debug <general>: Skipped 3 duplicate messages..
> 2024-10-02 05:00:05.559 T:3789 debug <general>: CloseBundle - Closed bundle
> 2024-10-02 05:00:05.615 T:3789 info <general>: Unloaded skin
> 2024-10-02 05:00:05.652 T:3789 info <general>: unload sections
> 2024-10-02 05:00:05.657 T:3789 info <general>: CWSDiscoveryListenerUDP::Stop - Stopped
> 2024-10-02 05:00:05.657 T:3789 debug <general>: LogindUPowerSyscall - delay lock sleep released
> 2024-10-02 05:00:05.662 T:3848 debug <general>: Thread Timer 3564105984 terminating
> 2024-10-02 05:00:05.672 T:3789 debug <general>: object 0 --> 0 instances
> 2024-10-02 05:00:05.672 T:3789 debug <general>: object 1 --> 0 instances
> 2024-10-02 05:00:05.672 T:3789 debug <general>: object 2 --> 0 instances
> 2024-10-02 05:00:05.672 T:3789 debug <general>: object 3 --> 0 instances
> 2024-10-02 05:00:05.672 T:3789 debug <general>: object 4 --> 0 instances
> 2024-10-02 05:00:05.672 T:3789 debug <general>: object 5 --> 0 instances
> 2024-10-02 05:00:05.672 T:3789 debug <general>: object 6 --> 0 instances
> 2024-10-02 05:00:05.672 T:3789 debug <general>: object 7 --> 0 instances
> 2024-10-02 05:00:05.672 T:3789 debug <general>: object 8 --> 0 instances
> 2024-10-02 05:00:05.672 T:3789 debug <general>: object 9 --> 0 instances
> 2024-10-02 05:00:05.683 T:3789 debug <general>: CWinSystemAmlogic::StopMonitorHWEvent -- stopping event monitor for HDMI hotplug events
> 2024-10-02 05:00:05.963 T:3803 debug <general>: Thread libinput 4037009664 terminating
> 2024-10-02 05:00:06.225 T:3809 debug <general>: Thread FDEventMonitor 3917476096 terminating
> 2024-10-02 05:00:06.225 T:3791 debug <general>: Thread Lirc 4055888128 terminating
> 2024-10-02 05:00:06.227 T:3790 debug <general>: Thread Announce 4065607936 terminating
> 2024-10-02 05:00:06.227 T:3789 info <general>: Exiting the application...