⚠️ This issue respects the following points: ⚠️
Bug description
After updating to AIO 13.3.0 (with Nextcloud Hub 26 Spring 34.0.0 RC4), manually updating apps via the Apps/Updates interface resulted in the web interface becoming unreachable. Stopping and restarting all containers brought the web interface back up again.
Additionally, there was no indication that the updates were taking place after clicking "Update to X.X.X". In my production environment, clicking Update triggers a spinning circle indicator, and then the updated app is removed from the Updates page. Navigating away from the Updates page and then returning to it cleared the updated apps.
I found the following issues (which I also experienced), but they don't seem to cover all of what I experienced.
Steps to reproduce
- Update to AIO 13.3.0 Beta (34.0.0 RC4) from AIO 13.2.1 Beta
- Log in as admin and navigate to Apps/Updates
- Manually update individual apps
Expected behavior
- Updating apps does not impact the web interface.
- After clicking Update for an app, there is a visual indicator that the update is taking place, after which the updated app is removed from the Updates page.
Nextcloud Server version
34
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.5
Web server
Apache (supported)
Database engine version
PostgreSQL
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?
Configuration report
{
"system": {
"one-click-instance": true,
"one-click-instance.user-limit": 100,
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"check_data_directory_permissions": false,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"password": "***REMOVED SENSITIVE VALUE***",
"port": 6379,
"timeout": 3,
"read_timeout": 10
},
"overwritehost": "nextcloud.testing.mydomain.tld",
"overwriteprotocol": "https",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"nextcloud.testing.mydomain.tld"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "34.0.0.10",
"overwrite.cli.url": "https:\/\/nextcloud.testing.mydomain.tld\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"updatechecker": true,
"updatedirectory": "\/nc-updater",
"loglevel": 2,
"app_install_overwrite": [
"nextcloud-aio",
"news"
],
"log_type": "file",
"logfile": "\/var\/www\/html\/data\/nextcloud.log",
"log_rotate_size": 10485760,
"log.condition": {
"apps": [
"admin_audit"
]
},
"preview_max_x": 2048,
"preview_max_y": 2048,
"jpeg_quality": 60,
"enabledPreviewProviders": {
"1": "OC\\Preview\\Image",
"2": "OC\\Preview\\MarkDown",
"3": "OC\\Preview\\MP3",
"4": "OC\\Preview\\TXT",
"5": "OC\\Preview\\OpenDocument",
"6": "OC\\Preview\\Movie",
"7": "OC\\Preview\\Krita",
"0": "OC\\Preview\\Imaginary",
"23": "OC\\Preview\\ImaginaryPDF",
"24": "OCA\\Eurooffice\\Preview"
},
"enable_previews": true,
"upgrade.disable-web": true,
"mail_smtpmode": "smtp",
"trashbin_retention_obligation": "auto, 30",
"versions_retention_obligation": "auto, 30",
"activity_expire_days": 30,
"simpleSignUpLink.shown": false,
"share_folder": "\/Shared",
"one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
"upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
"maintenance_window_start": 100,
"allow_local_remote_servers": true,
"davstorage.request_timeout": 3600,
"documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425",
"htaccess.RewriteBase": "\/",
"dbpersistent": false,
"auth.bruteforce.protection.enabled": true,
"ratelimit.protection.enabled": true,
"files_external_allow_create_new_local": false,
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
"preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauth": true,
"mail_smtpport": "465",
"mail_sendmailmode": "smtp",
"mail_smtpstreamoptions": {
"ssl": {
"allow_self_signed": false,
"verify_peer": true,
"verify_peer_name": true
}
},
"default_phone_region": "US",
"serverid": 445,
"log_type_audit": "file",
"logfile_audit": "\/var\/www\/html\/data\/audit.log",
"data-fingerprint": "fa6309432d9e5fffab1fff2d0ae1d3a9",
"update_channel": "stable",
"updater.release.channel": "beta",
"eurooffice": {
"editors_check_interval": 0,
"jwt_secret": "19ce98a055336dab26a0b52b8ee82bb499f37af54b72a13c",
"jwt_header": "AuthorizationJwt"
},
"DOMAIN": "nextcloud.testing.mydomain.tld",
"AIO_VERSION": "v13.3.0"
}
}
List of activated Apps
Enabled:
- activity: 7.0.0
- admin_audit: 1.24.0
- appstore: 1.0.0
- bruteforcesettings: 7.0.0
- calendar: 6.5.0
- circles: 34.0.0
- cloud_federation_api: 1.18.0
- comments: 1.24.0
- contacts: 8.7.1
- contactsinteraction: 1.15.0
- dashboard: 7.14.0
- dav: 1.39.0
- deck: 1.18.2
- eurooffice: 11.0.0
- federatedfilesharing: 1.24.0
- federation: 1.24.0
- files: 2.6.0
- files_downloadlimit: 5.2.0-dev.0
- files_lock: 34.0.0
- files_pdfviewer: 7.0.0-dev.0
- files_reminders: 1.7.0
- files_sharing: 1.26.0
- files_trashbin: 1.24.0
- files_versions: 1.27.0
- firstrunwizard: 7.0.0-dev.0
- logreader: 7.0.0
- lookup_server_connector: 1.22.0
- news: 28.6.0
- nextcloud-aio: 0.8.0
- nextcloud_announcements: 6.0.0
- notes: 6.0.0
- notifications: 7.0.0-dev.1
- notify_push: 1.3.3
- oauth2: 1.22.0
- office: 1.0.0
- password_policy: 6.0.0-dev.0
- privacy: 6.0.0-dev.1
- profile: 1.3.0
- provisioning_api: 1.24.0
- recommendations: 7.0.0-dev.0
- related_resources: 5.0.0-dev.0
- richdocuments: 11.0.0
- serverinfo: 6.0.0
- settings: 1.17.0
- sharebymail: 1.24.0
- support: 6.0.0
- survey_client: 6.0.0-dev.0
- systemtags: 1.24.0
- text: 8.0.0
- theming: 2.9.0
- twofactor_backupcodes: 1.23.0
- twofactor_totp: 16.0.0
- updatenotification: 1.24.0
- user_status: 1.14.0
- viewer: 7.0.0-dev.0
- weather_status: 1.14.0
- webhook_listeners: 1.6.0
- workflowengine: 2.16.0
Disabled:
- app_api: 34.0.0 (installed 33.0.0)
- encryption: 2.22.0
- files_external: 1.26.0
- photos: 7.0.0 (installed 6.0.0-dev.0)
- suspicious_login: 12.0.0-dev.0
- tasks: 0.18.0 (installed 0.18.0)
- twofactor_nextcloud_notification: 8.0.0
- user_ldap: 1.25.0
Nextcloud Signing status
No errors have been found.
Nextcloud Logs
First Error from Admin/Logging:
Level: Error
Application: index
TypeErrorpreg_match(): Argument #2 ($subject) must be of type string, string given
- /var/www/html/apps/theming/lib/ThemingDefaults.php - Line 197:
undefinedundefinedpreg_match(
"/^\\#([0-9a-f]{3}|[0-9a-f]{6})$/i",
""
)
- /var/www/html/apps/theming/lib/Capabilities.php - Line 88:
OCA\Theming\ThemingDefaults->getColorPrimary()
- /var/www/html/lib/private/CapabilitiesManager.php - Line 60:
OCA\Theming\Capabilities->getCapabilities()
- /var/www/html/lib/private/Template/JSConfigHelper.php - Line 141:
OC\CapabilitiesManager->getCapabilities(
false,
true
)
- /var/www/html/lib/private/TemplateLayout.php - Line 249:
OC\Template\JSConfigHelper->getConfig()
- /var/www/html/lib/private/Template/Template.php - Line 117:
OC\TemplateLayout->getPageTemplate(
"user",
"settings"
)
- /var/www/html/lib/public/AppFramework/Http/TemplateResponse.php - Line 196:
OC\Template\Template->fetchPage(
{
"content": html content removed due to length
"pageTitle": "Overview",
"activeSectionId": "overview",
"activeSectionType": "admin"
}
)
- /var/www/html/lib/private/AppFramework/Http/Dispatcher.php - Line 124:
OCP\AppFramework\Http\TemplateResponse->render()
- /var/www/html/lib/private/AppFramework/App.php - Line 137:
OC\AppFramework\Http\Dispatcher->dispatch(
{
"__class__": "OCA\\Settings\\Controller\\AdminSettingsController"
},
"index"
)
- /var/www/html/lib/private/Route/Router.php - Line 324:
OC\AppFramework\App::main(
"OCA\\Settings\\Controller\\AdminSettingsController",
"index",
{
"__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
},
{
"_route": "settings.adminsettings.index",
"section": "overview"
}
)
- /var/www/html/lib/base.php - Line 1160:
OC\Route\Router->match(
"/settings/admin"
)
- /var/www/html/index.php - Line 25:
Additional info
Full logs
Initially reported here: nextcloud/all-in-one#8381
Bug description
After updating to AIO 13.3.0 (with Nextcloud Hub 26 Spring 34.0.0 RC4), manually updating apps via the Apps/Updates interface resulted in the web interface becoming unreachable. Stopping and restarting all containers brought the web interface back up again.
Additionally, there was no indication that the updates were taking place after clicking "Update to X.X.X". In my production environment, clicking Update triggers a spinning circle indicator, and then the updated app is removed from the Updates page. Navigating away from the Updates page and then returning to it cleared the updated apps.
I found the following issues (which I also experienced), but they don't seem to cover all of what I experienced.
[Bug]: Update all available apps with single click button "Update all" is missing #61123
[Bug]: Update all apps button missing / updated apps are still listed #61427
Steps to reproduce
Expected behavior
Nextcloud Server version
34
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.5
Web server
Apache (supported)
Database engine version
PostgreSQL
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?
Configuration report
{ "system": { "one-click-instance": true, "one-click-instance.user-limit": 100, "memcache.local": "\\OC\\Memcache\\APCu", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "check_data_directory_permissions": false, "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "password": "***REMOVED SENSITIVE VALUE***", "port": 6379, "timeout": 3, "read_timeout": 10 }, "overwritehost": "nextcloud.testing.mydomain.tld", "overwriteprotocol": "https", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "nextcloud.testing.mydomain.tld" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "pgsql", "version": "34.0.0.10", "overwrite.cli.url": "https:\/\/nextcloud.testing.mydomain.tld\/", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "updatechecker": true, "updatedirectory": "\/nc-updater", "loglevel": 2, "app_install_overwrite": [ "nextcloud-aio", "news" ], "log_type": "file", "logfile": "\/var\/www\/html\/data\/nextcloud.log", "log_rotate_size": 10485760, "log.condition": { "apps": [ "admin_audit" ] }, "preview_max_x": 2048, "preview_max_y": 2048, "jpeg_quality": 60, "enabledPreviewProviders": { "1": "OC\\Preview\\Image", "2": "OC\\Preview\\MarkDown", "3": "OC\\Preview\\MP3", "4": "OC\\Preview\\TXT", "5": "OC\\Preview\\OpenDocument", "6": "OC\\Preview\\Movie", "7": "OC\\Preview\\Krita", "0": "OC\\Preview\\Imaginary", "23": "OC\\Preview\\ImaginaryPDF", "24": "OCA\\Eurooffice\\Preview" }, "enable_previews": true, "upgrade.disable-web": true, "mail_smtpmode": "smtp", "trashbin_retention_obligation": "auto, 30", "versions_retention_obligation": "auto, 30", "activity_expire_days": 30, "simpleSignUpLink.shown": false, "share_folder": "\/Shared", "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/", "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726", "maintenance_window_start": 100, "allow_local_remote_servers": true, "davstorage.request_timeout": 3600, "documentation_url.server_logs": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/5425", "htaccess.RewriteBase": "\/", "dbpersistent": false, "auth.bruteforce.protection.enabled": true, "ratelimit.protection.enabled": true, "files_external_allow_create_new_local": false, "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***", "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpauth": true, "mail_smtpport": "465", "mail_sendmailmode": "smtp", "mail_smtpstreamoptions": { "ssl": { "allow_self_signed": false, "verify_peer": true, "verify_peer_name": true } }, "default_phone_region": "US", "serverid": 445, "log_type_audit": "file", "logfile_audit": "\/var\/www\/html\/data\/audit.log", "data-fingerprint": "fa6309432d9e5fffab1fff2d0ae1d3a9", "update_channel": "stable", "updater.release.channel": "beta", "eurooffice": { "editors_check_interval": 0, "jwt_secret": "19ce98a055336dab26a0b52b8ee82bb499f37af54b72a13c", "jwt_header": "AuthorizationJwt" }, "DOMAIN": "nextcloud.testing.mydomain.tld", "AIO_VERSION": "v13.3.0" } }List of activated Apps
Nextcloud Signing status
Nextcloud Logs
First Error from Admin/Logging:
Level: Error
Application: index
TypeErrorpreg_match(): Argument #2 ($subject) must be of type string, string givenAdditional info
Full logs
Initially reported here: nextcloud/all-in-one#8381