RFZ
Repetier Server suddenly stopped working (due to auto update)
April 30, 2016 07:36AM
Hi,
today I found my printer / Repetier Server not working anymore.

pi@raspberrypi ~ $ sudo /etc/init.d/RepetierServer start
[ ok ] Starting Repetier-Server: rsd.

It says it starts okay, but it doesn't... Webinterface or API are not reachable, no process is running. Starting it "by hand" gives me an error:

pi@raspberrypi ~ $ /usr/local/Repetier-Server/bin/RepetierServer --config=/usr/local/Repetier-Server/etc/RepetierServer.xml
Read configuration file /usr/local/Repetier-Server/etc/RepetierServer.xml
Testing alternative config: "/usr/local/Repetier-Server/etc/RepetierServer-extra.xml"
Testing alternative config: "/var/lib/Repetier-Server/database/RepetierServer.xml"
Webdirectory: /usr/local/Repetier-Server/www/
Storage directory: /var/lib/Repetier-Server/
Configuration file: /usr/local/Repetier-Server/etc/RepetierServer.xml
Directory for temporary files: /tmp/
Reading firmware data ...
Starting Network ...
Reading printer configurations ...
Reading printer config /var/lib/Repetier-Server/configs/Prusa_i3.xml
Starting printer threads ...
Starting work dispatcher subsystem ...
Starting user database ...
Initalizing LUA ...
Starting web server ...
Webserver started.
Error parsing version string <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">: Syntax error
terminate called after throwing an instance of 'Poco :: SyntaxException'
  what():  Syntax error
Abgebrochen

Looks like an auto-update function fails reading the latest version number from the web and completely fails the whole process.
Well, so I "removed" the internet cool smiley

pi@raspberrypi ~ $ sudo route delete default


An the Server is back again!

pi@raspberrypi ~ $ /usr/local/Repetier-Server/bin/RepetierServer --config=/usr/local/Repetier-Server/etc/RepetierServer.xml
Read configuration file /usr/local/Repetier-Server/etc/RepetierServer.xml
Testing alternative config: "/usr/local/Repetier-Server/etc/RepetierServer-extra.xml"
Testing alternative config: "/var/lib/Repetier-Server/database/RepetierServer.xml"
Webdirectory: /usr/local/Repetier-Server/www/
Storage directory: /var/lib/Repetier-Server/
Configuration file: /usr/local/Repetier-Server/etc/RepetierServer.xml
Directory for temporary files: /tmp/
Reading firmware data ...
Starting Network ...
Reading printer configurations ...
Reading printer config /var/lib/Repetier-Server/configs/Prusa_i3.xml
Starting printer threads ...
Starting work dispatcher subsystem ...
Starting user database ...
Initalizing LUA ...
Starting web server ...
Webserver started.
Net Exception: Network is unreachable
Net Exception: Network is unreachable
Connection started: Prusa i3
Reset printer Prusa i3
Net Exception: Network is unreachable
Net Exception: Network is unreachable

Thx for almost an hour to figure that crap out... thumbs down
Any way to disable this feature?
RFZ
Re: Repetier Server suddenly stopped working (due to auto update)
December 16, 2017 07:30AM
And here it comes again... thumbs down
pi@raspberrypi ~/Repetier-Server/logs $ tail /var/lib/Repetier-Server/logs/server.log
2017-12-16 12:23:36: Start logging...
2017-12-16 12:23:36: Webdirectory: /usr/local/Repetier-Server/www/
2017-12-16 12:23:36: Storage directory: /var/lib/Repetier-Server/
2017-12-16 12:23:36: Configuration file: /usr/local/Repetier-Server/etc/RepetierServer.xml
2017-12-16 12:23:36: Directory for temporary files: /tmp/
2017-12-16 12:23:36: Reading firmware data ...
2017-12-16 12:23:37: Starting Network ...
2017-12-16 12:23:37: Reading printer configurations ...
2017-12-16 12:23:37: Reading printer config /var/lib/Repetier-Server/configs/Prusa_i3.xml
2017-12-16 12:23:37: Error parsing version string : Syntax error
pi@raspberrypi ~/Repetier-Server/logs $

Edit: Actually started wireshark... URL it tries to connect to is [www.repetier-server.com]
Blocking the Pis internet traffic within the router also solves the problem...

Edited 1 time(s). Last edit at 12/16/2017 07:49AM by RFZ.
Sorry, only registered users may post in this forum.

Click here to login