Mirth Connect
  1. Mirth Connect
  2. MIRTH-3126

Server manager cannot save properties files when the OSX installer is used

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.3, 3.0.1
    • Fix Version/s: 3.10.0
    • Component/s: Installer, Server Manager
    • Labels:
      None

      Description

      The mcmanager file is an OSX .app file when the OSX installer is used, instead of being an executable unix script file like the contents of the tar.gz. If the manager is opened after installing it does not have write access to save the properties file.

      A temporary workaround is to start the manager with one of the following two commands

      sudo java -jar mirth-manager.launcher.jar

      OR

      sudo mcmanager.app/Contents/MacOS/JavaApplicationStub

      1. Error1.png
        52 kB
      2. Error2.png
        46 kB

        Activity

        Hide
        Minh Tran added a comment -

        WORKAROUND to initiate Server Manager

        Minhs-Mac:Mirth Connect vOSX$ ls -l
        total 296
        drwxr-xr-x   3 root  admin    102 Dec  4 15:44 Mirth Connect Uninstaller.app
        drwxr-xr-x   7 root  admin    238 Dec  4 15:45 appdata
        drwxr-xr-x  27 root  admin    918 Dec  4 15:44 cli-lib
        drwxr-xr-x  46 root  admin   1564 Dec  4 15:44 client-lib
        drwxr-xr-x   7 root  admin    238 Dec  4 15:44 conf
        drwxr-xr-x   2 root  admin     68 Jun  3  2015 custom-lib
        drwxr-xr-x   6 root  admin    204 Dec  4 15:44 docs
        drwxr-xr-x  41 root  admin   1394 Dec  4 16:15 extensions
        drwxr-xr-x   3 root  admin    102 Dec  4 15:44 logs
        drwxr-xr-x  20 root  admin    680 Dec  4 15:44 manager-lib
        -rwxr-xr-x   1 root  admin  11014 Jun  3  2015 mccommand
        -rwxr-xr-x   1 root  admin     32 Jun  3  2015 mccommand.command
        drwxr-xr-x   3 root  admin    102 Dec  4 15:44 mcmanager.app
        -rwxr-xr-x   1 root  admin  11020 Jun  3  2015 mcserver
        -rwxr-xr-x   1 root  admin     31 Jun  3  2015 mcserver.command
        -rw-r--r--   1 root  admin     42 Jun  3  2015 mcserver.vmoptions
        -rwxr-xr-x   1 root  admin  13407 Jun  3  2015 mcservice
        -rw-r--r--   1 root  admin     42 Jun  3  2015 mcservice.vmoptions
        -rw-r--r--   1 root  admin   5423 Jun  3  2015 mirth-cli-launcher.jar
        -rw-r--r--   1 root  admin  69097 Jun  3  2015 mirth-manager-launcher.jar
        -rw-r--r--   1 root  admin   8437 Jun  3  2015 mirth-server-launcher.jar
        -rw-r--r--   1 root  admin    672 Dec  4 15:44 preferences
        drwxr-xr-x   6 root  admin    204 Dec  4 15:44 public_html
        drwxr-xr-x  39 root  admin   1326 Dec  4 15:44 server-lib
        drwxr-xr-x   3 root  admin    102 Dec  4 15:44 webapps
        Minhs-Mac:Mirth Connect vOSX$ sudo java -jar mirth-manager-launcher.jar
        WARNING: GL pipe is running in software mode (Renderer ID=0x1020400)
        sh: /Library/StartupItems/Mirth Connect Service/Mirth Connect Service: No such file or directory
        Show
        Minh Tran added a comment - WORKAROUND to initiate Server Manager Minhs-Mac:Mirth Connect vOSX$ ls -l total 296 drwxr-xr-x 3 root admin 102 Dec 4 15:44 Mirth Connect Uninstaller.app drwxr-xr-x 7 root admin 238 Dec 4 15:45 appdata drwxr-xr-x 27 root admin 918 Dec 4 15:44 cli-lib drwxr-xr-x 46 root admin 1564 Dec 4 15:44 client-lib drwxr-xr-x 7 root admin 238 Dec 4 15:44 conf drwxr-xr-x 2 root admin 68 Jun 3 2015 custom-lib drwxr-xr-x 6 root admin 204 Dec 4 15:44 docs drwxr-xr-x 41 root admin 1394 Dec 4 16:15 extensions drwxr-xr-x 3 root admin 102 Dec 4 15:44 logs drwxr-xr-x 20 root admin 680 Dec 4 15:44 manager-lib -rwxr-xr-x 1 root admin 11014 Jun 3 2015 mccommand -rwxr-xr-x 1 root admin 32 Jun 3 2015 mccommand.command drwxr-xr-x 3 root admin 102 Dec 4 15:44 mcmanager.app -rwxr-xr-x 1 root admin 11020 Jun 3 2015 mcserver -rwxr-xr-x 1 root admin 31 Jun 3 2015 mcserver.command -rw-r--r-- 1 root admin 42 Jun 3 2015 mcserver.vmoptions -rwxr-xr-x 1 root admin 13407 Jun 3 2015 mcservice -rw-r--r-- 1 root admin 42 Jun 3 2015 mcservice.vmoptions -rw-r--r-- 1 root admin 5423 Jun 3 2015 mirth-cli-launcher.jar -rw-r--r-- 1 root admin 69097 Jun 3 2015 mirth-manager-launcher.jar -rw-r--r-- 1 root admin 8437 Jun 3 2015 mirth-server-launcher.jar -rw-r--r-- 1 root admin 672 Dec 4 15:44 preferences drwxr-xr-x 6 root admin 204 Dec 4 15:44 public_html drwxr-xr-x 39 root admin 1326 Dec 4 15:44 server-lib drwxr-xr-x 3 root admin 102 Dec 4 15:44 webapps Minhs-Mac:Mirth Connect vOSX$ sudo java -jar mirth-manager-launcher.jar WARNING: GL pipe is running in software mode (Renderer ID=0x1020400) sh: /Library/StartupItems/Mirth Connect Service/Mirth Connect Service: No such file or directory
        Hide
        Christopher Schultz added a comment -

        Please recommend against running any service as root. Running "sudo [java service]" is just a really bad idea.

        Show
        Christopher Schultz added a comment - Please recommend against running any service as root. Running "sudo [java service] " is just a really bad idea.

          People

          • Assignee:
            Unassigned
            Reporter:
            Wayne Huang (Inactive)
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: