Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't access web ui after system update #1629

Closed
linzack opened this issue Oct 12, 2018 · 11 comments
Closed

Can't access web ui after system update #1629

linzack opened this issue Oct 12, 2018 · 11 comments

Comments

@linzack
Copy link
Contributor

linzack commented Oct 12, 2018

Hi,
when I open http://192.168.0.14/playback or http://192.168.0.14/dev
chrome says ERR_CONNECTION_RESET, no web ui shows, but ssh 192.168.0.14 is working.
Everything is ok before I triggered system update this time.
My last system update is months ago.
I find this in /var/log/syslog

Oct 13 06:01:24 localhost volumio[5991]: /volumio/node_modules/bindings/bindings.js:83
Oct 13 06:01:24 localhost volumio[5991]: throw e
Oct 13 06:01:24 localhost volumio[5991]: ^
Oct 13 06:01:24 localhost volumio[5991]: Error: The module '/volumio/node_modules/libxmljs/build/Release/xmljs.node'
Oct 13 06:01:24 localhost volumio[5991]: was compiled against a different Node.js version using
Oct 13 06:01:24 localhost volumio[5991]: NODE_MODULE_VERSION 48. This version of Node.js requires
Oct 13 06:01:24 localhost volumio[5991]: NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
Oct 13 06:01:24 localhost volumio[5991]: the module (for instance, using `npm rebuild` or `npm install`).
Oct 13 06:01:24 localhost volumio[5991]: at Object.Module._extensions..node (module.js:681:18)
Oct 13 06:01:24 localhost volumio[5991]: at Module.load (module.js:565:32)
Oct 13 06:01:24 localhost volumio[5991]: at tryModuleLoad (module.js:505:12)
Oct 13 06:01:24 localhost volumio[5991]: at Function.Module._load (module.js:497:3)
Oct 13 06:01:24 localhost volumio[5991]: at Module.require (module.js:596:17)
Oct 13 06:01:24 localhost volumio[5991]: at require (internal/module.js:11:18)
Oct 13 06:01:24 localhost volumio[5991]: at bindings (/volumio/node_modules/bindings/bindings.js:76:44)
Oct 13 06:01:24 localhost volumio[5991]: at Object.<anonymous> (/volumio/node_modules/libxmljs/lib/bindings.js:1:99)
Oct 13 06:01:24 localhost volumio[5991]: at Module._compile (module.js:652:30)
Oct 13 06:01:24 localhost volumio[5991]: at Object.Module._extensions..js (module.js:663:10)
Oct 13 06:01:24 localhost systemd[1]: volumio.service: main process exited, code=exited, status=1/FAILURE
Oct 13 06:01:24 localhost systemd[1]: Unit volumio.service entered failed state.

Thank you!

@xipmix
Copy link
Contributor

xipmix commented Oct 13, 2018

It may help to have exact version details. Can you ssh in and send the result of these commands please?

$ cd /volumio
$ git status
$ git log -1
$ cat /etc/os-release

@linzack
Copy link
Contributor Author

linzack commented Oct 13, 2018

Hi, it's the output
Thank you!

volumio@volumio:/volumio$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
  (use "git add <file>..." to include in what will be committed)

        app/plugins/system_controller/network/wireless.js
        http/www/

nothing added to commit but untracked files present (use "git add" to track)


volumio@volumio:/volumio$ git log -1
commit d5f49fc357041f5b198c5942e85c60ef4ca69f66
Author: Volumio <info@volumio.org>
Date:   Thu Sep 7 22:53:24 2017 +0000

    build album cache on first mpd connection


volumio@volumio:/volumio$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
VOLUMIO_BUILD_VERSION="c00a19098320053824010d132d6bfb39774a7d2f"
VOLUMIO_FE_VERSION="e2f152c30d370c9c7c86508a02c0323bef5c243b"
VOLUMIO_BE_VERSION="909cc76a7609428f005f8e2878227062cb5328a6"
VOLUMIO_ARCH="arm"
VOLUMIO_VARIANT="volumio"
VOLUMIO_TEST="FALSE"
VOLUMIO_BUILD_DATE="Mon Sep 17 00:18:22 CEST 2018"

VOLUMIO_VERSION="2.457"
VOLUMIO_HARDWARE="pi"
VOLUMIO_HASH="cdde21c6e3d40ce352c051f661950d1b"
volumio@volumio:/volumio$

@volumio
Copy link
Owner

volumio commented Oct 13, 2018

In my opinion you installed some node modules manually and\or did a manual git pull or changed some files via ssh

@linzack
Copy link
Contributor Author

linzack commented Oct 13, 2018

ah, yes.
I have tried to npm install libxmljs after I saw the error log.
But I dont do git pull.
Is there a solution for this situation?
Thank you!

@volumio
Copy link
Owner

volumio commented Oct 13, 2018

yes, volumio updater restorevolumio

@linzack
Copy link
Contributor Author

linzack commented Oct 13, 2018

Thank you!
but the output seems like it does not work on my version number

volumio@volumio:~$ volumio updater restorevolumio

Usage : volumio <argument1> <argument2>

[[PLAYBACK STATUS]]

status                             Gives Playback status information
volume                             Gives Current Volume Information
volume <desired volume>            Sets Volume at desired level 0-100
volume mute                        Mutes
volume unmute                      Unmutes
volume plus                        Increases Volume of one step
volume minus                       Decreases Volume of one step
seek plus                          Forwards 10 seconds in the song
seek minus                         Backwards 10 seconds in the song
seek <seconds>                     Plays song from selected time
repeat                             Toggles repetition of queue
random                             Toggles randomization of queue


[[PLAYBACK CONTROL]]

play
pause
next
previous
stop
clear


[[VOLUMIO SERVICE CONTROL]]

start                               Starts Volumio Service
vstop                               Stops Volumio Service
restart                             Restarts Volumio Service

[[VOLUMIO DEVELOPMENT]]

pull                               Pulls latest github status on master from https://github.com/volumio/Volumio2.git
pull -b <branch>                   Pulls branch <branch> from https://github.com/volumio/Volumio2.git
pull -b <branch> <repository>      Pulls branch <branch> from git repository <repository>
kernelsource                       Gets Current Kernel source (Raspberry PI only)
plugin init                        Creates a new plugin
plugin refresh                     updates plugin in the system
plugin package                     compresses the plugin
plugin publish                     publishes the plugin on git

@volumio
Copy link
Owner

volumio commented Oct 13, 2018

Then you definetely messed up the system too much with manual edits.
Only way is to reflash, sorry

@linzack
Copy link
Contributor Author

linzack commented Oct 13, 2018

ooops, ok.
Thank you for the help !!

@volumio volumio closed this as completed Oct 13, 2018
@linzack
Copy link
Contributor Author

linzack commented Oct 13, 2018

Iol, I download update-helper.js / volumio.sh from github...
and volumio updater restorevolumio magically bring it back!!

@volumio
Copy link
Owner

volumio commented Oct 13, 2018

Yes but I suggest to reflash anyway

@linzack
Copy link
Contributor Author

linzack commented Oct 13, 2018

Haha, I get it! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants