-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd start crased #3113
Comments
BWT /opt/etherpad$ bin/run.sh |
@wojtas911 regarding the errors, it's probably because you're running a version of Etherpad that is not compatible with node v.7 (see #3074). Could you update to v. 1.6.1, please? About the warnings, they are normal. There are other issues opened to fix them (ex: #2954) |
@lpagliari I will do upgrade right away. |
Hi,
uname -a
Linux 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
npm -v
4.0.5
node -v
v7.2.1
cat /etc/systemd/system/etherpad-lite.service
[Unit]
Description=etherpad-lite (real-time collaborative document editing)
After=syslog.target network.target
[Service]
Type=simple
User=etherpad
Group=etherpad
ExecStart=/opt/etherpad/bin/run.sh
[Install]
WantedBy=multi-user.target
systemctl start etherpad-lite ; journalctl -f
sty 04 22:11:44 server systemd[1]: Started etherpad-lite (real-time collaborative document editing).
sty 04 22:11:44 server run.sh[20350]: Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient.
sty 04 22:11:49 server run.sh[20350]: Ensure jQuery is downloaded and up to date...
sty 04 22:11:49 server run.sh[20350]: Clearing minified cache...
sty 04 22:11:49 server run.sh[20350]: Ensure custom css/js files are created...
sty 04 22:11:49 server run.sh[20350]: Started Etherpad...
sty 04 22:11:50 server run.sh[20350]: module.js:472
sty 04 22:11:50 server run.sh[20350]: throw err;
sty 04 22:11:50 server run.sh[20350]: ^
sty 04 22:11:50 server run.sh[20350]: Error: Cannot find module 'internal/fs'
sty 04 22:11:50 server run.sh[20350]: at Function.Module._resolveFilename (module.js:470:15)
sty 04 22:11:50 server run.sh[20350]: at Function.Module._load (module.js:418:25)
sty 04 22:11:50 server run.sh[20350]: at Module.require (module.js:498:17)
sty 04 22:11:50 server run.sh[20350]: at require (internal/module.js:20:19)
sty 04 22:11:50 server run.sh[20350]: at evalmachine.:17:20
sty 04 22:11:50 server run.sh[20350]: at Object. (/opt/etherpad/src/node_modules/npm/node_modules/graceful-fs/fs.js:11:1)
sty 04 22:11:50 server run.sh[20350]: at Module._compile (module.js:571:32)
sty 04 22:11:50 server run.sh[20350]: at Object.Module._extensions..js (module.js:580:10)
sty 04 22:11:50 server run.sh[20350]: at Module.load (module.js:488:32)
sty 04 22:11:50 server run.sh[20350]: at tryModuleLoad (module.js:447:12)
sty 04 22:11:50 server systemd[1]: etherpad-lite.service: Main process exited, code=exited, status=1/FAILURE
sty 04 22:11:50 server systemd[1]: etherpad-lite.service: Unit entered failed state.
sty 04 22:11:50 server systemd[1]: etherpad-lite.service: Failed with result 'exit-code'.
But when i try to run by run scrip as user etherpad
everything is working fine.
The text was updated successfully, but these errors were encountered: