Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibreElec (RPI) Gathering File Info .... Hang. #230

Open
thestraycat opened this issue Mar 13, 2024 · 14 comments
Open

LibreElec (RPI) Gathering File Info .... Hang. #230

thestraycat opened this issue Mar 13, 2024 · 14 comments

Comments

@thestraycat
Copy link

thestraycat commented Mar 13, 2024

Running LibreElec on 11.0.6 (latest as of current date) on two RPI4B's, addon failing on both.

Add on using default settings as per the restore to 'default' settings button in the addon.

Addon hangs indefinitely at "Gathering File Info..." No timeout, no error.

Options configured on both are

  • Keep 3 backups
  • Run monthly
  • Compress
  • Compress to: special://temp

Tried it with 'local location' set and 'remote location.'
Tried it with and without an underscore in the name.

Remote location: smb://192.168.1.125/mnt/disks/Unassigned_Backup

Cant actually get a working configuration at all out of it. Is there known issues with it right now before i start generating logs from both instances? And is it currently being maintained? (not being funny! Just asking...)

@robweber
Copy link
Owner

robweber commented Mar 16, 2024

Thanks for the information. I use this regularly on LibreElec with Kodi 20 Nexus (not sure the exact LibreElec version). Logs would be the next step to see what's going on. Generally for a failure right at the beginning it's usually some kind of file permissions issue - sometimes it's an issue with a particular addon where a lock is on a file (like a .so library) kills access.

The addon is currently maintained. Not exactly offended at the question but am curious why people always ask that? The last commit was only 2 months ago and for something that's relatively stable that doesn't seem out of line. Many of the outstanding issues in this repo are from no follow-up on the part of the original creators after fixes or suggestions have been given. Again, not offended at the question but no other repo I work on seems to get this question.

edited this as originally I said Kodi 21 but I'm on the current stable release 20.5

@thestraycat
Copy link
Author

thestraycat commented Mar 17, 2024

Hi Rob - And thanks for the reply. I'll generate some logs from both instances over the coming days and post them. Any level of logs specifically you need?

It would be good to know what version you're currently running, as i have a funny feeling it last worked for me on version 11.0.4 and both instances are now on 11.0.6 (latest at time of writing)

In regards to permissions, i've chown'd the remote location recursively with guest user access and recursively set permissioning levels to 777 (for testing purposes.) I'm wondering whether another addon is potentially causing it issues? I do run my instances quite minimally and dont run any dodgy repo's or illegal streaming addons. (no streaming addons on one instance and netflix & amazon on the other, but both have the issue) mainly just local file playback.

The apology was mainly due to not wanting to be badly recieved for asking. As i'm very thankful it exists and rely it on for backup purposes. I wanted to double check it was maintained as i was seeing some unanswered issues and just wanted to check prior to save myself a lot of time troubleshooting my instances to infinity expecting to find a fix.

Not being a dev myself, i dont know enough about your build pipeline for this project and whether you had some automated build process potentially sanity checking it, running tests or patching it and uploading the changes automatically to this github project, i saw most files in the home folder had long standing dates into the years. (altough i understand a project like this dosnt need to change drastically often!)

I've also been having the issues for months. And normally have witnessed these issues to go away on their own when addon's are updated in line with the libreelec updates. But this one as of yet is still problematic for me.

It's likely an issue with my side, or another addon i'm running as im sure a lot of people use this, and im not seeing a stream of similar issues.

What is weird, is that it never gets past 0% progress of gathering info. With Librelec being it's own Just enough OS, i didnt expect it would be an internal permissions issue as others would be having it. Also wouldnt have through permissions on my remote side would be effecting the addon during the 'gatherinf info' stage of the process. That seemed weird. I'd be interested to know whether yours works fine on 11.0.6. (I update through the settings > libreelec > available updates > and select 11.0.6)

@thestraycat
Copy link
Author

thestraycat commented Mar 17, 2024

OK so i thought i'd get these over to you as quickly as possible. As i was doing it i tried a few other combinations of settings. It seems that whenever i tick and enable backup of 'addon data' the issue happens. If i untick 'addon data' in the 'simple' selection field. Everything runs as expected! However, when i get the issue, it hangs LibreElec, so i can't actually upload my logs via the GUI. I have however managed to generate list of the addons that i have enabled. And theres more than i expected (mainly due to the large number of emulation/retroarch plugins that are enabled individually. :) So the logs below are actually from a sucessful backup! I did however monitor the logs using the web hosted log addon 'log viewer'... and then started a backup with 'addon data' enabled to try and capture a few log lines during the crash and i captured this:

2024-03-17 01:38:55.763 T:1748 info : ADDON: Dll Destroyed - SACD ISO support
2024-03-17 01:38:55.764 T:1748 error : AddOnLog: audiodecoder.sacd: Failed to open media reader for type 0 on '/storage/.kodi/addons/audiodecoder.sacd'
2024-03-17 01:38:55.764 T:1748 info : CFileDirectoryFactory::Create: Addon 'audiodecoder.sacd' support extension '.sacd' but creation failed (seems not supported), trying other addons and Kodi
2024-03-17 01:38:55.764 T:1748 info : ADDON: Dll Destroyed - SACD ISO support

I'll try deleting that addon and trying again.

Log uploaded after sucessful backup

Logs: https://paste.libreelec.tv/together-impala.log
Crash Logs: https://paste.libreelec.tv/sincere-raccoon.log

List of Addons

