Just tried to update from v9.8.24 to v10.1.10 on a shared server using @borpin 's suggested solution and run into the same topic: “Database error, you may need to run database update”.
then modified content of emoncmsdbupdate.php
chdir("/var/www/emoncms"); to chdir("/");
and copied it to my /www/htdocs/XXX/DOMAINNAME/emoncms directory and made it 777. After that I tried to run https://DOMAINNAME/emoncmsdbupdate.php which ended up in :
Warning : scandir(Modules): failed to open dir: No such file or directory in /www/htdocs/XXX/DOMAINNAME/emoncms/core.php on line 156
Warning : scandir(): (errno 2): No such file or directory in /www/htdocs/XXX/DOMAINNAME/emoncms/core.php on line 156
[]
Did I completely wrong?