I am stuck when function fileStructureJson() is called, i then receive the error "Update is temporary locked".
Can you explain why this is occurring and more importantly how i can fix this?
By the way, the same message can be triggered within 5 different places hence I added the function name between brackets in the message to be precidse wheer the message is being triggerd.
Update is temporary locked
Re: Update is temporary locked
The lock is gone but not clear what caused the lock. It is now updating again.
- wbartels
- netjukebox developer
- Posts: 884
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Re: Update is temporary locked
During the update process other update processes will be locked to prevent loosing MySQL data.CasN wrote: Wed Nov 08, 2023 11:05 am I am stuck when function fileStructureJson() is called, i then receive the error "Update is temporary locked".
Can you explain why this is occurring and more importantly how i can fix this?
The unlock will be done automatically on the end of the update or after a short time by an unexpected exit.
The real locking is done by the PHP build-in flock() function.
The update.php.lock file is placed in the netjukebox temp directory.
And can be manually deleted, I only had to do this a few times during implementing this feature.
If there is a ....php.lock file present doesn't always mean the process is locked!