Recovering Internal Apps or Services
If you upgraded your SmartServer IoT and lost Internal Apps or Services because the files were overwritten during the upgrade process, perform the following steps to recover your files.
- Connect to the SmartServer IoT.
Go to the pointmonitor.conf file and remove the entry that specifies the location of the Internal Apps or Services, shown in the third line below that begins with command=node.
pointmonitor.conf;pointmonitor [program:pointmonitor] command=node /var/apollo/data/apps/point-monitor/pointmonitor.js priority=500 autostart=true startsecs=10 autorestart=unexpected exitcodes=0 stopsignal=TERM user=apollo stdout_logfile=/var/log/supervisor/stdout-pointmonitor.log stderr_logfile=/var/log/supervisor/stderr-pointmonitor.log stdout_logfile_backups=2 stdout_logfile_maxbyte=1MB stderr_logfile_backups=3 stderr_logfile_maxbyte=1MB
- Save the file.
- Reboot the SmartServer.
- Place the Internal Apps or services somewhere under the /var/apollo directory (such as /var/apollo/data/apps).
- Save the file.
- Reboot the SmartServer.