Kodi Community Forum
Update fails on Windows - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+---- Forum: TinyMediaManager (https://forum.kodi.tv/forumdisplay.php?fid=204)
+---- Thread: Update fails on Windows (/showthread.php?tid=361714)

Update fails on Windows - tars - 2021-03-27

Recent two builds failed to update properly on Windows with this error:

ERROR rename update\tmm.jar tmm.jar: Access is denied.

RE: Update fails on Windows - mlaggner - 2021-03-27

well, there is a process locking your tmm.jar and thus Windows itself prevents tmm from applying the update

RE: Update fails on Windows - tars - 2021-03-27

Very strange. It was another (hidden) instance of tmm that locked the file and I had to kill the process using process monitor.
Don't know how it happened, but it updates properly now.

RE: Update fails on Windows - tars - 2021-03-28

This happened again. When update failed, I saw two java and three tmm processes were running on my machine and all pointed to the same tinyMediaManager.exe file.
I can't make two tmm instances running manually with the same exe file in the same folder as the second try gets aborted.
I suspect a certain action with tmm launches another instance runningĀ in the background and it keeps running even after the main tmm closes down.

RE: Update fails on Windows - tars - 2021-03-28

OK. I see what's happening. When tmm closes, it tries to delete AppData\Local\Temp\tmm folder. But it sometimes fails deleting it for some reason and the java & tmm processes remain in the background.
Then if I run tmm again, I get two tmm instances running.
Don't know why if fails to delete the folder as java(javaw.exe) is the only process with an handle to files in there.

This forum uses Lukasz Tkacz MyBB addons.