nextcloud / nextcloud/nextcloudpi
access activity 503
Open
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 2.9k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
System information
- Raspberry Pi 4 Model B Rev 1.2 (4 cores)
- Linux 6.1.21-v8+ aarch64
- PHP 8.1.23
- mysql 10.5.21
- Redis server v=6.0.16
- NectCloudPi v1.53.0
upgrade
#login
NextCloudPi v1.52.4 is outdated
update to v1.53.0 through 'ncp-config' or type 'sudo ncp-update'
$ sudo ncp-update
Downloading updates
error: RPC 失败。curl 56 GnuTLS recv error (-110): TLS 链接非正常地终止了。
Performing updates
Installing ncp-community
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Updating <nextcloudpi> ...
Updated <nextcloudpi> to 0.0.2
Update app calendar from App Store
Update app contacts from App Store
Update app maps from App Store
Update app notes from App Store
Update app notify_push from App Store
Update app related_resources from App Store
Update app workflow_media_converter from App Store
Starting code integrity check...
Finished code integrity check
Update successful
Turned off maintenance mode
Resetting log level
NextCloudPi updated to version v1.53.0
access https://192.168.1.6/index.php/apps/activity/ 503
web error message
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Unavailable</title>
</head><body>
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>
server error log
{"reqId":"nDXHsmVDTRmVXIQn5XKV","level":4,"time":"2024-01-27T15:07:15+00:00","remoteAddr":"","user":"--","app":"dashboard","method":"","url":"--","message":"Error during app loading: read error on connection to /var/run/redis/redis.sock:0","userAgent":"--","version":"26.0.1.1","exception":{"Exception":"RedisException","Message":"read error on connection to /var/run/redis/redis.sock:0","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":56,"function":"get","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/lib/autoloader.php","line":154,"function":"get","class":"OC\\Memcache\\Redis","type":"->"},{"function":"load","class":"OC\\Autoloader","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":217,"function":"class_exists"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":178,"function":"isBootable","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":141,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":121,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/console.php","line":99,"function":"loadCommands","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/occ","line":11,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":56,"message":"Error during app loading: read error on connection to /var/run/redis/redis.sock:0","exception":[],"CustomMessage":"Error during app loading: read error on connection to /var/run/redis/redis.sock:0"},"id":"65b523002a0c2"}
report file:
2024-01-27 (2).md
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported 503 and the RedisException in /var/www/nextcloud/lib/private/Memcache/Redis.php at line 56, then review the attached ncp-report and the ncp-update output. Trace the Redis socket connection during app loading and determine what change is needed for the Activity page to load successfully. Done means the reported 503 is resolved without the Redis connection error recurring.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, redis, shell
- Domain
- backend, databases, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100