Created
June 27, 2015 00:52
-
-
Save ArcTanSusan/c5d47723e3b30c86a77a to your computer and use it in GitHub Desktop.
sandstorm localdev setup ERROR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@localhost:/vagrant/shell# ./run-dev.sh | |
make: Nothing to be done for `shell-env'. | |
Please change your Sandstorm installation to be owned by your own user | |
account. E.g. run as root: | |
/opt/sandstorm/sandstorm stop | |
find /opt/sandstorm/var -user sandstorm -exec chown -h root {} + | |
find /opt/sandstorm/var -group sandstorm -exec chgrp -h root {} + | |
sed -i -e 's/^SERVER_USER=.*$/SERVER_USER=root/g' \ | |
/opt/sandstorm/sandstorm.conf | |
/opt/sandstorm/sandstorm start | |
root@localhost:/vagrant/shell# /opt/sandstorm/sandstorm stop | |
Waiting for PID 2025 to terminate... | |
Sandstorm server stopped. | |
root@localhost:/vagrant/shell# find /opt/sandstorm/var -user sandstorm -exec chown -h root {} + | |
root@localhost:/vagrant/shell# find /opt/sandstorm/var -group sandstorm -exec chgrp -h root {} + | |
root@localhost:/vagrant/shell# sed -i -e 's/^SERVER_USER=.*$/SERVER_USER=root/g' \ | |
> /opt/sandstorm/sandstorm.conf | |
root@localhost:/vagrant/shell# /opt/sandstorm/sandstorm start | |
*** Uncaught exception *** | |
sandstorm/run-bundle.c++:1378: failed: expected config.uids.uid != 0; Sandstorm cannot run as root. | |
stack: 0x53663c 0x536609 0x5365fa 0x4d6141 0x4d6dc5 | |
root@localhost:/vagrant/shell# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment