My site, highgravityconsulting.com, is getting a 502 error. This site has been up and running for a couple years and other than system upgrades (I have them set to occur automatically), I haven’t touched it. No config settings changes at all and suddenly, its just not working.
When I go into my ghost directory and try to manually start ghost, I get this error:
ERROR: Cannot find module 'lodash/object/assign'
Error: Cannot find module 'lodash/object/assign'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/var/www/ghost/node_modules/knex/lib/raw.js:8:14)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/var/www/ghost/node_modules/knex/lib/index.js:3:11)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/var/www/ghost/node_modules/knex/knex.js:8:18)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
I tried to reinstall lodash but get the same problem. Anyone have suggestions?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Boom! Figured it out. Looks like the last upgrade of Ghost I did bombed and I completely missed it. Blew it all away and started from scratch (minus my data), doing an install from zip, and it works again.
This comment has been deleted