Repetier Server 1.0.1 can not be installed on Mac Os 11.1 Big Sur

Here is the install.log entry from installation of 1.01

2021-01-12 07:15:22+01 usernames-Mac-mini installd[700]: PackageKit: ----- Begin install -----

2021-01-12 07:15:22+01 usernames-Mac-mini installd[700]: PackageKit: request=PKInstallRequest <1 packages, destination=/>

2021-01-12 07:15:22+01 usernames-Mac-mini installd[700]: PackageKit: packages=(

            "<null>"

        )

2021-01-12 07:15:22+01 usernames-Mac-mini installd[700]: PackageKit: Set reponsibility for install to 968

2021-01-12 07:15:23+01 usernames-Mac-mini installd[700]: PackageKit: Extracting file:///Users/username/Downloads/RepetierServer-1.0.1%20(2).pkg#serverInstaller.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/08289861-7755-4B4A-A200-BB09B82CB76E.activeSandbox/Root/usr/local/Repetier-Server, uid=0)

2021-01-12 07:15:27+01 usernames-Mac-mini installd[700]: PackageKit: prevent user idle system sleep

2021-01-12 07:15:27+01 usernames-Mac-mini installd[700]: PackageKit: suspending backupd

2021-01-12 07:15:28+01 usernames-Mac-mini installd[700]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/08289861-7755-4B4A-A200-BB09B82CB76E.sandboxTrash for sandbox /Library/InstallerSandboxes/.PKInstallSandboxManager/08289861-7755-4B4A-A200-BB09B82CB76E.activeSandbox

2021-01-12 07:15:28+01 usernames-Mac-mini install_monitor[973]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr

2021-01-12 07:15:28+01 usernames-Mac-mini installd[700]: PackageKit: Shoving /Library/InstallerSandboxes/.PKInstallSandboxManager/08289861-7755-4B4A-A200-BB09B82CB76E.activeSandbox/Root (1 items) to /

2021-01-12 07:15:30+01 usernames-Mac-mini installd[700]: PackageKit (package_script_service): Preparing to execute script "./postinstall" in /private/tmp/PKInstallSandbox.sQtmJx/Scripts/com.hot-world.RepetierServer.pkg.mL9SuA

2021-01-12 07:15:30+01 usernames-Mac-mini package_script_service[976]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.sQtmJx/Scripts/com.hot-world.RepetierServer.pkg.mL9SuA

2021-01-12 07:15:30+01 usernames-Mac-mini package_script_service[976]: Set responsibility to pid: 968, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer

2021-01-12 07:15:31+01 usernames-Mac-mini package_script_service[976]: ./postinstall: <main> attribute status: eDSRecordAlreadyExists

2021-01-12 07:15:31+01 usernames-Mac-mini package_script_service[976]: ./postinstall: <dscl_cmd> DS Error: -14135 (eDSRecordAlreadyExists)

2021-01-12 07:15:31+01 usernames-Mac-mini package_script_service[976]: Responsibility set back to self.

2021-01-12 07:15:31+01 usernames-Mac-mini install_monitor[973]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr

2021-01-12 07:15:31+01 usernames-Mac-mini installd[700]: PackageKit: releasing backupd

2021-01-12 07:15:31+01 usernames-Mac-mini installd[700]: PackageKit: allow user idle system sleep

2021-01-12 07:15:31+01 usernames-Mac-mini installd[700]: PackageKit: Cleared responsibility for install from 968.

2021-01-12 07:15:32+01 usernames-Mac-mini installd[700]: PackageKit: Cleared permissions on Installer.app

2021-01-12 07:15:32+01 usernames-Mac-mini installd[700]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "Beim Ausführen der Skripts aus dem Paket „RepetierServer-1.0.1 (2).pkg“ ist ein Fehler aufgetreten." UserInfo={NSFilePath=./postinstall, NSURL=file:///Users/username/Downloads/RepetierServer-1.0.1%20(2).pkg#serverInstaller.pkg, PKInstallPackageIdentifier=com.hot-world.RepetierServer.pkg, NSLocalizedDescription=Beim Ausführen der Skripts aus dem Paket „RepetierServer-1.0.1 (2).pkg“ ist ein Fehler aufgetreten.} {

            NSFilePath = "./postinstall";

            NSLocalizedDescription = "Beim Ausf\U00fchren der Skripts aus dem Paket \U201eRepetierServer-1.0.1 (2).pkg\U201c ist ein Fehler aufgetreten.";

            NSURL = "file:///Users/username/Downloads/RepetierServer-1.0.1%20(2).pkg#serverInstaller.pkg";

            PKInstallPackageIdentifier = "com.hot-world.RepetierServer.pkg";

        }

2021-01-12 07:15:32+01 usernames-Mac-mini installd[700]: PackageKit: Running idle tasks

2021-01-12 07:15:32+01 usernames-Mac-mini Installer[968]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "Beim Ausführen der Skripts aus dem Paket „RepetierServer-1.0.1 (2).pkg“ ist ein Fehler aufgetreten." UserInfo={NSFilePath=./postinstall, NSURL=file:///Users/username/Downloads/RepetierServer-1.0.1%20(2).pkg#serverInstaller.pkg, PKInstallPackageIdentifier=com.hot-world.RepetierServer.pkg, NSLocalizedDescription=Beim Ausführen der Skripts aus dem Paket „RepetierServer-1.0.1 (2).pkg“ ist ein Fehler aufgetreten.}

2021-01-12 07:15:32+01 usernames-Mac-mini installd[700]: PackageKit: Removing client PKInstallDaemonClient pid=968, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)

2021-01-12 07:15:32+01 usernames-Mac-mini installd[700]: PackageKit: Done with sandbox removals

2021-01-12 07:15:32+01 usernames-Mac-mini Installer[968]: Install failed: Die Installation ist aufgrund eines Fehlers fehlgeschlagen. Wende dich an den Hersteller der Software.

2021-01-12 07:15:32+01 usernames-Mac-mini Installer[968]: IFDInstallController 5CC277E0 state = 8

2021-01-12 07:15:32+01 usernames-Mac-mini Installer[968]: Displaying 'Install Failed' UI.

2021-01-12 07:15:32+01 usernames-Mac-mini Installer[968]: 'Install Failed' UI displayed message:'Die Installation ist aufgrund eines Fehlers fehlgeschlagen. Wende dich an den Hersteller der Software.'.

Comments

  • It is actually even developed on BigSur 11.1 and for me it is working fine. Just reinstalled it on another BigSur machine. So in general it should be working.

    Do you already have an old version installed? It might be that the installer fails to stop the old version. In that case kill the running instance in task manager manually and then run the installer. Or run it directly after rebooting.
  • I didnt have an old installation, i have installed it for the first time yesterday and it was not working.
    What can i do now?
  • edited January 2021
    Frresh installation of BigSur and the problem still exists. I wanted to buy the full version of repetier server but i cant use it :-(
  • Does the folder /usr/local/Repetier-Server still exist and contain files?
    My problem is that I see postinstall fail but no hint what fails.

    This is the content of postinstall:

    #!/usr/bin/env sh
    set -e

            user="repetierserver"
            group="repetierserver"

            dscl=/usr/bin/dscl
            $dscl . -read "/Users/${user}" &> /dev/null || {
            # We need to find a free UID/GID
            uid=200
            while $($dscl . -list /Users uid | grep -q "\b${uid}$") || \
            $($dscl . -list /Users gid | grep -q "\b${uid}$"); do
            uid=$((${uid} + 1))
            done
            $dscl . -create /Groups/${group}
            $dscl . -create /Groups/${group} PrimaryGroupID ${uid}
            $dscl . -create /Groups/${group} Password "*"
            $dscl . -create /Groups/${group} RealName "Repetier-Server privilege separation group"
            $dscl . -create /Users/${user}
            $dscl . -create /Users/${user} UserShell /usr/bin/false
            $dscl . -create /Users/${user} NFSHomeDirectory /var/empty
            $dscl . -create /Users/${user} PrimaryGroupID ${uid}
            $dscl . -create /Users/${user} UniqueID ${uid}
            $dscl . -create /Users/${user} Password "*"
            $dscl . -create /Users/${user} RealName "Repetier-Server privilege separation user"
            }

            # Server postinstall script to install daemon
    chmod 755 /usr/local/Repetier-Server/bin/installLaunchd.sh
    chmod 755 /usr/local/Repetier-Server/bin/uninstallLaunchd.sh
    rm -f /usr/local/Repetier-Server/bin/libiconv.2.dylib
    cp /usr/local/Repetier-Server/etc/com.repetier-server.RepetierServer.plist /Library/LaunchDaemons
    chown root /Library/LaunchDaemons/com.repetier-server.RepetierServer.plist
    launchctl unload /Library/LaunchDaemons/com.repetier-server.RepetierServer.plist
    chmod 644 /Library/LaunchDaemons/com.repetier-server.RepetierServer.plist
    mkdir -p "/Library/Application Support/Repetier-Server/"
    chown repetierserver "/Library/Application Support/Repetier-Server/"
    launchctl load /Library/LaunchDaemons/com.repetier-server.RepetierServer.plist
    # Open Server
    sleep 10
    exit 0

    When the directory is not empty create a file postinstall somewhere and run
    sudo sh ./postinstall
    in that directory. Then it might be clear what theproblem is, e.g. some permission problem accessing some folders. With mac that is is the first hint, but my installations are old so I might have no problems with this but with a new BigSur you have. I just removed all my allowances for server binaries of server I had and reinstalled but still working. So must be something you do not have and I do not see. So hope the files are there so running the package script manually shows what causes the installer to fail.
  • yes the folder is still there and i get this outpout:

    <main> attribute status: eDSRecordAlreadyExists

    <dscl_cmd> DS Error: -14135 (eDSRecordAlreadyExists)

  • Ok, that was a hard one. Had to create a virtual  Big Sur with new installation to reproduce. As it showed it was a problem with user and group creation in postinstall. I have just updated the 1.0.2 installer for mac which now works also on bigsur as expected. Thanks for pointing me to that problem. Only worked for me because I already had that user.
  • Ok great I will test it tomorrow!
  • Working great, big thanks ;)
Sign In or Register to comment.