Unable to connect to max2play web interface

Max2Play Home 2016 (en) Forums Max2Play on Raspberry PI Unable to connect to max2play web interface

This topic contains 5 replies, has 3 voices, and was last updated by  chuby57 premium 7 months, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • 8. April 2016 at 13:19 #19709

    Hi

    I have a Raspberry pi 2 with max2play (I can’t currently determine which version).
    All is functioning normally (Logitech media server, Jivelite, Kodi and ssh) but I am unable to access the Max2play web interface. http:// max2play (error: max2play’s server DNS address could not be found.) or by http://192.168.1.45 (192.168.1.45 refused to connect.) http://192.168.1.45:9000 works normally to give the Logitech Media Server.
    This may have happened as a result of my doing an ‘apt-get update’ and ‘apt-get upgrade’ via ssh, though it didn’t seem to happen immediately). I did this because the web interface informed me that a new version of max2play was available and invited me to upgrade. However each time I tried that using the web interface the screen ended with the error message ‘upgrade failed’.)
    I noticed when I did sudo apt-get upgrade that certain packages were held back (kodi libcec3 lxpanel lxpanel-data nuscratch raspberrypi-ui-mods) . I have tried ‘sudo reboot’
    Can anyone advise me how to get the web interface back? I am reluctant to reinstall max2play again from scratch as the current system is otherwise working well and took a while to set up. I was however hoping to turn on turbo mode via the web interface.

    Any advice gratefully received.

    Thanks

    • This topic was modified 7 months, 4 weeks ago by  chuby57.
    9. April 2016 at 11:04 #19720

    Further information: Running `sudo ./update_max2play.sh via ssh gives the following output

    Get Data
    --2016-04-09 10:54:53--  http://shop.max2play.com/media/downloadable/currentversion/webinterface.zip
    Resolving shop.max2play.com (shop.max2play.com)... 104.28.29.89, 104.28.28.89, 2400:cb00:2048:1::681c:1c59, ...
    Connecting to shop.max2play.com (shop.max2play.com)|104.28.29.89|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [application/zip]
    Saving to: 

    /opt/max2play/cache/webinterface.zip’

    [ <=> ] 764,795 921K/s in 0.8s

    2016-04-09 10:54:54 (921 KB/s) – `/opt/max2play/cache/webinterface.zip’ saved [764795]

    –2016-04-09 10:54:54– http://shop.max2play.com/media/downloadable/currentversion/scripts.zip
    Resolving shop.max2play.com (shop.max2play.com)… 104.28.28.89, 104.28.29.89, 2400:cb00:2048:1::681c:1d59, …
    Connecting to shop.max2play.com (shop.max2play.com)|104.28.28.89|:80… connected.
    HTTP request sent, awaiting response… 200 OK
    Length: unspecified [application/zip]
    Saving to: `/opt/max2play/cache/scripts.zip’

    [ <=> ] 910,030 662K/s in 1.3s

    2016-04-09 10:54:56 (662 KB/s) – `/opt/max2play/cache/scripts.zip’ saved [910030]

    Install Webinterface
    Inconsistency detected by ld.so: dynamic-link.h: 190: elf_get_dynamic_info: Assertion `info[20]->d_un.d_val == 17 || info[20]->d_un.d_val == 7′ failed!
    Install Scripts
    Inconsistency detected by ld.so: dynamic-link.h: 190: elf_get_dynamic_info: Assertion `info[20]->d_un.d_val == 17 || info[20]->d_un.d_val == 7′ failed!
    rm: cannot remove `/etc/init/whoopsie.conf’: No such file or directory
    rm: cannot remove `/etc/rsyslog.d/50-default.conf’: No such file or directory
    crontab: user `odroid’ unknown
    crontab: user `odroid’ unknown
    Factory Settings available
    OK
    usermod: user ‘mpd’ does not exist
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    lsb-release is already the newest version.
    ntfs-3g is already the newest version.
    The following packages were automatically installed and are no longer required:
    libvncserver0 tcl tk x11vnc-data
    Use ‘apt-get autoremove’ to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
    Get Plugin from http://shop.max2play.com/media/downloadable/beta/squeezeplug.tar
    Load Plugin from tar
    –2016-04-09 10:55:01– http://shop.max2play.com/media/downloadable/beta/squeezeplug.tar
    Resolving shop.max2play.com (shop.max2play.com)… 104.28.29.89, 104.28.28.89, 2400:cb00:2048:1::681c:1c59, …
    Connecting to shop.max2play.com (shop.max2play.com)|104.28.29.89|:80… connected.
    HTTP request sent, awaiting response… 200 OK
    Length: unspecified [application/x-tar]
    Saving to: `/opt/max2play/cache/plugin.tar’

    [ <=> ] 215,040 389K/s in 0.5s

    2016-04-09 10:55:02 (389 KB/s) – `/opt/max2play/cache/plugin.tar’ saved [215040]

    Installing Plugin squeezeplug
    Install successful
    Copy custom header files
    mkdir: cannot create directory `/var/www/max2play/public/addons/squeezeplug’: File exists

    14. April 2016 at 15:22 #19778

    Hi chuby,

    the Webserver (apache) may not be running due to the performed “apt-get upgrade” command. You may check for an error on start of apache by starting it manually by entering “sudo /etc/init.d/apache2 start” and checking config files with “apache2ctl configtest”. If this doesn’t help I suggest a complete reinstall (start with a new sd-image).

    14. April 2016 at 15:53 #19780

    Hi flysurfer

    Thanks for your reply. I decided to follow the second suggestion and reinstall with a new sd-image downloaded from the Download link. I have set everything up as before and all works well. I still have the ” Max2Play update is available – start update on tab Settings / Reboot” message on the Start page. Is it safe/necessary to try it? I wouldn’t want to have to set everything up again. What is the best option for backing up my installation before trying it?

    14. April 2016 at 16:10 #19783

    Hi chuby,
    The update message refers to Max2Play’s internal update, meaning the Update-Button in the “Settings/Reboot” menu. This update procedure is totally safe and can be done without any risk. However, if you do want to back up your image, just use a simple tool like the Win32DiskImager, insert your configured SD card in your PC, find it in the DiskImager and click “Read” to create an .img-file which you can then use to replicate your image.

    15. April 2016 at 11:55 #19787

    Hi Hiener

    Thanks for the advice. The update worked fine this time. Everything functions perfectly.

    Just for information I am a linux user and used the SD image backup advice on this page
    https://www.raspberrypi.org/documentation/linux/filesystem/backup.md
    and produced an approximately 4G file. I haven’t tried restoring it though!

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

You must be logged in to reply to this topic.

Register here