appserver icon indicating copy to clipboard operation
appserver copied to clipboard

[appserver-io-dist/debian] apt-get install -y appserver-dist has return code 1

Open sippsolutions opened this issue 8 years ago • 3 comments

The command apt-get install -y appserver-dist exits with return code 1 instead of 0 (debian jessie) causing docker to fail creating the container.

sippsolutions avatar Jun 09 '16 13:06 sippsolutions

appserver has been installed via apt-get (the return code was ignored) but doesn't start up.

PHP Warning: require(/opt/appserver/var/scripts/bootstrap.php): failed to open stream: No such file or directory in /opt/appserver/server.php on line 59 PHP Fatal error: require(): Failed opening required '/opt/appserver/var/scripts/bootstrap.php' (include_path='.:/opt/appserver/lib/php/pear') in /opt/appserver/server.php on line 59

sippsolutions avatar Jun 09 '16 13:06 sippsolutions

Had also trouble installing appserver-dist on debian 8 (jessie). Tried the old package (for debian 7 wheezy) first, because of old links in the documentation. After removing the old package and using the new apt-get install appserver-dist gave me error 1 then. Solution was apt-get purge appserver-dist then delete the folder /opt/appserver manually and reinstall appserver-dist after that.

neoacix23 avatar Jun 19 '16 21:06 neoacix23

@sippsolutions: systemd is not started if you are using debian:jessie image. https://github.com/appserver-io-dist/debian/blob/master/src/8/dist/DEBIAN/postinst#L30

JSchlarb avatar Jun 25 '16 00:06 JSchlarb