MySQL Access Problem

The Last Topic was still successfully closed but…

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.

Here is the important part of the Log cause IT was to big for uploading… It shows the last parts of the Backup and the beginning of the reboot @5:00 in the morning. After that i had the same problem again…

2024-10-02 04:54:46.857 T:3831 debug : smb: smbc_rmdir(smb://USERNAME:PASSWORD@192.168.19.2/Backup/Kodi_Backup/202409280400)
2024-10-02 04:54:46.949 T:3831 debug : 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 : Samba is idle. Closing the remaining connections
2024-10-02 04:56:23.428 T:3789 info : smb: Performing aggressive shutdown.
2024-10-02 04:56:23.439 T:3789 debug : smb: smbc_remove_usused_server: 0xd07466a8 removed.
2024-10-02 04:56:23.443 T:3789 debug : smb: smbc_remove_usused_server: 0xf00f1db0 removed.
2024-10-02 04:56:23.443 T:3789 debug : smb: Context 0xd930af98 successfully freed
2024-10-02 04:56:23.443 T:3789 debug : smb: Freeing parametrics:
2024-10-02 05:00:02.414 T:3789 info : Quitting due to POSIX signal
2024-10-02 05:00:02.455 T:3789 info : Stopping the application…
2024-10-02 05:00:02.455 T:3789 info : Stopping player
2024-10-02 05:00:02.456 T:3789 info : Stopping all
2024-10-02 05:00:02.456 T:3789 debug : NetworkMessage - Signaling network services to stop
2024-10-02 05:00:02.456 T:3789 info : ES: Stopping event server
2024-10-02 05:00:02.456 T:3789 debug : CZeroconfAvahi::doRemoveService named: servers.jsonrpc-tcp
2024-10-02 05:00:02.461 T:3836 info : WebSocket: connection closed by client
2024-10-02 05:00:02.462 T:3836 info : JSONRPC Server: Disconnection detected
2024-10-02 05:00:02.463 T:3836 debug : Thread TCPServer 3744407808 terminating
2024-10-02 05:00:03.080 T:3789 debug : CZeroconfAvahi::doRemoveService named: servers.airtunes
2024-10-02 05:00:03.092 T:3789 debug : NetworkMessage - Waiting for network services to stop
2024-10-02 05:00:03.092 T:3789 info : 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 : ES: UDP Event server stopped
2024-10-02 05:00:03.450 T:3835 debug : Thread EventServer 3752800512 terminating
2024-10-02 05:00:03.451 T:3789 debug : CServiceAddonManager: stopping script.module.osmcsetting.updates.
2024-10-02 05:00:03.451 T:3789 debug : 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 : script.module.osmccommon[osmc_comms] : Communications shutting down… /var/tmp/osmc.settings.update.sockfile
2024-10-02 05:00:03.453 T:3829 debug : 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 : script.module.osmcsetting.updates[service] : Service shutdown.
2024-10-02 05:00:03.454 T:3829 debug : 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 : 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 : script.module.osmccommon[osmc_comms] : Connection is active… /var/tmp/osmc.settings.update.sockfile
2024-10-02 05:00:03.456 T:3842 debug : 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 : 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 : 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 : script.module.osmccommon[osmc_comms] : Communications shutdown… /var/tmp/osmc.settings.update.sockfile
2024-10-02 05:00:03.555 T:3829 debug : onExecutionDone(0, /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/service.py)
2024-10-02 05:00:03.556 T:3829 debug : .
2024-10-02 05:00:03.641 T:3829 debug : Python interpreter interrupted by user
2024-10-02 05:00:03.641 T:3789 debug : 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 : CServiceAddonManager: stopping script.service.checkpreviousepisode.
2024-10-02 05:00:03.641 T:3789 debug : 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 : Thread LanguageInvoker 3803156736 terminating
2024-10-02 05:00:03.642 T:3830 info : ### Kodi Check Previous Episode 0.4.7 - Exiting…
2024-10-02 05:00:03.642 T:3830 debug : CPythonInvoker(1, /home/osmc/.kodi/addons/script.service.checkpreviousepisode/default.py): script successfully run
2024-10-02 05:00:03.642 T:3830 debug : onExecutionDone(1, /home/osmc/.kodi/addons/script.service.checkpreviousepisode/default.py)
2024-10-02 05:00:03.664 T:3830 debug : Python interpreter interrupted by user
2024-10-02 05:00:03.664 T:3789 debug : 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 : CServiceAddonManager: stopping script.xbmcbackup.
2024-10-02 05:00:03.664 T:3789 debug : CPythonInvoker(2, /home/osmc/.kodi/addons/script.xbmcbackup/service.py): trigger Monitor abort request
2024-10-02 05:00:04.143 T:3831 debug : CPythonInvoker(2, /home/osmc/.kodi/addons/script.xbmcbackup/service.py): script successfully run
2024-10-02 05:00:04.144 T:3831 debug : onExecutionDone(2, /home/osmc/.kodi/addons/script.xbmcbackup/service.py)
2024-10-02 05:00:04.146 T:3831 debug : .
2024-10-02 05:00:04.531 T:3831 debug : Skipped 1 duplicate messages…
2024-10-02 05:00:04.531 T:3831 debug : Python interpreter interrupted by user
2024-10-02 05:00:04.531 T:3789 debug : CPythonInvoker(2, /home/osmc/.kodi/addons/script.xbmcbackup/service.py): script termination took 868ms
2024-10-02 05:00:04.531 T:3789 debug : CServiceAddonManager: stopping service.osmc.settings.
2024-10-02 05:00:04.531 T:3789 debug : 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 : Thread LanguageInvoker 3786371328 terminating
2024-10-02 05:00:04.531 T:3830 debug : Thread LanguageInvoker 3794764032 terminating
2024-10-02 05:00:04.532 T:3832 debug : service.osmc.settings[service_entry] : _daemon exiting
2024-10-02 05:00:04.532 T:3832 debug : service.osmc.settings[service_entry] : Stopping listener (in wait)
2024-10-02 05:00:04.532 T:3832 debug : script.module.osmccommon[osmc_comms] : Communications shutting down… /var/tmp/osmc.settings.sockfile
2024-10-02 05:00:04.532 T:3832 debug : 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 : service.osmc.settings[service_entry] : Deleting listener (in wait)
2024-10-02 05:00:04.532 T:3832 debug : service.osmc.settings[service_entry] : Listener deleted.
2024-10-02 05:00:04.532 T:3832 debug : service.osmc.settings[service_entry] : _daemon shutdown
2024-10-02 05:00:04.533 T:3832 debug : service.osmc.settings[service_entry] : _daemon exited
2024-10-02 05:00:04.535 T:3845 debug : script.module.osmccommon[osmc_comms] : Connection is active… /var/tmp/osmc.settings.sockfile
2024-10-02 05:00:04.537 T:3845 debug : 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 : script.module.osmccommon[osmc_comms] : Connection received data… exit @ /var/tmp/osmc.settings.sockfile
2024-10-02 05:00:04.537 T:3845 debug : script.module.osmccommon[osmc_comms] : Connection called to shutdown… /var/tmp/osmc.settings.sockfile
2024-10-02 05:00:04.557 T:3832 debug : service.osmc.settings[service] : Service shutdown.
2024-10-02 05:00:04.558 T:3832 debug : 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 : 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 : script.module.osmccommon[osmc_comms] : Communications shutdown… /var/tmp/osmc.settings.sockfile
2024-10-02 05:00:04.658 T:3832 debug : onExecutionDone(3, /usr/share/kodi/addons/service.osmc.settings/resources/lib/service.py)
2024-10-02 05:00:04.665 T:3832 debug : .
2024-10-02 05:00:04.827 T:3832 debug : Python interpreter interrupted by user
2024-10-02 05:00:04.827 T:3789 debug : 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 : CServiceAddonManager: stopping service.upnext.
2024-10-02 05:00:04.827 T:3789 debug : 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 : 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 : [service.upnext] UpNextMonitor → Service stopped
2024-10-02 05:00:04.831 T:3833 debug : 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 : onExecutionDone(4, /home/osmc/.kodi/addons/service.upnext/resources/lib/service_entry.py)
2024-10-02 05:00:04.858 T:3833 debug : PythonLanguageHook::GetAddonId: main returns null
2024-10-02 05:00:04.858 T:3833 error : 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 : Python interpreter interrupted by user
2024-10-02 05:00:04.862 T:3789 debug : 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 : Thread LanguageInvoker 3769585920 terminating
2024-10-02 05:00:04.862 T:3807 debug : Thread ActiveAE 3935392000 terminating
2024-10-02 05:00:04.863 T:3808 debug : Thread AESink 3926999296 terminating
2024-10-02 05:00:04.865 T:3789 info : Application stopped
2024-10-02 05:00:05.073 T:3828 debug : Thread PeripEventScan 3811549440 terminating
2024-10-02 05:00:05.179 T:3825 debug : Thread PeripBusUSBUdev 3836727552 terminating
2024-10-02 05:00:05.180 T:3826 debug : Thread PeripBusCEC 3828334848 terminating
2024-10-02 05:00:05.188 T:3827 debug : Thread PeripBusAddon 3819942144 terminating
2024-10-02 05:00:05.489 T:3789 info : AddOnLog: peripheral.joystick: Disabling joystick interface “linux”
2024-10-02 05:00:05.492 T:3789 debug : SECTION:UnloadDll(/usr/lib/kodi/addons/peripheral.joystick/peripheral.joystick.so.21.1.18)
2024-10-02 05:00:05.493 T:3789 info : ADDON: Dll Destroyed - Joystick Support
2024-10-02 05:00:05.497 T:3789 info : unload skin
2024-10-02 05:00:05.501 T:3789 debug : FreeVisualisation() done
2024-10-02 05:00:05.504 T:3789 debug : ------ Window Deinit () ------
2024-10-02 05:00:05.504 T:3789 debug : FreeVisualisation() done
2024-10-02 05:00:05.507 T:3789 debug : ------ Window Deinit (Home.xml) ------
2024-10-02 05:00:05.507 T:3789 debug : FreeVisualisation() done
2024-10-02 05:00:05.559 T:3789 debug : Skipped 3 duplicate messages…
2024-10-02 05:00:05.559 T:3789 debug : CloseBundle - Closed bundle
2024-10-02 05:00:05.615 T:3789 info : Unloaded skin
2024-10-02 05:00:05.652 T:3789 info : unload sections
2024-10-02 05:00:05.657 T:3789 info : CWSDiscoveryListenerUDP::Stop - Stopped
2024-10-02 05:00:05.657 T:3789 debug : LogindUPowerSyscall - delay lock sleep released
2024-10-02 05:00:05.662 T:3848 debug : Thread Timer 3564105984 terminating
2024-10-02 05:00:05.672 T:3789 debug : object 0 → 0 instances
2024-10-02 05:00:05.672 T:3789 debug : object 1 → 0 instances
2024-10-02 05:00:05.672 T:3789 debug : object 2 → 0 instances
2024-10-02 05:00:05.672 T:3789 debug : object 3 → 0 instances
2024-10-02 05:00:05.672 T:3789 debug : object 4 → 0 instances
2024-10-02 05:00:05.672 T:3789 debug : object 5 → 0 instances
2024-10-02 05:00:05.672 T:3789 debug : object 6 → 0 instances
2024-10-02 05:00:05.672 T:3789 debug : object 7 → 0 instances
2024-10-02 05:00:05.672 T:3789 debug : object 8 → 0 instances
2024-10-02 05:00:05.672 T:3789 debug : object 9 → 0 instances
2024-10-02 05:00:05.683 T:3789 debug : CWinSystemAmlogic::StopMonitorHWEvent – stopping event monitor for HDMI hotplug events
2024-10-02 05:00:05.963 T:3803 debug : Thread libinput 4037009664 terminating
2024-10-02 05:00:06.225 T:3809 debug : Thread FDEventMonitor 3917476096 terminating
2024-10-02 05:00:06.225 T:3791 debug : Thread Lirc 4055888128 terminating
2024-10-02 05:00:06.227 T:3790 debug : Thread Announce 4065607936 terminating
2024-10-02 05:00:06.227 T:3789 info : Exiting the application…

I will check this tomorrow

Not forgotten, just no chance yet, will definitely be checked tomorrow,

Thanks for your patience.

Looks like permission problems, see:

2024-10-01 14:43:00.466 T:2993    error <general>: Unable to open database: MyVideos130 [1049](Unknown database 'MyVideos130')
2024-10-01 14:43:00.466 T:2993    debug <general>: connect replacing configured host 192.168.19.2 with resolved host 192.168.19.2
2024-10-01 14:43:00.494 T:2993    error <general>: Unable to open database: MyVideos129 [1049](Unknown database 'MyVideos129')
2024-10-01 14:43:00.495 T:2993    debug <general>: connect replacing configured host 192.168.19.2 with resolved host 192.168.19.2
2024-10-01 14:43:00.521 T:2993    error <general>: Unable to open database: MyVideos128 [1049](Unknown database 'MyVideos128')
2024-10-01 14:43:00.522 T:2993    debug <general>: connect replacing configured host 192.168.19.2 with resolved host 192.168.19.2
2024-10-01 14:43:00.543 T:2993    error <general>: Unable to open database: MyVideos127 [1049](Unknown database 'MyVideos127')
2024-10-01 14:43:00.544 T:2993    debug <general>: connect replacing configured host 192.168.19.2 with resolved host 192.168.19.2
2024-10-01 14:43:00.584 T:2993    error <general>: Unable to open database: MyVideos126 [1049](Unknown database 'MyVideos126')
2024-10-01 14:43:00.584 T:2993    debug <general>: connect replacing configured host 192.168.19.2 with resolved host 192.168.19.2
2024-10-01 14:43:00.614 T:2993    error <general>: Unable to open database: MyVideos125 [1049](Unknown database 'MyVideos125')
2024-10-01 14:43:00.615 T:2993    debug <general>: connect replacing configured host 192.168.19.2 with resolved host 192.168.19.2
2024-10-01 14:43:00.637 T:2993    error <general>: Unable to open database: MyVideos124 [1049](Unknown database 'MyVideos124')
2024-10-01 14:43:00.637 T:2993    debug <general>: connect replacing configured host 192.168.19.2 with resolved host 192.168.19.2
2024-10-01 14:43:00.659 T:2993    error <general>: Unable to open database: MyVideos123 [1049](Unknown database 'MyVideos123')
2024-10-01 14:43:00.660 T:2993    debug <general>: connect replacing configured host 192.168.19.2 with resolved host 192.168.19.2
2024-10-01 14:43:00.684 T:2993    error <general>: Unable to open database: MyVideos122 [1049](Unknown database 'MyVideos122')
2024-10-01 14:43:00.685 T:2993    debug <general>: connect replacing configured host 192.168.19.2 with resolved host 192.168.19.2
2024-10-01 14:43:00.723 T:2993     info <general>: Old database found - updating from version 121 to 131
2024-10-01 14:43:00.739 T:2993    error <general>: SQL: Can't create database for copy: 'MyVideos121' (1007)

But I haven’t changed anything. What permissions are we talking about here? The user that is in the advancedsettings.xml under user/pw?

@sam_nazarko

Kodi will need to be able to create new databases. When it upgrades a database, it keeps the existing database and creates a new one. I suspect the MySQL user does not have the necessary permissions to create a new one.

@sam_nazarko

But I haven’t changed anything. As you can see, the user “Kodi” has the corresponding permissions with his password. The user “Kodi” is also in the Advancedsettings.xml and accesses this DB.
If I stop the MovieCenter, delete the DB “My…131” in PHPMyAdmin and start the MovieCenter again, the migration of the DB is also carried out (as you can see in the pictures) and everything then works as it should. It is only the next day and after a restart that I get the errors and have the same problem again.

But that can’t be a permissions problem if it works once and then not again.


SQL_Permissions_2
SQL_Permissions_2_5

This is the view of “MyV…131” after the migration. To me, everything looks correct, right?

I am not that familiar with the Kodi database schema.

Do you have another user, maybe root, where you can check with to rule out a privilege escalation? When you say the issue comes back the next day: do you just mean when you restart / power the device back on?

Sam

I have a similar setup (as I have 3 osmc devices accessing it), and my access table looks like this:


@Shawn2018_1 - make sure the kodi user has the right privileges. Go on “Rechte ändern” and make sure that you have the “create” privilege - as that one is required when you upgrade the version.
From the logs:

2024-10-01 14:43:00.723 T:2993     info <general>: Old database found - updating from version 121 to 131
2024-10-01 14:43:00.739 T:2993    error <general>: SQL: Can't create database for copy: 'MyVideos121' (1007)
2024-10-01 14:43:00.740 T:2993    error <general>: Unable to copy old database MyVideos121 to new version MyVideos131

I bet it falls back to the old release, and be done.
What you can do, is “rename” MyVideos131 to MyVideos131_bak, make sure there is no MyVideos131 database there anymore, then, while in debug mode, reboot the device.
it should now be able to “create” the new db (as it does not yet exist) and convert the data inside.

If that doesn’t work, rename the MyVideos131_bak to MyVideos131 and you can use it again :} as before, with the weird behavior.

