16.04 to 18.04 Upgrade.
-
Hi All,
Please Help.
I have upgraded from Ubuntu 16.04 to 18.04 as the support will finish Jan 21.
Everything went well it seems but my "website:3000" will not display anymore??. Everything else like my normal web page and other bits, forum etc is OK.
When I CD the application and use PM2 stop, npm start and PM2 start I get no errors and it says the application is online. I just don't see the page? I restarted mogodb also. Anything else I should be doing?
Please if anyone can help It is much appreciated. Thank you :crossed_fingers:
Smiley.
I cannot upload any screenshots as keep getting invalid file format no matter what format I use.
-
Ok so the logs show shutting down with code:62
Which means: Returned by mongod if the datafiles in --dbpath are incompatible with the version of mongod currently running.
So I guess during upgrade to 18.04 then mongo also updated (even though i requested keep current configuration) and now cannot read the DB files..
Working on trying to find solution.
-
OK, so I had to do completely remove Mongo and reinstall and create users as per instruction on here. The App itself was fine throughout.
All is working well, although I obviously now have a clean database. (there was not so much in it anyway).
Maybe something to look out for if you are planning an OS upgrade at anytime. I am sure an expert knows a way around this and keeping Mongo db files compatible with the new version but I learnt the slightly harder way :beaming_face_with_smiling_eyes: