Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: watchdog: PHP session permissions (reapplied) 20200923 170312 watchdo
#1
Hello,
I have in my moode.log the following:

20200923 170306 watchdog: PHP session permissions (reapplied)
20200923 170312 watchdog: PHP session permissions (reapplied)
20200923 170318 watchdog: PHP session permissions (reapplied)
20200923 170324 watchdog: PHP session permissions (reapplied)
20200923 170330 watchdog: PHP session permissions (reapplied)
....

the message is repeating until shutdown.


Is there a way to solve this error ?

Greetings
c.
Reply
#2
Is this completely stock moOde 6.7.1 downloaded from moodeaudio.org?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(09-23-2020, 04:19 PM)Tim Curtis Wrote: Is this completely stock moOde 6.7.1 downloaded from moodeaudio.org?

Yes, of course
Reply
#4
I get the same problem in 7.0.1.

I think is because sqlite3 is not ready, when watchdog.sh starts. I have corrected it by adding a sleep at the beginning of the script:

Code:
sleep 6                                                                                            
SESSION_FILE=$SESSION_DIR/sess_$(sqlite3 $SQL_DB "SELECT value FROM cfg_system WHERE param='sessionid'")

Maybe it is connected with option "initial_turbo=40" in config.txt. I have added it to shorten boot time a bit.
Reply
#5
Fixed in upcoming 7.1.0 release.

It's an order of execution issue in worker.php. A sqlite update query is busy when watchdog is started.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#6
I have noticed, that develop branch of Moode is very different from 7.0.1. Hope it will be much better. Thanks for your work!
Reply


Forum Jump: