Read the statement by Michael Teeuw here.
new update/upgrade script, ready for testing
- 
 no longer, I removed raspbian, and put it all over again … 
- 
 I think the problem was not in your script, but in my system 
- 
 I will reinstall now and let you know 
- 
 the mirror did not start, although for the first time it started immediately … 
- 
 @bobwilliams Post the install.log 
 And the pm2.logor send to me 
- 
 @bobwilliams Not sure what u said. 
- 
 @sdetweil unfortunately I can’t. in the morning, raspberry did not turn on 
- 
 @sdetweil a month ago when I installed the mirror according to your script, everything worked right away. but did not start yesterday. 
- 
 @bobwilliams Ok. Send me the log if u get a chance. Thx 
- 
 @sdetweil I did run this the other day when I was having an issue with node_helper not found. It didn’t fix that, but another message you posted did. The upgrade worked fine, but may be worth adding that git checkout of the node_helper index file to the script as a quick fix. 

