I just updated ncp through SSH to V1.34.7. During the update procces I was notified two times that a php file was changed and gave me 5 Options (similar to this question here: NextCloudPi update to v1.29.8 hangs on new php.ini).
I chose show side by side changes, but the changes were to large to be shown. So I selected option 1, install the package maintainer’s version.
That was obviously pretty dumb, because now I cannot enter the web interface of my NextcloudPi. SSH and samba is still reachable though.
So my question is: Is there anything I can do, to get the web interface working again?
try to sudo ncp-config from commandline and try turning on Web-GUI.
and (re-)set passwords for your NCP-Admin.
Make sure that you try accessing your webgui by https://your.local.ip:4443
BTW: I had a big smile about your nickname. Thanks for brightening my day. And pls remember: if you wanna enjoy a fair day off avoid installing something new
Thanks for the quick reply
I ran sudo ncp-config and web-ui was already activated. I deactivated it and activated it again, but that did not help.
Neither https://my.local.ip:4443 (the site loads endlessly) nor https://my.local.ip works (this one is just blank).
Do you have any other ideas?
PS: Haha thank you. I’ll keep that in mind for my next free days
I’d say it is most likely possible to search and find for the original php.ini setting on Github.
Always use the safe route of keeping installed (and working) version, it is what is used by unattended-upgrades, when enabled. NCP users do not ever have run apt update manually, so why did you?
And yes, yor’re right, that’s what I’ll do in the future. I have unattended-upgrades enabled but when I connected to my server via ssh and it said, that NCP is outdated and I should run sudo ncp-update, so that’s what I did.
Thanks, thats perfect, I’ll try it out. But the pastbin is private (Error: “Error, this is a private paste or is pending moderation. If this paste belongs to you, please login to Pastebin to view it.”)
Thank you, the download worked! So I found out that there were two files in /etc/php/7.3/fpm/
php.ini and
php.ini.ucf.old
The second file was obviously a backup file. I compared it with your file and the only differences were the path to the external hdd (upload_tmp_dir and sys_tmp_dir).
So I overwrote php.ini (the new file from the installation) with the backup file. Then I rebooted my RasPI and deactivated web ui and activated it again through ssh.
Unfortunately, the web ui is still unreachable, although the php.ini files should be correct now.
Is there anything else that I could do?
Update:
Now I can reach the admin web ui under https://my.ip:4443. Unfortunately the Nextcloud Web UI is still unreachable (https://my.ip). I updated Nextcloud to 18.x yesterday. Could there went something wrong?