You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This one took me a lot of time to figure out, maybe we could make a change so that a new system can be brought up more easily. Because etc/init.d/traveler-mongo-express uses "pm2 restart" instead of "pm2 start" in handling the "start" option, it fails the first time it is used, and pm2 must be used manually to start the mongo express service. The script then works on subsequent executions. This should either be changed to use "pm2 start", or at least print a giant warning message that there is a special case for the first script invocation, and print the command line to run pm2 manually.
The text was updated successfully, but these errors were encountered:
I see that there is a "startOrRestart" command for pm2, this would probably be better than just "restart" because that fails after the system is rebooted.
This one took me a lot of time to figure out, maybe we could make a change so that a new system can be brought up more easily. Because etc/init.d/traveler-mongo-express uses "pm2 restart" instead of "pm2 start" in handling the "start" option, it fails the first time it is used, and pm2 must be used manually to start the mongo express service. The script then works on subsequent executions. This should either be changed to use "pm2 start", or at least print a giant warning message that there is a special case for the first script invocation, and print the command line to run pm2 manually.
The text was updated successfully, but these errors were encountered: