Can't install klipper via repetier-server interface

Hiya

I'm running repetier-server on an old intel nuc with linux mint and repetier-server, as I live in a sulfur area raspberry pi's keep corrupting sd cards due to undervoltage(even the best/original raspi usb power adapters do this here due to copper/brass turning black and creating resistance in crappy micro-usb ports) so I had to use a cheap nuc

it works well, but I have an older ramps board printer I wanted to run with klipper

down side every time I try to install klipper via the interface it asks me for a sudo password(which I can't type in anyway) for the user repetierserver

any way to get around that or find out why its doing it?

Comments

  • edited September 16
    Edit: reinstalled repetier-server with fresh ubuntu latest desktop LTS version and it worked and klipper installed and allowed me to upload firmware etc...for awhile right up untill I installed a webcam

    after I followed the webcam setup instructions from Here it started asking me for a sudo password for the user repetierserver (a no login account that isn't sudo)
  • edited September 16
    Next edit.

    somehow the file at /etc/sudoers.d/repetierserver-perms gets messed up when installing something webcam related

    added the following lines to /etc/sudoers.d/repetierserver-perms fixes the issue

    repetierserver ALL=NOPASSWD: /usr/local/Repetier-Server/bin/uninstallKlipper
    repetierserver ALL=NOPASSWD: /usr/local/Repetier-Server/bin/installKlipper


  • Exactly what postinst installes when wou install server:
      if ! [ -f /etc/sudoers.d/repetierserver-perms ] || ! grep -q "/usr/local/Repetier-Server/bin/installKlipper" /etc/sudoers.d/repetierserver-perms; then    echo "repetierserver ALL=NOPASSWD: /usr/local/Repetier-Server/bin/installKlipper" >>/etc/sudoers.d/repetierserver-perms    echo "repetierserver ALL=NOPASSWD: /usr/local/Repetier-Server/bin/uninstallKlipper" >>/etc/sudoers.d/repetierserver-perms    echo "repetierserver ALL=NOPASSWD: /usr/local/Repetier-Server/bin/restartKlipper" >>/etc/sudoers.d/repetierserver-perms  fi
    Do you also have restartKlipper added?

    How did you install the webcam stuff you refer to? Image should have it already installed, so that should not cause this file to loose some lines.
Sign In or Register to comment.