-
-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After updating to v1.50.1 HPB service shows "down", nextcloud unreachable #1593
Comments
Hi, seems like there's an issue with your redis server. Please post the output of service redis-server status
sudo cat /var/log/redis/redis-server.log |
Thank you for the answer @TheCatholic, here is the output: pi@nextcloudpi:~ $ sudo cat /var/log/redis/redis-server.log 473655:M 26 Sep 2022 09:33:10.635 # Server initialized 515:M 26 Sep 2022 09:36:47.856 # Server initialized 2005:M 26 Sep 2022 09:37:19.709 # Server initialized |
Hm, nothing out of the ordinary there... Does |
Did not help. As I already mentioned above, I did a reboot after updating. Even a restart of the redis-server service does not change anything. All other services except HPB are running. However, as you can see right now, I am obviously not the only one with this problem. |
@cb-studi https://help.nextcloud.com/t/nextcloudpi-hpb-service-down-after-dist-upgrade/144566/7?u=zendaiowl |
@ZendaiOwl Everything is already enabled, the three lines to be added according to this tutorial are also present |
@cb-studi Would you be willing to give me ssh access to your ncp instance? If so, please contact me on Matrix or Telegram |
@theCalcaholic I only use ssh within my private Network, I would have to open the SSH access through my router. I'll contact you via Telegram (I'm German btw) |
Unfortunately I did not manage to find the cause of this just yet. I recommend to disable redis, until I managed to provide a fix. To do so, comment the following two lines in /var/www/nextcloud/config/config.php: 'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis', so that they look like this: // 'memcache.local' => '\\OC\\Memcache\\Redis',
// 'memcache.locking' => '\\OC\\Memcache\\Redis', Afterwards, reboot (or restart your container) |
I had the same Problem and this fixed it for me (for now) |
@mteuscher Would you mind to leave your hardware information? It might help me to understand the pattern of who is affected |
@theCalcaholic Do you need something else? Maybe interesting for you: On 1.50.1 (Docker release) everything except HTTPD and PHP was down. After the downgrade to 1.49.1 everything was up, except HPB service according to ncp-report |
@mteuscher thank you |
I am running docker on Unraid 6.10.2, and experience the same issue. I cannot find the config.php file since I do not have the same directory. Please let me know what information I can provide to help.
|
@jiyang1018 the config.php file is inside the container. You can edit it with |
@jiyang1018 i changed the file in the 'datadir'/nextcloud/config/config.php which was also accessible outside the container. You might need to sudo it, to be able to access it. 'datadir' is whatever you used setting up the container |
@theCalcaholic Since I updated my ncp to the newly released v1.50.2, the same error occurs again. My config.php does not even contain the lines anymore you mentioned earlier for a temporary bug fix: 'memcache.local' => '\OC\Memcache\Redis', |
@theCalcaholic Just FYI: I was on Nectcloud 24.0.3.2 while i had the problems. Today I upgraded ncp (via new docker image) to 1.50.2 and everything worked. Then I updated Nextcloud to 24.0.5.1 and still everything works. So my case is completely fixed |
@mteuscher That's great to hear! Does anyone still have this issue on 1.50.2? |
Yes, I still cannot access my cloud. I'm on ncp 1.50.2 and nc 23.06.6 as I stated above. I understand now that my nc version obviously is behind. I have all automatic updates enabled and only update via ncp Web UI. Do I have to update nc manually or will the new nc version soon reach me via automatic updates? I guess it should work then...? |
I'm really worried now: when I go to nc-update-nextcloud in the web UI and start the update it tells me: That would actually be the version I need. I guess it's not good that nextcloud.oc_jobs is missing? And when I try to nc-update-nc-apps it tells me In ExceptionConverter.php line 47: An exception occurred while executing a query: SQLSTATE[42S02]: Base table In Exception.php line 26: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_sto In Statement.php line 92: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_sto app:update [--all] [--showonly] [--allow-unstable] [--] [] So I'm also missing nextcloud.oc_storages? I'm not aware to have done anything to cause this. Can this be solved? |
@theCalcaholic I'm sorry, i totally forgot something: Thank you very very much for your hard work and your help!!! |
@KlausKinsky Unfortunately that sounds like your database was corrupted by the faulty NCP update. Do you have a recent backup? If so, please don't restore it right away, but move your data directory to a safe location first (there is a bug that your data directory gets overwritten if it's in the default location, even when restoring a dataless backup). So to be safe, do |
@theCalcaholic Thank you very much! Especially for the hint regarding the database bug. Obviously I should be happy that it worked for almost 2 years without major problems. I'll go for a fresh installation now though. |
Hi @theCalcaholic |
@cb-studi Alright :) |
Hello,
It's nextcloudpi running on a raspberry pi 4. I can't access the Nextcloud instance from the browser (503 Service unavailable), but the ncp Web UI is available. HPB appears as down too. From the logs :
The fix (disabling redis in config.php and reboot) doesn't work for me. When I do it, redis still seems to launch.
|
The redis section after the commented lines :
|
Something interesting maybe (?), I can access the files from the nextcloud android app, and stream my music from the android dsub app. |
I am having similar issues but in docker, specifically php 8.1 incompatibility any chance of a fresh docker image? |
Ok, I solved it by :
Then (and I think this is what did the trick), I changed the following value in /etc/php/8.1/fpm/pool.d/www.conf (according to #1439 and #1624 )
Then of course, restart the apache2 and php8.1-fpm services. |
HPB Service is still down though |
Update : After a reboot, I still have the 503 service unreachable problem :'( |
The same problem here with HPB service down. The instance is new using docker image v1.50.2 on Rpi 4. After the initial synchronization went fine, the server now responds 503 when modifying a files. |
I am on docker NCPi image (v1.50.2 which is the newest right now) with same issue, the above solution (commenting)
works for me. Just the NC Settings>Administration>Overview complains: |
This version of Nextcloud is not compatible with > PHP 8.0. You are currently running 8.1.10. Log:
I managed to go back to v1.49.1, and encountered
Here is log:
I updated from 1.49.1 to latest, and it is doing the same PHP 8.0 error. |
Hi I have just started experiencing this with the docker version I have tried 1.50.2 and am now trying a downgrade to 1.48.3 to see what if anything the cause can be. Is there any idea on what causes this or how to resolve |
I can see in the apache2/error.log |
For me this helps: |
I ran with nextcloudpi as CONTAINER_NAME and got this |
Well it doesn't help anymore. It is like black magic, sometime it worked, sometime it didn't, with no clues in nextcloud.log. Now it stopped working completely, so I gave up. I do also have Raspberry Pi 4 as mentioned above, maybe it is related to it. Now I am trying similar project - Nextcloud All In One container, I'll see if it works for me. |
This issue seems to have accumulated a bunch of different and unrelated issues by now. Because of this, because the issue of the original issue creator has been solved and because of the age of this issue, I'm closing it now. If you have still issues, please ask for help at https://help.nextcloud.com or create a new issue if none exists for your problem yet. |
Hi all,
just made an update to v1.50.1 of nextcloudpi on my Raspberry Pi 4B 8GB, as I do the updates regularly. Since I did the update, my nextcloud instance is now unreachable, the browser shows Error 503 "Service unavailable (possibly maintenance mode)" and the desktop client does not connect either. The configuration page, which can be reached via the IP address and port 4443, can be called up, however. Here you can see under System Info that the HPB service is down. Maintenance mode is off, as far as I can see. A reboot doesn't help either, and I always do that after an update anyway. So far, nextcloudpi has always worked without any problems.
The complete excerpt from ncp-report:
<--! Paste this in GitHub report -->
NextCloudPi diagnostics
Nextcloud configuration
HTTPd logs
Database logs
Nextcloud logs
The text was updated successfully, but these errors were encountered: