[Bug]: Apps compatible with new version misleading
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Start by tracing the update app’s compatibility check and the occ upgrade app compatibility handling; the issue does not name their files or tests. Compare how each decides whether an app is compatible, then add or run tests that verify both report the same result for the reported Nextcloud 34.0.5 to 34.0.6 upgrade.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
⚠️ This issue respects the following points: ⚠️
- This is not a troubleshooting question, general support matter, or webserver/proxy problem, but likely a bug (if unsure, ask the Community Help Forum).
- This issue is not already reported on Github OR solved at the Community Help Forum (I've searched!).
- I'm using a maintained major version of Nextcloud Server and tested against the latest patch level. (Supported major versions and current patch levels).
- I agree to follow Nextcloud's Code of Conduct.
- I've tried my best to provide clear reproduction steps that someone unfamiliar with this bug could use to reproduce it.
Bug description
When presenting the option in admin UI to update to new version the compatible apps check does not agree with the occ upgrade step, making it possible for apps to be disabled even though the ui said "All apps have a compatible version for this Nextcloud version available."
Steps to reproduce
The issue is in general more about there being a miss-match, but how it occurred for me now:
- Have an 34.0.5 instance with nextcloud memories
- Observe update to 34.0.6 has no incompatible apps
- Perform update, nextcloud memories gets disabled
Not that nextcloud memories is compatible with nc 34.0.6 so it becoming disabled is a bug in it self (seems to be issues with the apps repository?) - this isuue is about the missmatch- occ upgrade and the UI check must mean the same thing and report the same result.
It is/was also common for some apps to be reported as compatible only to be disabled removed by occ upgrade but then reenable a renamed/merged into core functionality which has been confusing.
Expected behavior
The update app compatibility check must report the same as occ upgrade
Nextcloud Server version
34
Operating system
Other
PHP engine version
PHP 8.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 32.0.1 to 32.0.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
{
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"serverid": 1,
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"10.42.3.32",
"xn--skmolnet-8za.eterkludd.se"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "34.0.6.2",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"overwrite.cli.url": "https:\/\/xn--skmolnet-8za.eterkludd.se\/",
"overwriteprotocol": "https",
"htaccess.RewriteBase": "\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"maintenance_window_start": 2,
"default_phone_region": "SE",
"default_locale": "sv_SE",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"filelocking.enabled": "true",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0
},
"loglevel": 2,
"defaultapp": "files,memories,notes,calendar,contacts,cospend,activity,phonetrack,secrets",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"skeletondirectory": "\/srv\/www\/skelett\/",
"templatedirectory": "",
"enabledPreviewProviders": [
"OC\\Preview\\Imaginary",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\MP3",
"OC\\Preview\\Movie",
"OC\\Preview\\MKV",
"OC\\Preview\\MP4",
"OC\\Preview\\AVI"
],
"preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
"tempdirectory": "\/mnt\/ncdata\/php_tmpfiles\/",
"files.chunked_upload.max_parallel_count": 8,
"maintenance": false,
"memories.vod.disable": false,
"memories.gis_type": 1,
"memories.db.triggers.fcu": true,
"simpleSignUpLink.shown": false,
"profile.enabled": false,
"theme": "",
"enforce_theme": "dark",
"memories.vips.path": "\/srv\/www\/nextcloud\/apps\/memories\/bin-ext\/vips-amd64",
"memories.vod.path": "\/srv\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"memories.exiftool": "\/srv\/www\/nextcloud\/apps\/memories\/bin-ext\/eperl-amd64-glibc",
"updater.secret": "***REMOVED SENSITIVE VALUE***"
}
}
List of activated Apps
Enabled:
- activity: 7.0.0
- appstore: 1.0.0
- bruteforcesettings: 7.0.0
- calendar: 6.6.5
- camerarawpreviews: 1.3.0
- cloud_federation_api: 1.18.0
- contacts: 8.10.0
- cospend: 4.3.0
- dav: 1.40.0
- deck: 1.18.6
- end_to_end_encryption: 2.6.0
- federatedfilesharing: 1.24.0
- federation: 1.24.0
- files: 2.6.0
- files_downloadlimit: 5.2.0
- files_external: 1.26.0
- files_lock: 34.0.1
- files_pdfviewer: 7.0.1
- files_reminders: 1.7.0
- files_sharing: 1.26.1
- files_trashbin: 1.24.0
- files_versions: 1.27.0
- logreader: 7.0.0
- lookup_server_connector: 1.22.0
- notes: 6.1.1
- notifications: 7.0.0-dev.1
- notify_push: 1.4.2
- oauth2: 1.22.0
- office: 1.0.0
- oidc: 2.6.3
- password_policy: 6.0.0-dev.0
- phonetrack: 1.6.1
- photos: 7.0.0
- privacy: 6.0.0-dev.1
- profile: 1.3.0
- provisioning_api: 1.24.0
- recommendations: 7.0.0
- registration: 3.1.1
- richdocuments: 11.1.3
- secrets: 3.0.6
- serverinfo: 6.0.0
- settings: 1.17.0
- sharebymail: 1.24.0
- survey_client: 6.0.0-dev.0
- text: 8.0.1
- theming: 2.9.0
- theming_customcss: 1.22.0
- twofactor_backupcodes: 1.23.0
- twofactor_nextcloud_notification: 8.0.0
- twofactor_totp: 16.0.0
- updatenotification: 1.24.0
- viewer: 7.0.0-dev.0
- workflowengine: 2.16.0
Disabled:
- admin_audit: 1.24.0
- app_api: 34.0.0 (installed 4.0.6)
- checksum: 2.1.2 (installed 2.1.2)
- circles: 34.0.0 (installed 30.0.0)
- comments: 1.24.0 (installed 1.20.1)
- contactsinteraction: 1.15.0 (installed 1.11.0)
- dashboard: 7.14.0 (installed 7.10.0)
- encryption: 2.22.0
- firstrunwizard: 7.0.0-dev.0 (installed 3.0.0)
- metadata: 0.24.0 (installed 0.24.0)
- nextcloud_announcements: 6.0.0 (installed 2.0.0)
- related_resources: 5.0.0-dev.0 (installed 1.5.0)
- support: 6.0.0 (installed 2.0.0)
- suspicious_login: 12.0.0-dev.0
- systemtags: 1.24.0 (installed 1.21.1)
- user_ldap: 1.25.0
- user_status: 1.14.0 (installed 1.10.0)
- weather_status: 1.14.0 (installed 1.10.0)
- webhook_listeners: 1.6.0 (installed 1.1.0-dev)
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
{"reqId":"dJwBFgkYWUeSRDz94F1E","level":1,"time":"2026-11-16T11:04:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","scriptName":"occ","message":"\\OC\\Updater::finishedCheckCodeIntegrity: Finished code integrity check","userAgent":"--","version":"34.0.5.1","occ_command":["occ","upgrade"],"data":{"app":"updater"}}
{"reqId":"dJwBFgkYWUeSRDz94F1E","level":1,"time":"2026-11-16T11:04:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","scriptName":"occ","message":"\\OC\\Updater::updateEnd: Update successful","userAgent":"--","version":"34.0.6.2","occ_command":["occ","upgrade"],"data":{"app":"updater"}}
{"reqId":"dJwBFgkYWUeSRDz94F1E","level":1,"time":"2026-11-16T11:04:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","scriptName":"occ","message":"\\OC\\Updater::maintenanceDisabled: Turned off maintenance mode","userAgent":"--","version":"34.0.6.2","occ_command":["occ","upgrade"],"data":{"app":"updater"}}
{"reqId":"dJwBFgkYWUeSRDz94F1E","level":1,"time":"2026-11-16T11:04:08+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","scriptName":"occ","message":"\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)","userAgent":"--","version":"34.0.6.2","occ_command":["occ","upgrade"],"data":{"app":"updater"}}
{"reqId":"6E0D6cpwUn2SmhfKociC","level":2,"time":"2026-11-16T11:08:13+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"/srv/www/nextcloud/cron.php","message":"unlink(/mnt/ncdata/php_tmpfiles/oc_tmp_dWYid4ubO4Z5T9o6bpBd4WbDcL059PDl/memories/exiftest.jpg): No such file or directory at /srv/www/nextcloud/lib/public/Files.php#44","userAgent":"--","version":"34.0.6.2","occ_command":["/srv/www/nextcloud/cron.php"],"data":{"app":"PHP"}}
{"reqId":"6E0D6cpwUn2SmhfKociC","level":2,"time":"2026-11-16T11:08:13+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"/srv/www/nextcloud/cron.php","message":"unlink(): No such file or directory at /srv/www/nextcloud/lib/public/Files.php#44","userAgent":"--","version":"34.0.6.2","occ_command":["/srv/www/nextcloud/cron.php"],"data":{"app":"PHP"}}
{"reqId":"6E0D6cpwUn2SmhfKociC","level":2,"time":"2026-11-16T11:08:13+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"/srv/www/nextcloud/cron.php","message":"unlink(): No such file or directory at /srv/www/nextcloud/lib/public/Files.php#44","userAgent":"--","version":"34.0.6.2","occ_command":["/srv/www/nextcloud/cron.php"],"data":{"app":"PHP"}}
{"reqId":"6E0D6cpwUn2SmhfKociC","level":2,"time":"2026-11-16T11:08:13+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"/srv/www/nextcloud/cron.php","message":"unlink(): No such file or directory at /srv/www/nextcloud/lib/public/Files.php#44","userAgent":"--","version":"34.0.6.2","occ_command":["/srv/www/nextcloud/cron.php"],"data":{"app":"PHP"}}
{"reqId":"6E0D6cpwUn2SmhfKociC","level":2,"time":"2026-11-16T11:08:13+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","scriptName":"/srv/www/nextcloud/cron.php","message":"Error deleting temporary file/folder: /mnt/ncdata/php_tmpfiles//oc_tmp_dWYid4ubO4Z5T9o6bpBd4WbDcL059PDl - Reason: RecursiveDirectoryIterator::__construct(/mnt/ncdata/php_tmpfiles//oc_tmp_dWYid4ubO4Z5T9o6bpBd4WbDcL059PDl/memories/img): Failed to open directory: No such file or directory","userAgent":"--","version":"34.0.6.2","occ_command":["/srv/www/nextcloud/cron.php"],"data":[]}
{"reqId":"fCxkcXPNJz5kDxXRNPQx","level":2,"time":"2026-11-16T11:08:15+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","scriptName":"/srv/www/nextcloud/cron.php","message":"failed to create instance of background job: OCA\\Memories\\Cron\\IndexJob","userAgent":"--","version":"34.0.5.1","occ_command":["/srv/www/nextcloud/cron.php"],"exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\Memories\\Cron\\IndexJob! Class \"OCA\\Memories\\Cron\\IndexJob\" does not exist","Code":0,"Trace":[{"file":"/srv/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":158,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/srv/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":379,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/srv/www/nextcloud/lib/private/ServerContainer.php","line":139,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/srv/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":44,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/srv/www/nextcloud/lib/public/Server.php","line":37,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/srv/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":320,"function":"get","class":"OCP\\Server","type":"::"},{"file":"/srv/www/nextcloud/lib/private/BackgroundJob/JobList.php","line":200,"function":"buildJob","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/srv/www/nextcloud/core/Service/CronService.php","line":185,"function":"getNext","class":"OC\\BackgroundJob\\JobList","type":"->"},{"file":"/srv/www/nextcloud/core/Service/CronService.php","line":107,"function":"runCli","class":"OC\\Core\\Service\\CronService","type":"->"},{"file":"/srv/www/nextcloud/cron.php","line":52,"function":"run","class":"OC\\Core\\Service\\CronService","type":"->"}],"File":"/srv/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":138,"message":"failed to create instance of background job: OCA\\Memories\\Cron\\IndexJob","CustomMessage":"failed to create instance of background job: OCA\\Memories\\Cron\\IndexJob"}}
Additional info
The server got stuck into maintenance mode after UI app update earlier, not sure which app was being updated first but second password prompt for "update all" (see password spam app install issue) just got stuck and nextcloud was left in meintenance mode, which was manually ended after 8h and some occ checks and occ app updates. Not sure if related, dont know if nextcloud was the app being updated, logs dont show.
Theres a lot more of the "nc is in maintenance mode logs".
- Ngôn ngữ chính
- PHP
- Star
- 37.5k
- Fork
- 5.4k
- Merge trung bình
- 1 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 639
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nextcloud/server
-
35-feedback
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
0. Needs triage 35-feedback bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
workflowengine: File entity reuses the node of the first "Tag assigned" event for all later events in the same processCó thể đã có người làm @lazerg đã nhận 2 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Contacts import aborts with TypeError when vCards have no UID (TextImporter structure)Có thể đã có người làm @SebastianKrupinski đã nhận 6 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
nextcloud/server#66486 · 2 bình luận · 2 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Unified search: screen reader hears "No matching results" on mobile even when there are resultsCó thể đã có người làm @lazerg đã nhận 10 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của nextcloud/server
Issue tương tự
-
[Sync EN] stream: document the errors of the stream_context_*() and stream filter functions (#6091)Đang mởsync-en
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Automattic/blocks-engine#6318 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update: Laravel Cheat Sheet - middleware examples for the bootstrap/app.php layout (small update)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
OWASP/CheatSheetSeries#2990 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày