Update do nothing (V. 6.84.0)

General discussion about netjukebox
ZeBison
User
Posts: 19
Joined: Sun Apr 24, 2022 12:48 am

Re: Update do nothing (V. 6.84.0)

Post by ZeBison »

In cache there are folders named 0 to f, + index.php.
In temp there is update.php.lock
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Update do nothing (V. 6.84.0)

Post 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?
ZeBison
User
Posts: 19
Joined: Sun Apr 24, 2022 12:48 am

Re: Update do nothing (V. 6.84.0)

Post by ZeBison »

Last modified on last try.
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Update do nothing (V. 6.84.0)

Post 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.
ZeBison
User
Posts: 19
Joined: Sun Apr 24, 2022 12:48 am

Re: Update do nothing (V. 6.84.0)

Post 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. :'(
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Update do nothing (V. 6.84.0)

Post 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?
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Update do nothing (V. 6.84.0)

Post 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?
ZeBison
User
Posts: 19
Joined: Sun Apr 24, 2022 12:48 am

Re: Update do nothing (V. 6.84.0)

Post by ZeBison »

Firefox
ZeBison
User
Posts: 19
Joined: Sun Apr 24, 2022 12:48 am

Re: Update do nothing (V. 6.84.0)

Post 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
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Update do nothing (V. 6.84.0)

Post 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 ;-)
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Update do nothing (V. 6.84.0)

Post 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!
ZeBison
User
Posts: 19
Joined: Sun Apr 24, 2022 12:48 am

Re: Update do nothing (V. 6.84.0)

Post 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.
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Update do nothing (V. 6.84.0)

Post 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)
ZeBison
User
Posts: 19
Joined: Sun Apr 24, 2022 12:48 am

Re: Update do nothing (V. 6.84.0)

Post 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.
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Update do nothing (V. 6.84.0)

Post by wbartels »

Please try out netjukebox 6.84.2
6.84.2 Update: Improved message() support during XMLHttpRequest.
Locked