2023-02-16 18:11:05.175 T:900 info : CAddonMgr::FindAddons: audiodecoder.sacd v20.3.0.3 installed
2023-02-16 18:11:05.175 T:900 info : CAddonMgr::FindAddons: audioencoder.flac v20.2.0.5 installed
2023-02-16 18:11:05.176 T:900 info : CAddonMgr::FindAddons: audioencoder.kodi.builtin.aac v1.0.2 installed
2023-02-16 18:11:05.176 T:900 info : CAddonMgr::FindAddons: audioencoder.kodi.builtin.wma v1.0.2 installed
2023-02-16 18:11:05.176 T:900 info : CAddonMgr::FindAddons: audioencoder.lame v20.3.0.5 installed
2023-02-16 18:11:05.176 T:900 info : CAddonMgr::FindAddons: context.embuary.info v2.0.0 installed
2023-02-16 18:11:05.176 T:900 info : CAddonMgr::FindAddons: docker.linuxserver.updater v2.0.2 installed
2023-02-16 18:11:05.176 T:900 info : CAddonMgr::FindAddons: game.controller.3do v1.0.32 installed
2023-02-16 18:11:05.176 T:900 info : CAddonMgr::FindAddons: game.controller.3do.gamegun v1.0.25 installed
2023-02-16 18:11:05.176 T:900 info : CAddonMgr::FindAddons: game.controller.amiga.cd32 v1.0.22 installed
2023-02-16 18:11:05.176 T:900 info : CAddonMgr::FindAddons: game.controller.amstrad.joystick v1.0.30 installed
2023-02-16 18:11:05.176 T:900 info : CAddonMgr::FindAddons: game.controller.amstrad.keyboard v1.0.36 installed
2023-02-16 18:11:05.176 T:900 info : CAddonMgr::FindAddons: game.controller.arcade.neogeo v1.0.33 installed
2023-02-16 18:11:05.177 T:900 info : CAddonMgr::FindAddons: game.controller.atari.2600 v1.1.28 installed
2023-02-16 18:11:05.177 T:900 info : CAddonMgr::FindAddons: game.controller.atari.5200 v1.0.31 installed
2023-02-16 18:11:05.177 T:900 info : CAddonMgr::FindAddons: game.controller.atari.7800.gamepad v1.0.33 installed
2023-02-16 18:11:05.177 T:900 info : CAddonMgr::FindAddons: game.controller.atari.7800.proline v1.0.32 installed
2023-02-16 18:11:05.177 T:900 info : CAddonMgr::FindAddons: game.controller.atari.lynx v1.0.31 installed
2023-02-16 18:11:05.177 T:900 info : CAddonMgr::FindAddons: game.controller.atari.xges.keyboard v1.0.19 installed
2023-02-16 18:11:05.177 T:900 info : CAddonMgr::FindAddons: game.controller.atari.xges.xg1 v1.0.25 installed
2023-02-16 18:11:05.177 T:900 info : CAddonMgr::FindAddons: game.controller.colecovision v1.0.31 installed
2023-02-16 18:11:05.177 T:900 info : CAddonMgr::FindAddons: game.controller.default v1.0.41 installed
2023-02-16 18:11:05.177 T:900 info : CAddonMgr::FindAddons: game.controller.dreamcast v1.0.28 installed
2023-02-16 18:11:05.177 T:900 info : CAddonMgr::FindAddons: game.controller.elektronika.bk v1.0.20 installed
2023-02-16 18:11:05.178 T:900 info : CAddonMgr::FindAddons: game.controller.gameboy v1.0.32 installed
2023-02-16 18:11:05.178 T:900 info : CAddonMgr::FindAddons: game.controller.gamecube v1.0.25 installed
2023-02-16 18:11:05.178 T:900 info : CAddonMgr::FindAddons: game.controller.gamegear v1.0.24 installed
2023-02-16 18:11:05.178 T:900 info : CAddonMgr::FindAddons: game.controller.gba v1.0.30 installed
2023-02-16 18:11:05.178 T:900 info : CAddonMgr::FindAddons: game.controller.genesis.3button v1.0.13 installed
2023-02-16 18:11:05.178 T:900 info : CAddonMgr::FindAddons: game.controller.genesis.4wayplay v1.0.6 installed
2023-02-16 18:11:05.178 T:900 info : CAddonMgr::FindAddons: game.controller.genesis.6button v1.0.37 installed
2023-02-16 18:11:05.178 T:900 info : CAddonMgr::FindAddons: game.controller.genesis.mouse v1.0.35 installed
2023-02-16 18:11:05.178 T:900 info : CAddonMgr::FindAddons: game.controller.genesis.teamplayer v1.0.0 installed
2023-02-16 18:11:05.178 T:900 info : CAddonMgr::FindAddons: game.controller.gravis.gamepad v1.1.25 installed
2023-02-16 18:11:05.178 T:900 info : CAddonMgr::FindAddons: game.controller.intellivision v1.0.27 installed
2023-02-16 18:11:05.178 T:900 info : CAddonMgr::FindAddons: game.controller.joystick.2button v1.0.19 installed
2023-02-16 18:11:05.179 T:900 info : CAddonMgr::FindAddons: game.controller.joystick.4button v1.0.20 installed
2023-02-16 18:11:05.179 T:900 info : CAddonMgr::FindAddons: game.controller.keyboard v1.1.33 installed
2023-02-16 18:11:05.179 T:900 info : CAddonMgr::FindAddons: game.controller.konami.justifier.player2 v1.0.27 installed
2023-02-16 18:11:05.179 T:900 info : CAddonMgr::FindAddons: game.controller.konami.justifier.ps v1.0.26 installed
2023-02-16 18:11:05.179 T:900 info : CAddonMgr::FindAddons: game.controller.konami.justifier.snes v1.0.27 installed
2023-02-16 18:11:05.179 T:900 info : CAddonMgr::FindAddons: game.controller.mouse v1.0.26 installed
2023-02-16 18:11:05.179 T:900 info : CAddonMgr::FindAddons: game.controller.msx.joystick v1.0.22 installed
2023-02-16 18:11:05.179 T:900 info : CAddonMgr::FindAddons: game.controller.msx.keyboard v1.0.37 installed
2023-02-16 18:11:05.179 T:900 info : CAddonMgr::FindAddons: game.controller.n64 v1.0.33 installed
2023-02-16 18:11:05.179 T:900 info : CAddonMgr::FindAddons: game.controller.nds v1.0.35 installed
2023-02-16 18:11:05.179 T:900 info : CAddonMgr::FindAddons: game.controller.nes v1.0.34 installed
2023-02-16 18:11:05.180 T:900 info : CAddonMgr::FindAddons: game.controller.nes.four.score v1.0.20 installed
2023-02-16 18:11:05.180 T:900 info : CAddonMgr::FindAddons: game.controller.ngp v1.0.29 installed
2023-02-16 18:11:05.180 T:900 info : CAddonMgr::FindAddons: game.controller.odyssey2 v1.0.28 installed
2023-02-16 18:11:05.180 T:900 info : CAddonMgr::FindAddons: game.controller.ouya v1.0.25 installed
2023-02-16 18:11:05.180 T:900 info : CAddonMgr::FindAddons: game.controller.pce v1.0.29 installed
2023-02-16 18:11:05.180 T:900 info : CAddonMgr::FindAddons: game.controller.pcfx v1.0.28 installed
2023-02-16 18:11:05.180 T:900 info : CAddonMgr::FindAddons: game.controller.pcfx.mouse v1.0.26 installed
2023-02-16 18:11:05.180 T:900 info : CAddonMgr::FindAddons: game.controller.pokemini v1.0.25 installed
2023-02-16 18:11:05.180 T:900 info : CAddonMgr::FindAddons: game.controller.ps.dualanalog v1.0.31 installed
2023-02-16 18:11:05.180 T:900 info : CAddonMgr::FindAddons: game.controller.ps.dualshock v1.0.32 installed
2023-02-16 18:11:05.180 T:900 info : CAddonMgr::FindAddons: game.controller.ps.gamepad v1.0.29 installed
2023-02-16 18:11:05.181 T:900 info : CAddonMgr::FindAddons: game.controller.ps.guncon.japan v1.0.25 installed
2023-02-16 18:11:05.181 T:900 info : CAddonMgr::FindAddons: game.controller.ps.guncon.western v1.0.25 installed
2023-02-16 18:11:05.181 T:900 info : CAddonMgr::FindAddons: game.controller.ps.mouse v1.0.27 installed
2023-02-16 18:11:05.181 T:900 info : CAddonMgr::FindAddons: game.controller.ps.multitap v1.0.16 installed
2023-02-16 18:11:05.181 T:900 info : CAddonMgr::FindAddons: game.controller.psp v1.0.30 installed
2023-02-16 18:11:05.181 T:900 info : CAddonMgr::FindAddons: game.controller.remote v1.0.25 installed
2023-02-16 18:11:05.181 T:900 info : CAddonMgr::FindAddons: game.controller.saturn v1.0.32 installed
2023-02-16 18:11:05.181 T:900 info : CAddonMgr::FindAddons: game.controller.saturn.3d.japan v1.0.35 installed
2023-02-16 18:11:05.181 T:900 info : CAddonMgr::FindAddons: game.controller.saturn.3d.western v1.0.35 installed
2023-02-16 18:11:05.181 T:900 info : CAddonMgr::FindAddons: game.controller.saturn.arcade.racer v1.0.33 installed
2023-02-16 18:11:05.181 T:900 info : CAddonMgr::FindAddons: game.controller.saturn.mission.stick v1.0.37 installed
2023-02-16 18:11:05.181 T:900 info : CAddonMgr::FindAddons: game.controller.saturn.mission.sticks v1.0.36 installed
2023-02-16 18:11:05.182 T:900 info : CAddonMgr::FindAddons: game.controller.saturn.mouse v1.0.26 installed
2023-02-16 18:11:05.182 T:900 info : CAddonMgr::FindAddons: game.controller.saturn.multitap v1.0.23 installed
2023-02-16 18:11:05.182 T:900 info : CAddonMgr::FindAddons: game.controller.saturn.twin.stick v1.0.24 installed
2023-02-16 18:11:05.182 T:900 info : CAddonMgr::FindAddons: game.controller.saturn.virtua.gun.eu v1.0.32 installed
2023-02-16 18:11:05.182 T:900 info : CAddonMgr::FindAddons: game.controller.saturn.virtua.gun.japan v1.0.27 installed
2023-02-16 18:11:05.182 T:900 info : CAddonMgr::FindAddons: game.controller.saturn.virtua.gun.us v1.0.29 installed
2023-02-16 18:11:05.182 T:900 info : CAddonMgr::FindAddons: game.controller.sg1000 v1.0.30 installed
2023-02-16 18:11:05.182 T:900 info : CAddonMgr::FindAddons: game.controller.sms v1.0.29 installed
2023-02-16 18:11:05.182 T:900 info : CAddonMgr::FindAddons: game.controller.snes v1.0.39 installed
2023-02-16 18:11:05.182 T:900 info : CAddonMgr::FindAddons: game.controller.snes.mouse v1.0.26 installed
2023-02-16 18:11:05.182 T:900 info : CAddonMgr::FindAddons: game.controller.snes.multitap v1.0.16 installed
2023-02-16 18:11:05.182 T:900 info : CAddonMgr::FindAddons: game.controller.snes.super.scope v1.0.27 installed
2023-02-16 18:11:05.183 T:900 info : CAddonMgr::FindAddons: game.controller.vb v1.0.32 installed
2023-02-16 18:11:05.183 T:900 info : CAddonMgr::FindAddons: game.controller.vectrex v1.0.26 installed
2023-02-16 18:11:05.183 T:900 info : CAddonMgr::FindAddons: game.controller.wiimote v1.0.27 installed
2023-02-16 18:11:05.183 T:900 info : CAddonMgr::FindAddons: game.controller.ws v1.0.29 installed
2023-02-16 18:11:05.183 T:900 info : CAddonMgr::FindAddons: game.libretro v20.2.6.1 installed
2023-02-16 18:11:05.183 T:900 info : CAddonMgr::FindAddons: game.libretro.atari800 v3.1.0.23.1 installed
2023-02-16 18:11:05.183 T:900 info : CAddonMgr::FindAddons: game.libretro.beetle-bsnes v0.9.26.23.1 installed
2023-02-16 18:11:05.183 T:900 info : CAddonMgr::FindAddons: game.libretro.beetle-gba v0.9.36.23.1 installed
2023-02-16 18:11:05.183 T:900 info : CAddonMgr::FindAddons: game.libretro.beetle-lynx v1.24.0.43.1 installed
2023-02-16 18:11:05.183 T:900 info : CAddonMgr::FindAddons: game.libretro.beetle-ngp v1.29.0.31.1 installed
2023-02-16 18:11:05.183 T:900 info : CAddonMgr::FindAddons: game.libretro.beetle-pce-fast v1.31.0.35.1 installed
2023-02-16 18:11:05.184 T:900 info : CAddonMgr::FindAddons: game.libretro.beetle-pcfx v0.9.36.30.1 installed
2023-02-16 18:11:05.184 T:900 info : CAddonMgr::FindAddons: game.libretro.beetle-psx v0.9.44.44.1 installed
2023-02-16 18:11:05.184 T:900 info : CAddonMgr::FindAddons: game.libretro.beetle-supergrafx v1.29.0.31.1 installed
2023-02-16 18:11:05.184 T:900 info : CAddonMgr::FindAddons: game.libretro.beetle-vb v1.31.0.29.1 installed
2023-02-16 18:11:05.184 T:900 info : CAddonMgr::FindAddons: game.libretro.beetle-wswan v0.9.35.34.1 installed
2023-02-16 18:11:05.184 T:900 info : CAddonMgr::FindAddons: game.libretro.bluemsx v0.0.1.31.1 installed
2023-02-16 18:11:05.184 T:900 info : CAddonMgr::FindAddons: game.libretro.bnes v0.83.0.22.1 installed
2023-02-16 18:11:05.184 T:900 info : CAddonMgr::FindAddons: game.libretro.bsnes-mercury-accuracy v0.94.0.24.1 installed
2023-02-16 18:11:05.184 T:900 info : CAddonMgr::FindAddons: game.libretro.bsnes-mercury-balanced v0.94.0.26.1 installed
2023-02-16 18:11:05.184 T:900 info : CAddonMgr::FindAddons: game.libretro.bsnes-mercury-performance v0.94.0.26.1 installed
2023-02-16 18:11:05.184 T:900 info : CAddonMgr::FindAddons: game.libretro.cap32 v4.5.3.31.1 installed
2023-02-16 18:11:05.184 T:900 info : CAddonMgr::FindAddons: game.libretro.dinothawr v1.0.0.31.1 installed
2023-02-16 18:11:05.185 T:900 info : CAddonMgr::FindAddons: game.libretro.dosbox-pure v0.9.7.21.1 installed
2023-02-16 18:11:05.185 T:900 info : CAddonMgr::FindAddons: game.libretro.fbneo v1.0.0.63.1 installed
2023-02-16 18:11:05.185 T:900 info : CAddonMgr::FindAddons: game.libretro.fceumm v0.0.1.45.1 installed
2023-02-16 18:11:05.185 T:900 info : CAddonMgr::FindAddons: game.libretro.fmsx v6.0.0.33.1 installed
2023-02-16 18:11:05.185 T:900 info : CAddonMgr::FindAddons: game.libretro.fuse v1.6.0.31.1 installed
2023-02-16 18:11:05.185 T:900 info : CAddonMgr::FindAddons: game.libretro.gambatte v0.5.0.37.1 installed
2023-02-16 18:11:05.185 T:900 info : CAddonMgr::FindAddons: game.libretro.genplus v1.7.4.42.1 installed
2023-02-16 18:11:05.185 T:900 info : CAddonMgr::FindAddons: game.libretro.gw v1.6.3.25.1 installed
2023-02-16 18:11:05.185 T:900 info : CAddonMgr::FindAddons: game.libretro.handy v0.97.0.32.1 installed
2023-02-16 18:11:05.185 T:900 info : CAddonMgr::FindAddons: game.libretro.hatari v1.8.0.31.1 installed
2023-02-16 18:11:05.185 T:900 info : CAddonMgr::FindAddons: game.libretro.mame2000 v0.37.0.28.1 installed
2023-02-16 18:11:05.186 T:900 info : CAddonMgr::FindAddons: game.libretro.mame2003 v0.78.0.50.1 installed
2023-02-16 18:11:05.186 T:900 info : CAddonMgr::FindAddons: game.libretro.mame2003_plus v0.0.1.71.1 installed
2023-02-16 18:11:05.186 T:900 info : CAddonMgr::FindAddons: game.libretro.mame2010 v0.139.0.21.1 installed
2023-02-16 18:11:05.186 T:900 info : CAddonMgr::FindAddons: game.libretro.mame2015 v0.160.0.20.1 installed
2023-02-16 18:11:05.186 T:900 info : CAddonMgr::FindAddons: game.libretro.mesen v0.9.9.26.1 installed
2023-02-16 18:11:05.186 T:900 info : CAddonMgr::FindAddons: game.libretro.meteor v1.4.0.19.1 installed
2023-02-16 18:11:05.186 T:900 info : CAddonMgr::FindAddons: game.libretro.mgba v0.11.0.40.1 installed
2023-02-16 18:11:05.186 T:900 info : CAddonMgr::FindAddons: game.libretro.mrboom v5.2.0.146.1 installed
2023-02-16 18:11:05.186 T:900 info : CAddonMgr::FindAddons: game.libretro.nestopia v1.52.0.34.1 installed
2023-02-16 18:11:05.186 T:900 info : CAddonMgr::FindAddons: game.libretro.nx v1.0.0.33.1 installed
2023-02-16 18:11:05.186 T:900 info : CAddonMgr::FindAddons: game.libretro.o2em v1.18.0.36.1 installed
2023-02-16 18:11:05.186 T:900 info : CAddonMgr::FindAddons: game.libretro.opera v1.0.0.33.1 installed
2023-02-16 18:11:05.187 T:900 info : CAddonMgr::FindAddons: game.libretro.pcsx-rearmed v23.0.0.45.1 installed
2023-02-16 18:11:05.187 T:900 info : CAddonMgr::FindAddons: game.libretro.picodrive v1.98.0.26.2 installed
2023-02-16 18:11:05.187 T:900 info : CAddonMgr::FindAddons: game.libretro.pokemini v0.60.0.33.1 installed
2023-02-16 18:11:05.187 T:900 info : CAddonMgr::FindAddons: game.libretro.prosystem v1.3.0.34.1 installed
2023-02-16 18:11:05.187 T:900 info : CAddonMgr::FindAddons: game.libretro.quicknes v1.0.0.35.1 installed
2023-02-16 18:11:05.187 T:900 info : CAddonMgr::FindAddons: game.libretro.sameboy v0.15.4.33.1 installed
2023-02-16 18:11:05.187 T:900 info : CAddonMgr::FindAddons: game.libretro.scummvm v2.6.1.31.1 installed
2023-02-16 18:11:05.187 T:900 info : CAddonMgr::FindAddons: game.libretro.snes9x v1.61.0.38.1 installed
2023-02-16 18:11:05.187 T:900 info : CAddonMgr::FindAddons: game.libretro.snes9x2002 v7.2.0.34.1 installed
2023-02-16 18:11:05.187 T:900 info : CAddonMgr::FindAddons: game.libretro.snes9x2010 v1.52.4.35.1 installed
2023-02-16 18:11:05.187 T:900 info : CAddonMgr::FindAddons: game.libretro.stella v3.9.3.38.1 installed
2023-02-16 18:11:05.187 T:900 info : CAddonMgr::FindAddons: game.libretro.tgbdual v0.8.3.28.1 installed
2023-02-16 18:11:05.188 T:900 info : CAddonMgr::FindAddons: game.libretro.uae v4.9.1.49.1 installed
2023-02-16 18:11:05.188 T:900 info : CAddonMgr::FindAddons: game.libretro.uae4arm v0.3.0.3.1 installed
2023-02-16 18:11:05.188 T:900 info : CAddonMgr::FindAddons: game.libretro.vba-next v1.0.2.27.1 installed
2023-02-16 18:11:05.188 T:900 info : CAddonMgr::FindAddons: game.libretro.vbam v2.1.3.30.1 installed
2023-02-16 18:11:05.188 T:900 info : CAddonMgr::FindAddons: game.libretro.vecx v1.2.0.33.1 installed
2023-02-16 18:11:05.188 T:900 info : CAddonMgr::FindAddons: game.libretro.vice v3.5.0.37.1 installed
2023-02-16 18:11:05.188 T:900 info : CAddonMgr::FindAddons: game.libretro.virtualjaguar v2.1.0.33.1 installed
2023-02-16 18:11:05.188 T:900 info : CAddonMgr::FindAddons: game.libretro.yabause v0.9.15.43.1 installed
2023-02-16 18:11:05.188 T:900 info : CAddonMgr::FindAddons: inputstream.adaptive v20.3.18.1 installed
2023-02-16 18:11:05.188 T:900 info : CAddonMgr::FindAddons: inputstream.ffmpegdirect v20.5.0.5 installed
2023-02-16 18:11:05.188 T:900 info : CAddonMgr::FindAddons: inputstream.rtmp v20.3.0.5 installed
2023-02-16 18:11:05.188 T:900 info : CAddonMgr::FindAddons: kodi.binary.global.audioengine v1.1.1 installed
2023-02-16 18:11:05.189 T:900 info : CAddonMgr::FindAddons: kodi.binary.global.filesystem v1.1.8 installed
2023-02-16 18:11:05.189 T:900 info : CAddonMgr::FindAddons: kodi.binary.global.general v1.0.5 installed
2023-02-16 18:11:05.189 T:900 info : CAddonMgr::FindAddons: kodi.binary.global.gui v5.15.0 installed
2023-02-16 18:11:05.189 T:900 info : CAddonMgr::FindAddons: kodi.binary.global.main v2.0.2 installed
2023-02-16 18:11:05.189 T:900 info : CAddonMgr::FindAddons: kodi.binary.global.network v1.0.4 installed
2023-02-16 18:11:05.189 T:900 info : CAddonMgr::FindAddons: kodi.binary.global.tools v1.0.4 installed
2023-02-16 18:11:05.189 T:900 info : CAddonMgr::FindAddons: kodi.binary.instance.audiodecoder v4.0.0 installed
2023-02-16 18:11:05.189 T:900 info : CAddonMgr::FindAddons: kodi.binary.instance.audioencoder v3.0.0 installed
2023-02-16 18:11:05.189 T:900 info : CAddonMgr::FindAddons: kodi.binary.instance.game v3.0.0 installed
2023-02-16 18:11:05.189 T:900 info : CAddonMgr::FindAddons: kodi.binary.instance.imagedecoder v3.0.1 installed
2023-02-16 18:11:05.189 T:900 info : CAddonMgr::FindAddons: kodi.binary.instance.inputstream v3.2.0 installed
2023-02-16 18:11:05.190 T:900 info : CAddonMgr::FindAddons: kodi.binary.instance.peripheral v2.0.0 installed
2023-02-16 18:11:05.190 T:900 info : CAddonMgr::FindAddons: kodi.binary.instance.pvr v8.2.0 installed
2023-02-16 18:11:05.190 T:900 info : CAddonMgr::FindAddons: kodi.binary.instance.screensaver v2.2.0 installed
2023-02-16 18:11:05.190 T:900 info : CAddonMgr::FindAddons: kodi.binary.instance.vfs v3.0.1 installed
2023-02-16 18:11:05.190 T:900 info : CAddonMgr::FindAddons: kodi.binary.instance.videocodec v2.0.3 installed
2023-02-16 18:11:05.190 T:900 info : CAddonMgr::FindAddons: kodi.binary.instance.visualization v4.0.0 installed
2023-02-16 18:11:05.190 T:900 info : CAddonMgr::FindAddons: kodi.resource v1.0.0 installed
2023-02-16 18:11:05.190 T:900 info : CAddonMgr::FindAddons: metadata.album.universal v3.1.9 installed
2023-02-16 18:11:05.190 T:900 info : CAddonMgr::FindAddons: metadata.artists.universal v4.3.11 installed
2023-02-16 18:11:05.190 T:900 info : CAddonMgr::FindAddons: metadata.common.allmusic.com v3.2.2 installed
2023-02-16 18:11:05.190 T:900 info : CAddonMgr::FindAddons: metadata.common.fanart.tv v3.6.4 installed
2023-02-16 18:11:05.190 T:900 info : CAddonMgr::FindAddons: metadata.common.musicbrainz.org v2.2.4 installed
2023-02-16 18:11:05.191 T:900 info : CAddonMgr::FindAddons: metadata.common.theaudiodb.com v2.0.3 installed
2023-02-16 18:11:05.191 T:900 info : CAddonMgr::FindAddons: metadata.generic.albums v1.0.18 installed
2023-02-16 18:11:05.191 T:900 info : CAddonMgr::FindAddons: metadata.generic.artists v1.0.14 installed
2023-02-16 18:11:05.191 T:900 info : CAddonMgr::FindAddons: metadata.local v1.0.1 installed
2023-02-16 18:11:05.191 T:900 info : CAddonMgr::FindAddons: metadata.themoviedb.org.python v2.2.0 installed
2023-02-16 18:11:05.191 T:900 info : CAddonMgr::FindAddons: metadata.tvshows.themoviedb.org.python v1.6.5 installed
2023-02-16 18:11:05.191 T:900 info : CAddonMgr::FindAddons: peripheral.joystick v20.1.14 installed
2023-02-16 18:11:05.191 T:900 info : CAddonMgr::FindAddons: plugin.program.AML v1.0.2 installed
2023-02-16 18:11:05.191 T:900 info : CAddonMgr::FindAddons: plugin.program.autocompletion v2.1.2 installed
2023-02-16 18:11:05.191 T:900 info : CAddonMgr::FindAddons: plugin.video.amazon-test v1.0.5+matrix.1 installed
2023-02-16 18:11:05.191 T:900 info : CAddonMgr::FindAddons: plugin.video.netflix v1.23.2+matrix.1 installed
2023-02-16 18:11:05.192 T:900 info : CAddonMgr::FindAddons: plugin.video.themoviedb.helper v4.10.14 installed
2023-02-16 18:11:05.192 T:900 info : CAddonMgr::FindAddons: plugin.video.youtube v7.0.3.2+matrix.1 installed
2023-02-16 18:11:05.192 T:900 info : CAddonMgr::FindAddons: repository.castagnait v2.0.1 installed
2023-02-16 18:11:05.192 T:900 info : CAddonMgr::FindAddons: repository.libreelec.tv v11.0.0 installed
2023-02-16 18:11:05.192 T:900 info : CAddonMgr::FindAddons: repository.linuxserver.docker v9.0.0.0 installed
2023-02-16 18:11:05.192 T:900 info : CAddonMgr::FindAddons: repository.sandmann79.plugins v1.0.4 installed
2023-02-16 18:11:05.192 T:900 info : CAddonMgr::FindAddons: repository.xbmc.org v3.3.1 installed
2023-02-16 18:11:05.192 T:900 info : CAddonMgr::FindAddons: resource.images.gamestudios.grayscale v1.3.0 installed
2023-02-16 18:11:05.192 T:900 info : CAddonMgr::FindAddons: resource.images.recordlabels.white v0.0.7 installed
2023-02-16 18:11:05.192 T:900 info : CAddonMgr::FindAddons: resource.images.studios.coloured v0.0.23 installed
2023-02-16 18:11:05.192 T:900 info : CAddonMgr::FindAddons: resource.images.studios.white v0.0.30 installed
2023-02-16 18:11:05.192 T:900 info : CAddonMgr::FindAddons: resource.images.weathericons.default v1.1.9 installed
2023-02-16 18:11:05.193 T:900 info : CAddonMgr::FindAddons: resource.language.en_gb v2.0.2 installed
2023-02-16 18:11:05.193 T:900 info : CAddonMgr::FindAddons: resource.uisounds.kodi v1.0.1 installed
2023-02-16 18:11:05.193 T:900 info : CAddonMgr::FindAddons: screensaver.shadertoy v20.2.0.2 installed
2023-02-16 18:11:05.193 T:900 info : CAddonMgr::FindAddons: screensaver.videosaver v1.0.9 installed
2023-02-16 18:11:05.193 T:900 info : CAddonMgr::FindAddons: screensaver.xbmc.builtin.black v1.0.34 installed
2023-02-16 18:11:05.193 T:900 info : CAddonMgr::FindAddons: screensaver.xbmc.builtin.dim v1.0.66 installed
2023-02-16 18:11:05.193 T:900 info : CAddonMgr::FindAddons: script.artistslideshow v3.3.6 installed
2023-02-16 18:11:05.193 T:900 info : CAddonMgr::FindAddons: script.cu.lrclyrics v6.6.2 installed
2023-02-16 18:11:05.193 T:900 info : CAddonMgr::FindAddons: script.database.cleaner v3.0.0 installed
2023-02-16 18:11:05.193 T:900 info : CAddonMgr::FindAddons: script.embuary.helper v2.0.8 installed
2023-02-16 18:11:05.194 T:900 info : CAddonMgr::FindAddons: script.embuary.info v2.0.8 installed
2023-02-16 18:11:05.194 T:900 info : CAddonMgr::FindAddons: script.extendedinfo v6.0.7 installed
2023-02-16 18:11:05.194 T:900 info : CAddonMgr::FindAddons: script.json-cec v0.0.1 installed
2023-02-16 18:11:05.194 T:900 info : CAddonMgr::FindAddons: script.keymap v1.1.5 installed
2023-02-16 18:11:05.194 T:900 info : CAddonMgr::FindAddons: script.logviewer v2.1.6+matrix.1 installed
2023-02-16 18:11:05.194 T:900 info : CAddonMgr::FindAddons: script.metadata.editor v3.0.2 installed
2023-02-16 18:11:05.194 T:900 info : CAddonMgr::FindAddons: script.module.addon.signals v0.0.6+matrix.1 installed
2023-02-16 18:11:05.194 T:900 info : CAddonMgr::FindAddons: script.module.amazoncaptcha v0.5.11+matrix.1 installed
2023-02-16 18:11:05.194 T:900 info : CAddonMgr::FindAddons: script.module.arrow v1.2.3 installed
2023-02-16 18:11:05.194 T:900 info : CAddonMgr::FindAddons: script.module.autocompletion v2.1.1 installed
2023-02-16 18:11:05.194 T:900 info : CAddonMgr::FindAddons: script.module.beautifulsoup4 v4.12.2 installed
2023-02-16 18:11:05.194 T:900 info : CAddonMgr::FindAddons: script.module.certifi v2023.5.7 installed
2023-02-16 18:11:05.195 T:900 info : CAddonMgr::FindAddons: script.module.chardet v5.1.0 installed
2023-02-16 18:11:05.195 T:900 info : CAddonMgr::FindAddons: script.module.dateutil v2.8.2 installed
2023-02-16 18:11:05.195 T:900 info : CAddonMgr::FindAddons: script.module.defusedxml v0.6.0+matrix.1 installed
2023-02-16 18:11:05.195 T:900 info : CAddonMgr::FindAddons: script.module.dropbox v10.3.1+matrix.1 installed
2023-02-16 18:11:05.195 T:900 info : CAddonMgr::FindAddons: script.module.future v0.18.3+matrix.1 installed
2023-02-16 18:11:05.195 T:900 info : CAddonMgr::FindAddons: script.module.idna v3.4.0 installed
2023-02-16 18:11:05.195 T:900 info : CAddonMgr::FindAddons: script.module.infotagger v0.0.7 installed
2023-02-16 18:11:05.195 T:900 info : CAddonMgr::FindAddons: script.module.inputstreamhelper v0.6.1+matrix.1 installed
2023-02-16 18:11:05.195 T:900 info : CAddonMgr::FindAddons: script.module.iso8601 v2.0.0 installed
2023-02-16 18:11:05.195 T:900 info : CAddonMgr::FindAddons: script.module.kodi-six v0.1.3.1 installed
2023-02-16 18:11:05.195 T:900 info : CAddonMgr::FindAddons: script.module.mechanicalsoup v1.0.0+matrix.1 installed
2023-02-16 18:11:05.195 T:900 info : CAddonMgr::FindAddons: script.module.mutagen v1.47.0 installed
2023-02-16 18:11:05.196 T:900 info : CAddonMgr::FindAddons: script.module.myconnpy v8.0.33 installed
2023-02-16 18:11:05.196 T:900 info : CAddonMgr::FindAddons: script.module.pil v5.1.0 installed
2023-02-16 18:11:05.196 T:900 info : CAddonMgr::FindAddons: script.module.pyautogui v0.9.51+matrix.1 installed
2023-02-16 18:11:05.196 T:900 info : CAddonMgr::FindAddons: script.module.pycryptodome v3.4.3 installed
2023-02-16 18:11:05.196 T:900 info : CAddonMgr::FindAddons: script.module.pyqrcode v1.2.1+matrix.4 installed
2023-02-16 18:11:05.196 T:900 info : CAddonMgr::FindAddons: script.module.pyxbmct v1.3.2+matrix.1 installed
2023-02-16 18:11:05.196 T:900 info : CAddonMgr::FindAddons: script.module.requests v2.31.0 installed
2023-02-16 18:11:05.196 T:900 info : CAddonMgr::FindAddons: script.module.routing v0.2.3+matrix.1 installed
2023-02-16 18:11:05.196 T:900 info : CAddonMgr::FindAddons: script.module.simplecache v2.0.2 installed
2023-02-16 18:11:05.196 T:900 info : CAddonMgr::FindAddons: script.module.simpleeval v0.9.10 installed
2023-02-16 18:11:05.196 T:900 info : CAddonMgr::FindAddons: script.module.six v1.16.0+matrix.1 installed
2023-02-16 18:11:05.197 T:900 info : CAddonMgr::FindAddons: script.module.soupsieve v2.4.1 installed
2023-02-16 18:11:05.197 T:900 info : CAddonMgr::FindAddons: script.module.trakt v4.4.0+matrix.1 installed
2023-02-16 18:11:05.197 T:900 info : CAddonMgr::FindAddons: script.module.typing_extensions v4.7.1 installed
2023-02-16 18:11:05.197 T:900 info : CAddonMgr::FindAddons: script.module.unidecode v1.3.6 installed
2023-02-16 18:11:05.197 T:900 info : CAddonMgr::FindAddons: script.module.urllib3 v2.1.0 installed
2023-02-16 18:11:05.197 T:900 info : CAddonMgr::FindAddons: script.module.yaml v6.0.1 installed
2023-02-16 18:11:05.197 T:900 info : CAddonMgr::FindAddons: script.module.youtube.dl v23.04.01+matrix.1 installed
2023-02-16 18:11:05.197 T:900 info : CAddonMgr::FindAddons: script.program.homeassistant v1.2.0 installed
2023-02-16 18:11:05.197 T:900 info : CAddonMgr::FindAddons: script.service.playbackresumer v2.0.5 installed
2023-02-16 18:11:05.197 T:900 info : CAddonMgr::FindAddons: script.skinshortcuts v2.0.3 installed
2023-02-16 18:11:05.197 T:900 info : CAddonMgr::FindAddons: script.trakt v3.5.0 installed
2023-02-16 18:11:05.197 T:900 info

@thestraycat
Copy link
Author

I've now removed the following addons that were showing errors in the log.

XBMC LCDProc
SACD decoder

Trying again now with 'addon data' selected.

@thestraycat
Copy link
Author

OK so a bit of a dead end now. Ive removed the two addons above, but now i still hang when using 'addon data' selected. And theres nothing in the logs that i can see via the web viewer. Last entries.

2024-03-17 02:03:11.016 T:942 info : CActiveAESink::OpenSink - initialize sink
2024-03-17 02:03:11.016 T:942 info : CAESinkALSA::Initialize - Attempting to open device "@"
2024-03-17 02:03:11.030 T:942 info : CAESinkALSA::Initialize - Opened device "sysdefault"
2024-03-17 02:03:11.031 T:942 info : CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
2024-03-17 02:03:11.031 T:942 info : CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE3
2024-03-17 02:03:14.431 T:901 info : Loading skin file: MyPrograms.xml, load type: KEEP_IN_MEMORY
2024-03-17 02:03:18.928 T:901 info : Loading skin file: DialogSelect.xml, load type: KEEP_IN_MEMORY
2024-03-17 02:03:34.764 T:901 info : NFS is idle. Closing the remaining connections.
2024-03-17 02:03:37.216 T:901 info : Loading skin file: DialogConfirm.xml, load type: KEEP_IN_MEMORY

