Page 2 of 3

Re: Update do nothing (V. 6.84.0)

Posted: Tue Apr 26, 2022 6:52 pm
by ZeBison
In cache there are folders named 0 to f, + index.php.
In temp there is update.php.lock

Re: Update do nothing (V. 6.84.0)

Posted: Tue Apr 26, 2022 6:58 pm
by wbartels
ZeBison wrote: Tue Apr 26, 2022 6:52 pm In cache there are folders named 0 to f, + index.php.
In temp there is update.php.lock
The cache directory seems to be ok.
Is the update.php.lock file create/modification time from the last update or older?

Re: Update do nothing (V. 6.84.0)

Posted: Tue Apr 26, 2022 7:18 pm
by ZeBison
Last modified on last try.

Re: Update do nothing (V. 6.84.0)

Posted: Tue Apr 26, 2022 7:59 pm
by wbartels
ZeBison wrote: Tue Apr 26, 2022 7:18 pm Last modified on last try.
With the other answers we can say there is no problem with the file permission.

Re: Update do nothing (V. 6.84.0)

Posted: Tue Apr 26, 2022 8:00 pm
by ZeBison
Aaaaaaaaaaaaaaaaaaaaaaaaaaahhhhhhhhhhhh!!! I forgot html audio tag only compatible with wav, mp3 and ogg files: I deleted my wav when encoded them to flac thus my own player doesn't work anymore. :'(

Re: Update do nothing (V. 6.84.0)

Posted: Tue Apr 26, 2022 8:01 pm
by wbartels
Entire error.log :
[Tue Apr 26 00:00:12.885024 2022] [mpm_event:notice] [pid 1863:tid 140115482500160] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Tue Apr 26 00:00:12.885095 2022] [core:notice] [pid 1863:tid 140115482500160] AH00094: Command line: '/usr/sbin/apache2'
PHP Warning: Module 'gd' already loaded in Unknown on line 0
PHP Warning: Module 'zip' already loaded in Unknown on line 0
PHP Warning: Module 'gd' already loaded in Unknown on line 0
PHP Warning: Module 'zip' already loaded in Unknown on line 0
Is the error log still the same?

Re: Update do nothing (V. 6.84.0)

Posted: Tue Apr 26, 2022 8:02 pm
by wbartels
ZeBison wrote: Tue Apr 26, 2022 8:00 pm Aaaaaaaaaaaaaaaaaaaaaaaaaaahhhhhhhhhhhh!!! I forgot html audio tag only compatible with wav, mp3 and ogg files: I deleted my wav when encoded them to flac thus my own player doesn't work anymore. :'(
Witch browser do you use?

Re: Update do nothing (V. 6.84.0)

Posted: Tue Apr 26, 2022 8:05 pm
by ZeBison
Firefox

Re: Update do nothing (V. 6.84.0)

Posted: Tue Apr 26, 2022 8:12 pm
by ZeBison
wbartels wrote: Tue Apr 26, 2022 8:01 pm Entire error.log :
[Tue Apr 26 00:00:12.885024 2022] [mpm_event:notice] [pid 1863:tid 140115482500160] AH00489: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f configured -- resuming normal operations
[Tue Apr 26 00:00:12.885095 2022] [core:notice] [pid 1863:tid 140115482500160] AH00094: Command line: '/usr/sbin/apache2'
PHP Warning: Module 'gd' already loaded in Unknown on line 0
PHP Warning: Module 'zip' already loaded in Unknown on line 0
PHP Warning: Module 'gd' already loaded in Unknown on line 0
PHP Warning: Module 'zip' already loaded in Unknown on line 0
Is the error log still the same?
Yes, and error.log.1 from yesterday has the same kind of errors

Re: Update do nothing (V. 6.84.0)

Posted: Tue Apr 26, 2022 8:38 pm
by wbartels
ZeBison wrote: Tue Apr 26, 2022 8:05 pmFirefox
In my firefox streaming works!

But there is another big problem, if you look in you html source the id in the url's are all empty.
And when I stream a track it always streams the same track from abba.
Also strange that the error log has the same time (some seconds after 24 hour) even after many updates attempts.

What I should do is delete the database, reboot the server and update again.
If this doesn't help I have another idea...
Hope it is not needed ;-)

Re: Update do nothing (V. 6.84.0)

Posted: Wed Apr 27, 2022 12:45 pm
by wbartels
We have installed PHP on a different way.
I don't say that my way is better, but it could be that the code reacts differently.

You are running PHP as fastcgi
I'm using a php as an apache (module?)

I'm no expert in this but what I understand is that running php as Apache module runs PHP on every tread.
And by fast CGI PHP is running multiple Apache treads.
The way I implemented AJAX error recognition could be the reason that the script will hang with fastcgi.

I come back to this, now I'm going to run and enjoy the nice weather!

Re: Update do nothing (V. 6.84.0)

Posted: Wed Apr 27, 2022 5:45 pm
by ZeBison
Well,

After several new tries, it seems it's due to the number of tracks: with a few albums, update works fine... even with wav.

Play mode returns this error:
Music Player Daemon error
Error: ACK [50@0] {add} No such directory
Edit: and here Firefox (on Win 11 neither on my android phone) doesn't want to play flac. If you want to "see", all Astonvilla are in wav.

Re: Update do nothing (V. 6.84.0)

Posted: Wed Apr 27, 2022 9:30 pm
by wbartels
ZeBison wrote: Wed Apr 27, 2022 5:45 pm Well,

After several new tries, it seems it's due to the number of tracks: with a few albums, update works fine... even with wav.

Play mode returns this error:
Music Player Daemon error
Error: ACK [50@0] {add} No such directory
Edit: and here Firefox (on Win 11 neither on my android phone) doesn't want to play flac. If you want to "see", all Astonvilla are in wav.
I will update netjukebox witch doen't need a request header by a AJAX request with an netjukebox message.
This could give a meaningful message instead of the internal error you now get.

MPD update is done on the end of the update process.
So if the update process doesn't come so fare, you can't use MPD.
(MPD has its own simple database with at least all file names with there relative directory's)

Re: Update do nothing (V. 6.84.0)

Posted: Wed Apr 27, 2022 10:05 pm
by ZeBison
Ok, for MPD. In fact, I don't care because I'll use netjukebox only when I'll be away from home thus play mode or streaming it's almost the same. I already have a private webradio for times I don't know what I want to listen.

Re: Update do nothing (V. 6.84.0)

Posted: Thu Apr 28, 2022 3:54 pm
by wbartels
Please try out netjukebox 6.84.2
6.84.2 Update: Improved message() support during XMLHttpRequest.