appserver
appserver copied to clipboard
[appserver-io-dist/debian] apt-get install -y appserver-dist has return code 1
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.
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
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.
@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