@thestraycat
Copy link
Author

I've now tried manually excluding various plugins through your advanced editor and after excluding, netflix, youtube, amazon and librespot (spotify) I now get a bit more infro that may be useful to you from the log. It still hangs in the unsual place but i get this:

2024-03-17 02:33:58.347 T:1819 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'TypeError'>
Error Contents: function takes at most 2 arguments (3 given)
Traceback (most recent call last):
File "/storage/.kodi/addons/script.xbmcbackup/default.py", line 96, in
editor.showMainScreen()
File "/storage/.kodi/addons/script.xbmcbackup/resources/lib/advanced_editor.py", line 214, in showMainScreen
updatedSet = self.editSet(aSet['name'], aSet['set'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/storage/.kodi/addons/script.xbmcbackup/resources/lib/advanced_editor.py", line 149, in editSet
self.dialog.ok(utils.getString(30117), utils.getString(30137), addFolder)
TypeError: function takes at most 2 arguments (3 given)
-->End of Python script error report<--

@robweber
Copy link
Owner

Thanks for gathering all this information. I didn't forget about this just been really busy traveling for work. Hope to dig into this next week.

@tpaniaki
Copy link

Just reporting the same behaviour on XBOX with Kodi 21.0 / backup 1.6.8.

@robweber
Copy link
Owner

I tried to duplicate this a few times - to no avail. Without the exact point of the crash it's hard to say (like the stack trace from Python when it crashes) but it seems like you've narrowed it down to somewhere with the addon_data folder. I do see some addons that seem to indicate there are some docker containers running. Is that right? You could try excluding those as well as they're likely leaving some binary processes running with locks on the files. Make sure you exclude both the addon and the addon_data for that addon.

Sorry this is a pain. When testing I generally use a clean install of Kodi to ensure the addon will run as intended on a base system. 3rd party repos are often the big killer since they leave files open, hunting them down is a task for sure.

@robweber
Copy link
Owner

Working on this some more I did finally see a version of this happening. It was when trying to restore from an SMB share. If the restore directory tree contains a lot of files and folders the initial file walk can take time which appears to be a timeout. In the restore I did it was minutes (4-5) of "gathering files". I think it could be a combination of the processor on the HTPC, network speed, and end storage device. I would speculate that this could also happen on smaller HTPCs like an RPi during the initial file walk for a backup as well.

Going to do some debug logging and confirm some more. While it won't help the speed, making the progress dialog more responsive so you know it's working might be the end fix here.

robweber added a commit that referenced this issue Apr 28, 2024
@thestraycat
Copy link
Author

Hi rob, maybe it's worth on your test instance installing all the common plugins from the Kodi and libreelec repos and maybe the Amazon, netflix and YouTube plugin purely to closer replicate a lot of people's I installations? Ive recently updated to libreelec 12 and am still using the add-on with the exclusion for add-on data, so I'll try the add-on again today with add-on data included. For what it's worth my remote smb folder is a dedicated destination source with 1 or 2 large backup files in it so there shouldn't be much of a tree walk at the destination end whatsoever. Is there ment to be a timeout in the plugin during the gathering info stage after failing for say 5 mins minutes to finish that process etc?

@thestraycat
Copy link
Author

FYI: Tried re-adding "add-on data" after an upgrade from Libreelec 11 > v12. However the issue still exists.

Do you need anything else from me at all?

@robweber
Copy link
Owner

I haven't yet pushed my "fix" for this into the main Kodi repo so I wouldn't expect too much of a difference just yet. The patch won't really help the file gathering time any, just give you more information that something is actually happening. I've tried a number of tests with this and when using remote storage (dedicated NAS, cloud storage, etc) I can get some pretty consistent behavior when walking the tree. My best guess is that a combination of the target hardware, network connection, number of files, and source device processing speed are all in play. My best hope to mitigate this is to provide feedback to the user (progress bar or other such info) since making it go any faster isn't something I have control over.

@thestraycat
Copy link
Author

thestraycat commented Jun 18, 2024

@robweber - Sorry i seemed to have missed this! I'll try again today and report back. I was assuming a stuck/open file was pbeing problematic from one of the addons. Is there any way of having an option potentially to turn on or off (users choice if they enable it) which queries kodi for a list of all currently running addons and then issues a bulk disable command across them all, performs the backup, and then reissues the enable command to them all afterwards? that may potentially help to alleviate individual addon troubleshooting going forward? maybe even present a generated list of all the known actively running addons for the user to select/deselect whether they want them stopped and started as part of the backup process? a kind of expert mode/custom config. I know of a few other backup/restore apps for various other platforms that do a similar thing to avoid active files from hanging the backup process? That would be something special! Just a thought... :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants