@droidus did u perchance checkout the develop branch before to fix a problem.
best way to get out of this,
rename the MagicMirror folder to MagicMirror.2
install MagicMirror using my script
see https://github.com/sdetweil/MagicMirror_scripts
the in the new magic mirror temporarily rename the module defaults folder to something else, so this copy command does write over anything
cd ~/MagicMirror/modules
mv defaults temp
copy the old mm module folder content here in the mm’s module folder, including the old defaults folder
cp -r -p ~/MagicMirror.2/modules/ .
(dot at the end means here)
delete the defaults folder that was copied
rm -rf defaults
restore the new defaults folder
mv temp defaults
then copy your old config.js and custom.css from the old MagicMirror.2 folder over to the new one