[users] LedgerSMB Docker image doens't start /compile
Hallo I installed Docker Toolbox on Windows <https://docs.docker.com/toolbox/toolbox_install_windows/> and trying to run the Docker imager but if fails to start. I can run postgres and nginx <https://docs.docker.com/docker-for-windows/#explore-the-application-and-run-examples> but LedgerSMB fails with: maybe: /usr/lib/perl5 Selected PERL5LIB=/usr/lib/perl5 mkdir: cannot create directory '/tmp/ledgersmb': File exists Error while loading /srv/ledgersmb/tools/starman.psgi: ============================================================================== == Running a Web Service as root is a security problem == If you are starting LedgerSMB as a system service == please make sure that you drop privlidges as per README.md == and the example files in conf/ == This makes it difficult to run on a privlidged port (<1024) == In theory you can pass the --user argument to starman, == However starman drops privlidges too late, starting us as root. ============================================================================== at /srv/ledgersmb/tools/../lib/LedgerSMB/Sysconfig.pm line 469. Compilation failed in require at /srv/ledgersmb/tools/../lib/LedgerSMB/App_State.pm line 9. BEGIN failed--compilation aborted at /srv/ledgersmb/tools/../lib/LedgerSMB/App_State.pm line 9. Compilation failed in require at /srv/ledgersmb/tools/../lib/LedgerSMB/Setting.pm line 58. BEGIN failed--compilation aborted at /srv/ledgersmb/tools/../lib/LedgerSMB/Setting.pm line 58. Compilation failed in require at /srv/ledgersmb/tools/../lib/LedgerSMB/PGNumber.pm line 15. BEGIN failed--compilation aborted at /srv/ledgersmb/tools/../lib/LedgerSMB/PGNumber.pm line 15. Compilation failed in require at /srv/ledgersmb/tools/../lib/LedgerSMB.pm line 149. BEGIN failed--compilation aborted at /srv/ledgersmb/tools/../lib/LedgerSMB.pm line 149. Compilation failed in require at /srv/ledgersmb/tools/../lib/LedgerSMB/PSGI.pm line 19. BEGIN failed--compilation aborted at /srv/ledgersmb/tools/../lib/LedgerSMB/PSGI.pm line 19. Compilation failed in require at /srv/ledgersmb/tools/starman.psgi line 13. BEGIN failed--compilation aborted at /srv/ledgersmb/tools/starman.psgi line 13. smtp configured. -------------------------------------------------------------------------------- Docker configuration: docker --version Docker version 17.06.0-ce, build 02c1d87 docker-compose --version docker-compose version 1.14.0, build c7bdf9e3 docker-machine --version docker-machine.exe version 0.12.0, build 45c69ad docker-machine ls NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS default * virtualbox Running tcp://192.168.99.100:2376 v17.06.0-ce
participants (1)
-
Stefan Mueller