[SOLVED] max2play v2.42 web ui broken

Max2Play Home Forums Max2Play as Squeezebox (Player / Server) [SOLVED] max2play v2.42 web ui broken

Viewing 8 posts - 1 through 8 (of 8 total)
  • 25. Juni 2017 at 6:59 #29709

    I attempted to connect to my Raspberry Pi2 max2play LMS using my LogitechMediaServer (LMS) app on my Samsung S6 smartphone. It would not connect. I went to my computer, and attempted to connect to the LMS web ui. Nothing doing. For the first time in a LONG time, I attempted to connect to the max2play web ui. Nope. So, I ssh’d in and „#> sudo shutdown -r now“ the system to reboot. The system rebooted.

    LMS is now running (I’m listening to it as I type). But the max2play web ui is hosed, see attached screenshot. I cannot do anything with it at all, as all page content for each tab displays, well, nothing but a blank white area.

    https://drive.google.com/file/d/0B3O2JPK_l35kd0VhZjR5MUJrOHM/view?usp=sharing

    What is this? What can be done? I listen to LMS daily, but rarely load the max2play web ui. Occasionally I buy new music and rip it and scp it to the Pi. Today I did use scp to copy over some music files to the attached USB drive. I’d not think that had anything to do with the max2play web ui, however.

    Some more info:

    max2play% uname -a
    Linux max2play 4.4.20-v7+ #908 SMP Wed Sep 7 14:44:27 BST 2016 armv7l GNU/Linux

    max2play% df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/root 14G 2.8G 11G 21% /
    devtmpfs 427M 0 427M 0% /dev
    tmpfs 432M 0 432M 0% /dev/shm
    tmpfs 432M 6.1M 425M 2% /run
    tmpfs 5.0M 4.0K 5.0M 1% /run/lock
    tmpfs 432M 0 432M 0% /sys/fs/cgroup
    /dev/mmcblk0p1 60M 22M 39M 36% /boot
    /dev/sda1 1.9T 885G 979G 48% /media/usb0
    tmpfs 87M 0 87M 0% /run/user/1000

    max2play% cat /proc/cpuinfo | grep ‚Revision‘ | awk ‚{print $3}‘ | sed ’s/^1000//‘
    a01041

    [http://elinux.org/RPi_HardwareHistory tells me this is:
    a01041 Q1 2015 2 Model B 1.1 1 GB (Mfg by Sony)]

    26. Juni 2017 at 10:57 #29716

    Hi gstalnaker,

    How did you install the LMS with only the white pages at your disposal?

    Is the LMS web interface displaying correctly?

    26. Juni 2017 at 16:55 #29726

    Heiner — this is not a new install; been running max2play since November, 2016 (Pi hardware formerly used for a different distro). Only use LMS on it (though Kodi installed it is unused).

    As I said in my post, I listen to LMS daily and it currently works. Occasionally I will purchase new music (mp3/flac or CD, which I rip to flac) and then scp the files to the Pi USB drive connected to it (/media/USB0/music) then tell LMS to rescan. I did rip and scp some files last weekend. When I tried to play the new music I found LMS unresponsive with either the LMS web UI or with two different LMS apps on my Samsung S6 smartphone. That’s when I attempted to load the max2play web ui to check on things there. That also failed to load (just a revolving „processing“ icon). Not having any other recourse I ssh’d to the host, which worked, and did „#> sudo shutdown /r now“ to reboot.

    Reboot was successful and LMS works, both the web UI and access via the Android apps. ssh works as well. But on reloading the max2play UI, I got what you see in the image link. Somehow/some reason the max2play UI fails to construct the pages correctly. Very odd. I’m hoping to avoid a reinstall, but if I have to I have to. Frankly I can’t think what you can do to fix something like this other than a re-install, but it doesn’t hurt to ask before I do it.

    28. Juni 2017 at 15:21 #29747

    Hi gstalnaker,

    Could you check the current load of the Pi in the debug info of the Settings/Reboot menu? It could be that either the SD card is full or the library of the LMS is too big to parse and takes up too much load. In this case, you can try adjusting the performance of the LMS in its settings.

    28. Juni 2017 at 18:51 #29759

    Heiner,

    As I have already said, twice, LMS works. I continue to listen to it. LMS is not the problem.

    The issue, as I’ve said, is the max2play web UI. It has empty content. It is, thus, unusable. What can I do to fix it?

    As the screen-shot should show, the expected content is not visible in the one max2play menu. This is true of all of the max2play UI menus. All show the blank, white area beneath the menu. All of them.

    There is no issue with disk. I provided the output for df -h in my initial post:

    max2play% df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/root 14G 2.8G 11G 21% /
    devtmpfs 427M 0 427M 0% /dev
    tmpfs 432M 0 432M 0% /dev/shm
    tmpfs 432M 6.1M 425M 2% /run
    tmpfs 5.0M 4.0K 5.0M 1% /run/lock
    tmpfs 432M 0 432M 0% /sys/fs/cgroup
    /dev/mmcblk0p1 60M 22M 39M 36% /boot
    /dev/sda1 1.9T 885G 979G 48% /media/usb0
    tmpfs 87M 0 87M 0% /run/user/1000

    Disk is not an issue here, the max2play web UI is the issue.

    2. Juli 2017 at 14:06 #29783

    In this case, we highly recommend using a new image. You can back up all your configurations from the LMS.

    For the LMS settings you can simply copy the /var/lib/squeezeboxserver/ directory to a USB drive and then copy it back to your new image.

    For a whole backup in the future, you can use our image burner plugin: https://www.max2play.com/en/wiki/creating-an-image-backup/

    4. Juli 2017 at 17:40 #29799

    Heiner thanks!

    I knew this was where we’d end up, but wanted to ask anyway. And things have gotten worse not better. Now the http://max2play UI is completely blank, no content whatsoever, the apache serviced page is empty.

    Regards.

    5. Juli 2017 at 6:18 #29803

    Heiner,

    max2play updated to v2.43 and all is well. Thanks for your help.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

Register here