1 Like

@sam_nazarko
Yes my system (kodi) restarts every day @5:00 am to have a clean system. After this restarts my problems are back. Until the restart everything works fine.

@Smurphy as you can see i have the similar permissions for the user “kodi” Like you.
In front of the “Create” Permissions the checkbox ist marked.
And everytime i delete the “MyVideos131” DB and restart my system/kodi the “MyVideos121” DB will be migrated. After that i can see the “MyVideos131” is created and everything works fine until i restart the system.

So a manual restart will cause the same issue or only your crontab reboot?

Also have you tried without having your mysql server to go to sleep?

2024-10-01 14:41:39.718 T:2993    debug <general>: connect replacing configured host 192.168.19.2 with resolved host 192.168.19.2
2024-10-01 14:41:39.721 T:2993     info <general>: WakeOnAccess [192.168.19.2] triggered by accessing : MySQL : MyVideos131
2024-10-01 14:41:39.721 T:2993    error <general>: socket failed: Permission denied (13)
2024-10-01 14:41:39.721 T:2993     info <general>: WakeOnLan - Magic packet send to '00:11:32:87:F2:CB'
2024-10-01 14:41:39.721 T:2993    error <general>: socket failed: Permission denied (13)

OK. Your DB is unable to write it to disk it seems.
Check the debug log of your database. it may tell us more.

@sam_nazarko
@fzinken
@Smurphy

Hello everyone, I tried to implement some of your suggestions.

I changed the user in the advancedsettings.xml from “Kodi” to “root” with the corresponding password

After that stopped the media center, then I deleted the “MyVideos131” DB and started the media center again.

Nothing happened. No DB migration was performed and that was the Debug Log.

Then I changed the user in the advancedsettings.xml back to “kodi” with the corresponding password and restarted the system again.

After the restart the DB migration started immediately

And when the interface started again I saw the following information.


And this is the debug log that resulted from it.

Then I checked the power saving mode of my HDDs in my Synology NAS. But no power saving mode is activated.

And when I wanted to check the reference to the WakeOnLan from fzinken (with a “normal” restart and not with the CronJob restart), I got a window in the KODI interface with the information “Wake on Lan 192.168.19.2”. It seems to be something like that.
Then I checked my DLAN adapter settings and there was an energy saving mode. I hadn’t changed anything there, but maybe an update added this setting.

I have now changed the setting and restarted the system, but it looks like this again…

Make sure you enable: Wait for Network in the network settings!

@Smurphy
Thats still active in two different settings.


and the MySQL Settings are also correct Like in the advancedsettings.xml

Did you check the MYSQL database logs on the NAS?
That would be the next part to look at.

@Smurphy
@fzinken
@sam_nazarko

I can´t find any special entry maybe with issues.
Now i tried @fzinken hint. I delete the “MyVideos131” DB, started the mediacenter and did the migration. After the migration i restarted the system manually and had the same problem that the DB were not shown and i could watch any movie/series. So its not only a problem after the cronjob restart in the morning.

Info,System,2024/10/08 04:00:54,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/08 04:00:53,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/08 04:00:49,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/08 04:00:36,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/08 04:00:31,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/08 04:00:30,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/08 02:02:42,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/08 02:02:41,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/08 02:02:37,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/08 02:02:23,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/08 02:02:17,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/08 02:02:17,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/07 04:00:54,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/07 04:00:53,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/07 04:00:48,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/07 04:00:36,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/07 04:00:29,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/07 04:00:29,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/07 02:02:45,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/07 02:02:44,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/07 02:02:40,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/07 02:02:27,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/07 02:02:22,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/07 02:02:22,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/06 04:00:44,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/06 04:00:43,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/06 04:00:39,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/06 04:00:27,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/06 04:00:22,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/06 04:00:21,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/06 02:02:26,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/06 02:02:25,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/06 02:02:21,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/06 02:02:07,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/06 02:02:00,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/06 02:01:59,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/05 04:00:53,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/05 04:00:52,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/05 04:00:47,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/05 04:00:35,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/05 04:00:30,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/05 04:00:30,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/05 02:02:50,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/05 02:02:49,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/05 02:02:45,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/05 02:02:31,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/05 02:02:26,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/05 02:02:24,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/04 04:00:54,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/04 04:00:53,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/04 04:00:49,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/04 04:00:37,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/04 04:00:31,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/04 04:00:30,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/04 02:02:23,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/04 02:02:22,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/04 02:02:18,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/04 02:02:06,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/04 02:01:59,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/04 02:01:58,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/03 04:00:53,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/03 04:00:52,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/03 04:00:47,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/03 04:00:35,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/03 04:00:30,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/03 04:00:29,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/03 02:02:53,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/03 02:02:52,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/03 02:02:47,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/03 02:02:33,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/03 02:02:27,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/03 02:02:25,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/02 10:43:52,Administrator,Cleared [Administrator] all notifications successfully.
Info,System,2024/10/02 04:00:56,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/02 04:00:54,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/02 04:00:50,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/02 04:00:38,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/02 04:00:32,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/02 04:00:32,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/02 02:02:55,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/02 02:02:54,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/02 02:02:50,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/02 02:02:36,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/02 02:02:30,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/02 02:02:29,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/01 13:26:43,Administrator,Cleared [Administrator] all notifications successfully.
Info,System,2024/10/01 04:00:53,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/01 04:00:52,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/01 04:00:47,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/01 04:00:35,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/01 04:00:30,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/01 04:00:29,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/10/01 02:02:48,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/10/01 02:02:48,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/10/01 02:02:43,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/10/01 02:02:28,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/10/01 02:02:21,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/10/01 02:02:21,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/09/30 04:00:52,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/09/30 04:00:51,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/09/30 04:00:47,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/09/30 04:00:35,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/09/30 04:00:29,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/09/30 04:00:28,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/09/30 02:02:33,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/09/30 02:02:32,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/09/30 02:02:28,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/09/30 02:02:14,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/09/30 02:02:08,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/09/30 02:02:07,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/09/29 04:00:54,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/09/29 04:00:53,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/09/29 04:00:49,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/09/29 04:00:37,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/09/29 04:00:30,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/09/29 04:00:29,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/09/29 02:02:28,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/09/29 02:02:27,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/09/29 02:02:23,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/09/29 02:02:09,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/09/29 02:02:03,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/09/29 02:02:02,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/09/28 04:00:56,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/09/28 04:00:54,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/09/28 04:00:49,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/09/28 04:00:38,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/09/28 04:00:33,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/09/28 04:00:32,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/09/28 02:02:51,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/09/28 02:02:50,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/09/28 02:02:46,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/09/28 02:02:30,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/09/28 02:02:25,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/09/28 02:02:23,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/09/27 04:00:27,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/09/27 04:00:27,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/09/27 04:00:23,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/09/27 04:00:13,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/09/27 04:00:08,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/09/27 04:00:08,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].
Info,System,2024/09/27 02:02:18,SYSTEM,System successfully started [phpMyAdmin].
Info,System,2024/09/27 02:02:17,SYSTEM,System successfully started [WebStation PHP8.0 fpm process].
Info,System,2024/09/27 02:02:13,SYSTEM,System successfully started [MariaDB 10].
Info,System,2024/09/27 02:02:01,SYSTEM,System successfully stopped [MariaDB 10].
Info,System,2024/09/27 02:01:57,SYSTEM,System successfully stopped [phpMyAdmin].
Info,System,2024/09/27 02:01:56,SYSTEM,System successfully stopped [WebStation PHP8.0 fpm process].

That is the point. The

2024-10-01 14:41:39.721 T:2993    error <general>: socket failed: Permission denied (13)

is IMHO the issue. It seems it remains in cache, but then the data on the disk is read after a restart/exit from sleep.
When did you last reboot the NAS? From the logs, it seems the DB is restarted quite often. But the disks of the NAS? You checked the NAS Journal entry? journcltl -f while doing the OSMC DB recreate thingy?

Where do i have to enter this? Is this the whole command or is there a SUDO or something like that
missing?