[0.80.0] Can't connect to any of my Printer after Upgrade

edited October 2016 in Bug Reports
Hello, I have Repetier Server installed on a Linux-Server running Ubuntu 16. I installed the Server with the Version 0.75 and after upgrading to 0.80, the Server says that all my Printers are offline. I tried un- and re-plugging them but it didn't helped. And under the Printersettings, the Server says that he sees all the Ports, but he still says there are offline.

Comments

  • Already tried reboot? Just in case someone else is using same port.

    What exactly is happening? Color of printer block in dashboard? Does it change? Do printers reset? Can you activate printer if it is grey?

  • Yes I rebooted the system. The color of the printer block is red, i didn't deactivated them. If i deactivate and activate them, they do not reset.
  • What does






    tail -200 /var/lib/Repetier-Server/logs/server.log

    return?

  • 2016-10-26 17:37:09: Stopping printer threads.
    2016-10-26 17:37:09: Printer thread for K8400 stopped
    2016-10-26 17:37:09: Printer thread for Kossel stopped
    2016-10-26 17:37:09: Printer thread for Freesculpt1 stopped
    2016-10-26 17:37:09: Closing user database.
    2016-10-26 17:37:09: Server is now down.
    2016-10-26 17:37:56: Start logging...
    2016-10-26 17:37:56: Webdirectory: /usr/local/Repetier-Server/www/
    2016-10-26 17:37:56: Storage directory: /var/lib/Repetier-Server/
    2016-10-26 17:37:56: Configuration file: /usr/local/Repetier-Server/etc/RepetierServer.xml
    2016-10-26 17:37:56: Directory for temporary files: /tmp/
    2016-10-26 17:37:56: Reading firmware data ...
    2016-10-26 17:37:56: Starting Network ...
    2016-10-26 17:37:56: Active features:4095
    2016-10-26 17:37:56: Reading printer configurations ...
    2016-10-26 17:37:56: Reading printer config /var/lib/Repetier-Server/configs/K8400.xml
    2016-10-26 17:37:56: Starting printjob manager thread for K8400
    2016-10-26 17:37:56: Reading printer config /var/lib/Repetier-Server/configs/Kossel.xml
    2016-10-26 17:37:56: Starting printjob manager thread for Kossel
    2016-10-26 17:37:56: Reading printer config /var/lib/Repetier-Server/configs/Freesculpt1.xml
    2016-10-26 17:37:56: Starting printjob manager thread for Freesculpt1
    2016-10-26 17:37:56: Starting printer threads ...
    2016-10-26 17:37:56: Starting printer thread for K8400
    2016-10-26 17:37:56: Starting work dispatcher subsystem ...
    2016-10-26 17:37:56: Starting user database ...
    2016-10-26 17:37:56: Initalizing LUA ...
    2016-10-26 17:37:56: Starting printer thread for Freesculpt1
    2016-10-26 17:37:56: Starting printer thread for Kossel
    2016-10-26 17:37:56: Register LUA cloud services
    2016-10-26 17:37:56: add Repetier-Renderer
    2016-10-26 17:37:56: LUA initalization finished.
    2016-10-26 17:37:56: Starting web server ...
    2016-10-26 17:37:56: Work dispatcher thread started.
    2016-10-26 17:37:56: Webserver started.
    2016-10-26 17:49:27: Shutting down web server.
    2016-10-26 17:49:28: Closing server
    2016-10-26 17:49:28: Stopping work dispatcher.
    2016-10-26 17:49:28: Work dispatcher thread stopped.
    2016-10-26 17:49:28: Waiting for all threads to finish ...
    2016-10-26 17:49:28: Worker threads finsihed.
    2016-10-26 17:49:28: Stopping printer threads.
    2016-10-26 17:49:28: Printer thread for K8400 stopped
    2016-10-26 17:49:28: Printer thread for Kossel stopped
    2016-10-26 17:49:28: Printer thread for Freesculpt1 stopped
    2016-10-26 17:49:28: Closing user database.
    2016-10-26 17:49:28: Server is now down.
    2016-10-26 17:49:28: Start logging...
    2016-10-26 17:49:28: Webdirectory: /usr/local/Repetier-Server/www/
    2016-10-26 17:49:28: Storage directory: /var/lib/Repetier-Server/
    2016-10-26 17:49:28: Configuration file: /usr/local/Repetier-Server/etc/RepetierServer.xml
    2016-10-26 17:49:28: Directory for temporary files: /tmp/
    2016-10-26 17:49:28: Reading firmware data ...
    2016-10-26 17:49:28: Starting Network ...
    2016-10-26 17:49:28: Active features:4095
    2016-10-26 17:49:28: Reading printer configurations ...
    2016-10-26 17:49:28: Reading printer config /var/lib/Repetier-Server/configs/K8400.xml
    2016-10-26 17:49:28: Starting printjob manager thread for K8400
    2016-10-26 17:49:28: Reading printer config /var/lib/Repetier-Server/configs/Kossel.xml
    2016-10-26 17:49:28: Starting printjob manager thread for Kossel
    2016-10-26 17:49:28: Reading printer config /var/lib/Repetier-Server/configs/Freesculpt1.xml
    2016-10-26 17:49:28: Starting printjob manager thread for Freesculpt1
    2016-10-26 17:49:28: Starting printer threads ...
    2016-10-26 17:49:28: Starting printer thread for K8400
    2016-10-26 17:49:28: Starting printer thread for Kossel
    2016-10-26 17:49:28: Starting work dispatcher subsystem ...
    2016-10-26 17:49:28: Starting printer thread for Freesculpt1
    2016-10-26 17:49:28: Starting user database ...
    2016-10-26 17:49:28: Initalizing LUA ...
    2016-10-26 17:49:28: Register LUA cloud services
    2016-10-26 17:49:28: add Repetier-Renderer
    2016-10-26 17:49:28: LUA initalization finished.
    2016-10-26 17:49:28: Starting web server ...
    2016-10-26 17:49:28: Work dispatcher thread started.
    2016-10-26 17:49:28: Webserver started.
    2016-10-26 17:49:47: Shutting down web server.
    2016-10-26 17:49:47: Closing server
    2016-10-26 17:49:47: Stopping work dispatcher.
    2016-10-26 17:49:47: Work dispatcher thread stopped.
    2016-10-26 17:49:47: Waiting for all threads to finish ...
    2016-10-26 17:49:47: Worker threads finsihed.
    2016-10-26 17:49:47: Stopping printer threads.
    2016-10-26 17:49:47: Printer thread for K8400 stopped
    2016-10-26 17:49:47: Printer thread for Kossel stopped
    2016-10-26 17:49:47: Printer thread for Freesculpt1 stopped
    2016-10-26 17:49:47: Closing user database.
    2016-10-26 17:49:47: Server is now down.
    2016-10-26 17:50:31: Start logging...
    2016-10-26 17:50:31: Webdirectory: /usr/local/Repetier-Server/www/
    2016-10-26 17:50:31: Storage directory: /var/lib/Repetier-Server/
    2016-10-26 17:50:31: Configuration file: /usr/local/Repetier-Server/etc/RepetierServer.xml
    2016-10-26 17:50:31: Directory for temporary files: /tmp/
    2016-10-26 17:50:31: Reading firmware data ...
    2016-10-26 17:50:31: Starting Network ...
    2016-10-26 17:50:31: Active features:4095
    2016-10-26 17:50:31: Reading printer configurations ...
    2016-10-26 17:50:31: Reading printer config /var/lib/Repetier-Server/configs/K8400.xml
    2016-10-26 17:50:31: Starting printjob manager thread for K8400
    2016-10-26 17:50:31: Reading printer config /var/lib/Repetier-Server/configs/Kossel.xml
    2016-10-26 17:50:31: Reading printer config /var/lib/Repetier-Server/configs/Freesculpt1.xml
    2016-10-26 17:50:31: Starting printjob manager thread for Kossel
    2016-10-26 17:50:31: Starting printjob manager thread for Freesculpt1
    2016-10-26 17:50:31: Starting printer threads ...
    2016-10-26 17:50:31: Starting printer thread for Freesculpt1
    2016-10-26 17:50:31: Starting work dispatcher subsystem ...
    2016-10-26 17:50:31: Starting user database ...
    2016-10-26 17:50:31: Initalizing LUA ...
    2016-10-26 17:50:31: Starting printer thread for Kossel
    2016-10-26 17:50:31: Starting printer thread for K8400
    2016-10-26 17:50:31: Register LUA cloud services
    2016-10-26 17:50:31: add Repetier-Renderer
    2016-10-26 17:50:31: LUA initalization finished.
    2016-10-26 17:50:31: Starting web server ...
    2016-10-26 17:50:31: Work dispatcher thread started.
    2016-10-26 17:50:31: Webserver started.
    2016-10-26 17:56:01: Printer thread for Kossel stopped
    2016-10-26 17:56:14: Starting printjob manager thread for Kossel
    2016-10-26 17:56:14: Starting printer thread for Kossel
    2016-10-26 18:03:24: Closing websocket for missing ping
    2016-10-26 18:08:34: Shutting down web server.
    2016-10-26 18:08:35: Closing server
    2016-10-26 18:08:35: Stopping work dispatcher.
    2016-10-26 18:08:35: Work dispatcher thread stopped.
    2016-10-26 18:08:35: Waiting for all threads to finish ...
    2016-10-26 18:08:35: Worker threads finsihed.
    2016-10-26 18:08:35: Stopping printer threads.
    2016-10-26 18:08:35: Printer thread for K8400 stopped
    2016-10-26 18:08:35: Printer thread for Freesculpt1 stopped
    2016-10-26 18:08:35: Printer thread for Kossel stopped
    2016-10-26 18:08:35: Closing user database.
    2016-10-26 18:08:35: Server is now down.
    2016-10-26 18:08:39: Start logging...
    2016-10-26 18:08:39: Webdirectory: /usr/local/Repetier-Server/www/
    2016-10-26 18:08:39: Storage directory: /var/lib/Repetier-Server/
    2016-10-26 18:08:39: Configuration file: /usr/local/Repetier-Server/etc/RepetierServer.xml
    2016-10-26 18:08:39: Directory for temporary files: /tmp/
    2016-10-26 18:08:39: Reading firmware data ...
    2016-10-26 18:08:39: Starting Network ...
    2016-10-26 18:08:39: Active features:4095
    2016-10-26 18:08:39: Reading printer configurations ...
    2016-10-26 18:08:39: Reading printer config /var/lib/Repetier-Server/configs/K8400.xml
    2016-10-26 18:08:39: Starting printjob manager thread for K8400
    2016-10-26 18:08:39: Reading printer config /var/lib/Repetier-Server/configs/Kossel.xml
    2016-10-26 18:08:39: Starting printjob manager thread for Kossel
    2016-10-26 18:08:39: Reading printer config /var/lib/Repetier-Server/configs/Freesculpt1.xml
    2016-10-26 18:08:39: Starting printjob manager thread for Freesculpt1
    2016-10-26 18:08:39: Starting printer threads ...
    2016-10-26 18:08:39: Starting printer thread for K8400
    2016-10-26 18:08:39: Starting printer thread for Kossel
    2016-10-26 18:08:39: Starting printer thread for Freesculpt1
    2016-10-26 18:08:39: Starting work dispatcher subsystem ...
    2016-10-26 18:08:39: Starting user database ...
    2016-10-26 18:08:39: Initalizing LUA ...
    2016-10-26 18:08:39: Register LUA cloud services
    2016-10-26 18:08:39: add Repetier-Renderer
    2016-10-26 18:08:39: LUA initalization finished.
    2016-10-26 18:08:39: Starting web server ...
    2016-10-26 18:08:39: Work dispatcher thread started.
    2016-10-26 18:08:39: Webserver started.
    2016-10-26 18:31:00: Shutting down web server.
    2016-10-26 18:31:01: Closing server
    2016-10-26 18:31:01: Stopping work dispatcher.
    2016-10-26 18:31:01: Work dispatcher thread stopped.
    2016-10-26 18:31:01: Waiting for all threads to finish ...
    2016-10-26 18:31:01: Worker threads finsihed.
    2016-10-26 18:31:01: Stopping printer threads.
    2016-10-26 18:31:01: Printer thread for K8400 stopped
    2016-10-26 18:31:01: Printer thread for Kossel stopped
    2016-10-26 18:31:01: Printer thread for Freesculpt1 stopped
    2016-10-26 18:31:01: Closing user database.
    2016-10-26 18:31:01: Server is now down.
    2016-10-26 18:31:45: Start logging...
    2016-10-26 18:31:45: Webdirectory: /usr/local/Repetier-Server/www/
    2016-10-26 18:31:45: Storage directory: /var/lib/Repetier-Server/
    2016-10-26 18:31:45: Configuration file: /usr/local/Repetier-Server/etc/RepetierServer.xml
    2016-10-26 18:31:45: Directory for temporary files: /tmp/
    2016-10-26 18:31:45: Reading firmware data ...
    2016-10-26 18:31:45: Starting Network ...
    2016-10-26 18:31:45: Active features:4095
    2016-10-26 18:31:45: Reading printer configurations ...
    2016-10-26 18:31:45: Reading printer config /var/lib/Repetier-Server/configs/K8400.xml
    2016-10-26 18:31:45: Starting printjob manager thread for K8400
    2016-10-26 18:31:45: Reading printer config /var/lib/Repetier-Server/configs/Kossel.xml
    2016-10-26 18:31:45: Starting printjob manager thread for Kossel
    2016-10-26 18:31:45: Reading printer config /var/lib/Repetier-Server/configs/Freesculpt1.xml
    2016-10-26 18:31:45: Starting printjob manager thread for Freesculpt1
    2016-10-26 18:31:45: Starting printer threads ...
    2016-10-26 18:31:45: Starting printer thread for K8400
    2016-10-26 18:31:45: Starting work dispatcher subsystem ...
    2016-10-26 18:31:45: Starting printer thread for Freesculpt1
    2016-10-26 18:31:45: Starting printer thread for Kossel
    2016-10-26 18:31:45: Starting user database ...
    2016-10-26 18:31:45: Initalizing LUA ...
    2016-10-26 18:31:45: Register LUA cloud services
    2016-10-26 18:31:45: add Repetier-Renderer
    2016-10-26 18:31:45: LUA initalization finished.
    2016-10-26 18:31:45: Starting web server ...
    2016-10-26 18:31:45: Webserver started.
    2016-10-26 18:31:45: Work dispatcher thread started.
    2016-10-26 18:48:09: Closing websocket for missing ping
    2016-10-26 18:48:32: Closing websocket for missing ping
  • On linux with 0.80 it should look like this:

    2016-10-22 08:42:25: Starting web server ... 
    2016-10-22 08:42:25: Work dispatcher thread started.
    2016-10-22 08:42:25: Webserver started.
    2016-10-22 12:13:31: Closing websocket for missing ping
    2016-10-22 12:24:26: Client closed connection unexpectedly
    2016-10-27 14:33:39: Starting printjob manager thread for Felix
    2016-10-27 14:33:39: Starting printer thread for Felix
    2016-10-27 14:33:44: error status = true reason:Try connect prepare - must be true!
    2016-10-27 14:33:44: error status = false reason:Try connect succeeded
    2016-10-27 14:33:44: Connection started:Felix
    2016-10-27 14:33:44: Reset printer Felix
    2016-10-27 14:33:51: error status = false reason:Close
    2016-10-27 14:33:51: Connection closed: Felix
    2016-10-27 14:33:51: error status = false reason:Close
    2016-10-27 14:33:52: error status = true reason:Try connect prepare - must be true!
    2016-10-27 14:33:52: error status = false reason:Try connect succeeded
    2016-10-27 14:33:52: Connection started:Felix
    2016-10-27 14:33:52: Reset printer Felix

    But I see no signs for even trying to connect. So I must assume it does not see your port names.

    You said they are visible in printer settings, but that can be misleading. The input field always shows last set value regardless if available or not. Only if you see it also in the port dropdown list it is really available and readable by server. Is that the case or did you only mean text field?
  • I have 3 Printers connected, and i see all three ports in the drop down list. And when I unplugge one it dissappears in the list, so the Server sees the ports.
  • Ok, I'm a bit lost what is going on here since it works for me and even you see the ports. Could you please test with virgin setup and add a printer and see if server then sees it? Would go as follows

    sudo su
    service RepetierServer stop
    cd /var/lib
    mv Repetier-Server Repetier-Server_old
    service RepetierServer start

    Then you have it like newly setup, but by renaming Repetier-Server_old back you can restore original any time.
    If it then works we know at least that some setting prevents connection. If that was the case you could pack the directory and send it for local testing, so I can find out what in your setup prevents it.
























  • After i rename the folder, the service doesn't start anymore, it gives me this error-message: Job for RepetierServer.service failed because the control process exited with error code. See "systemctl status RepetierServer.service" and "journalctl -xe" for details.

    But can't I just try reinstalling the complete Server, I dont have any Settings on it that are important, and from the profiles of my printer I already made a backup?

  • So what does 
    systemctl status RepetierServer.service
    show? Any additional info in server log?

    /var/lib/Repetier-Server is where server stores all settings and data and it is created on server start but not deleted on reinstall. After you have renamed it you can of course also try a reinstall.

    One other thing to test would be how much free disk space you have. I get the feeling that your disk might simply be full. Check with 
    df
    if your main disk is full (where /var/lib belongs to).

  • This is what  "systemctl status RepetierServer.service" shows

    ● RepetierServer.service - Repetier-Server 3D print server
       Loaded: loaded (/lib/systemd/system/RepetierServer.service; enabled; vendor preset: enabled)
       Active: inactive (dead) (Result: exit-code) since Fre 2016-10-28 15:05:54 CEST; 8s ago
      Process: 1706 ExecStart=/usr/local/Repetier-Server/bin/RepetierServer -c /usr/local/Repetier-Server/etc/RepetierServer.xml --daemon (code=exited, status=0/SUCCESS)
      Process: 1702 ExecStartPre=/bin/chown -R repetierserver /var/lib/Repetier-Server (code=exited, status=0/SUCCESS)
      Process: 3771 ExecStartPre=/bin/mkdir -p /var/lib/Repetier-Server (code=exited, status=1/FAILURE)
     Main PID: 1711 (code=exited, status=0/SUCCESS)

    Okt 28 15:05:54 PrintServer systemd[1]: Failed to start Repetier-Server 3D print server.
    Okt 28 15:05:54 PrintServer systemd[1]: RepetierServer.service: Unit entered failed state.
    Okt 28 15:05:54 PrintServer systemd[1]: RepetierServer.service: Failed with result 'exit-code'.
    Okt 28 15:05:54 PrintServer systemd[1]: RepetierServer.service: Service has no hold-off time, scheduling restart.
    Okt 28 15:05:54 PrintServer systemd[1]: Stopped Repetier-Server 3D print server.
    Okt 28 15:05:54 PrintServer systemd[1]: RepetierServer.service: Start request repeated too quickly.
    Okt 28 15:05:54 PrintServer systemd[1]: Failed to start Repetier-Server 3D print server.
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    ~
    lines 1-15/15 (END)

    And my maindisks isn't full, if i chech it with "df" it the highest usage is only 31%, so thats not the problem

  • Since that log says server dies, we now need to go back to server log and see where it dies. So please what is the new
    tail -200 /var/lib/Repetier-Server/logs/server.log

    response.
  • Now its working, this how I done it:

    First i removed the complete Server with:

    sudo apt-get purge repetier-server

    And then I installed directly the 0.80 Version, instead of upgrading with the integrated updater.

    Thanks for the help
Sign In or Register to comment.