Fresh Nextcloud install on upgraded system - 503 error

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
eglider86
Posts: 54
Joined: Sat Mar 20, 2021 10:12 am

Fresh Nextcloud install on upgraded system - 503 error

Post by eglider86 »

Hi,
I have upgraded Buster to Bullseye with a running dietpi system. The system has had a nextcloud service and a smb.
SMB kept on working, however nextcloud did not. Tried many thing, read lots of forums and decided to uninstall NC and hava a fresh install. After download however i can not reach nextcloud by <ip/nextcloud/> and have a 503 service unavailable error.
What did i do wrong?
thanks
User avatar
Joulinar
Posts: 5998
Joined: Sat Nov 16, 2019 12:49 am

Re: Fresh Nextcloud install on upgraded system - 503 error

Post by Joulinar »

all services are running?

Code: Select all

dietpi-services status
Web server is reachable by it's IP?

Code: Select all

http://<ip>
Did you restored a backup or is it an empty installation?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
eglider86
Posts: 54
Joined: Sat Mar 20, 2021 10:12 am

Re: Fresh Nextcloud install on upgraded system - 503 error

Post by eglider86 »

yes

Code: Select all

DietPi-Services
─────────────────────────────────────────────────────
 Mode: status

[  OK  ] DietPi-Services | nmbd                 : active (running) since Fri 2021-09-24 11:11:02 BST; 23min ago
[  OK  ] DietPi-Services | smbd                 : active (running) since Fri 2021-09-24 11:11:03 BST; 23min ago
[  OK  ] DietPi-Services | redis-server         : active (running) since Fri 2021-09-24 11:11:03 BST; 23min ago
[  OK  ] DietPi-Services | mariadb              : active (running) since Fri 2021-09-24 11:11:05 BST; 23min ago
[  OK  ] DietPi-Services | php7.4-fpm           : active (running) since Fri 2021-09-24 11:11:07 BST; 23min ago
[  OK  ] DietPi-Services | lighttpd             : active (running) since Fri 2021-09-24 11:11:08 BST; 23min ago
[  OK  ] DietPi-Services | cron                 : active (running) since Fri 2021-09-24 11:11:08 BST; 23min ago
[  OK  ] DietPi-Services | dropbear             : active (running) since Fri 2021-09-24 11:11:01 BST; 23min ago
[  OK  ] DietPi-Services | fail2ban             : active (running) since Fri 2021-09-24 11:10:48 BST; 23min ago
[ INFO ] DietPi-Services | dietpi-vpn           : inactive (dead)
[  OK  ] DietPi-Services | dietpi-ramlog        : active (exited) since Fri 2021-09-24 11:10:39 BST; 23min ago
[  OK  ] DietPi-Services | dietpi-preboot       : active (exited) since Fri 2021-09-24 11:10:39 BST; 23min ago
[  OK  ] DietPi-Services | dietpi-boot          : active (exited) since Fri 2021-09-24 11:11:00 BST; 23min ago
[  OK  ] DietPi-Services | dietpi-postboot      : active (exited) since Fri 2021-09-24 11:11:00 BST; 23min ago
[ INFO ] DietPi-Services | dietpi-wifi-monitor  : inactive (dead)

yes it is reachable
eglider86
Posts: 54
Joined: Sat Mar 20, 2021 10:12 am

Re: Fresh Nextcloud install on upgraded system - 503 error

Post by eglider86 »

new installtion, backup was not used
User avatar
Joulinar
Posts: 5998
Joined: Sat Nov 16, 2019 12:49 am

Re: Fresh Nextcloud install on upgraded system - 503 error

Post by Joulinar »

what about the error log

Code: Select all

cat /mnt/dietpi_userdata/nextcloud_data/nextcloud.log
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
eglider86
Posts: 54
Joined: Sat Mar 20, 2021 10:12 am

Re: Fresh Nextcloud install on upgraded system - 503 error

Post by eglider86 »

shows nothing...the command returns nothing
eglider86
Posts: 54
Joined: Sat Mar 20, 2021 10:12 am

Re: Fresh Nextcloud install on upgraded system - 503 error

Post by eglider86 »

{"reqId":"Y9i8QNVwEPerCzPh1UZ9","level":3,"time":"2021-09-24T11:20:03+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Trying to access array offset on value of type null at /var/www/nextcloud/apps/dav/lib/CalDAV/BirthdayService.php#306","userAgent":"--","version":"22.1.1.2","exception":{"Exception":"Error","Message":"Trying to access array offset on value of type null at /var/www/nextcloud/apps/dav/lib/CalDAV/BirthdayService.php#306","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/dav/lib/CalDAV/BirthdayService.php","line":306,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php","line":69,"function":"resetForUser","class":"OCA\\DAV\\CalDAV\\BirthdayService","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":51,"function":"run","class":"OCA\\DAV\\BackgroundJob\\GenerateBirthdayCalendarBackgroundJob","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/QueuedJob.php","line":45,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OC\\BackgroundJob\\QueuedJob","type":"->"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
User avatar
Joulinar
Posts: 5998
Joined: Sat Nov 16, 2019 12:49 am

Re: Fresh Nextcloud install on upgraded system - 503 error

Post by Joulinar »

hmm there seems to be an issue with CalDAV. At least some errors generated by CalDAV/BirthdayService.php

Code: Select all

{"Exception":"Error","Message":"Trying to access array offset on value of type null at
And you are sure it was an empty installation? Nothing got imported during install?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply