Server configuration detail
Operating system: Linux 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64
Webserver: Server version: Apache/2.4.62 (Debian)
Database: mysql 10.5.26
PHP version: 8.1.31
Nextcloud version: 29.0.11 - 29.0.11.1
Updated from an older Nextcloud:
Where did you install Nextcloud from: Source from NextCloud Website
Summary of the issue you are facing:
After upgrading from NC28 to NC29 there is a problem with Share Links.
Every File which is not shared, has an Share-Button.
All other, already shared Files, get the Message: Reshare not Allowed!!
During the Upgrade there were several Problems with Database (FileCache)
InvalidArgumentException: Index name “fs_storage_size” for table “oc_oc_filecache_g39p83tbm9mii” collides with the constraint on table “oc_filecache”.
Update failed
It was solved by removing the obsolete Tables
DROP TABLE IF EXISTS oc_oc_filecache_g39p83tbm9mii;
sudo -u www-data ./occ maintenance:repair
sudo -u www-data ./occ db:add-missing-indices
sudo -u www-data ./occ db:add-missing-columns
sudo -u www-data ./occ upgrade
Steps to replicate it (hint: details matter!):
Login with any user and try to share/reshare an already shared object.
After upgrading from NC28 to NC29 there is a problem with Share Links.
Every File which is not shared, has an Share-Button.
All other, already shared Files, get the Message: Reshare not Allowed!!
Configuration
List of activated apps
Enabled:
- activity: 2.21.1
- calendar: 4.7.16
- circles: 29.0.0-dev
- cloud_federation_api: 1.12.0
- comments: 1.19.0
- contactsinteraction: 1.10.0
- dashboard: 7.9.0
- dav: 1.30.1
- federatedfilesharing: 1.19.0
- federation: 1.19.0
- files: 2.1.1
- files_downloadlimit: 2.0.0
- files_external: 1.21.0
- files_pdfviewer: 2.10.0
- files_reminders: 1.2.0
- files_sharing: 1.21.0
- files_trashbin: 1.19.0
- files_versions: 1.22.0
- firstrunwizard: 2.18.0
- lookup_server_connector: 1.17.0
- notifications: 2.17.0
- oauth2: 1.17.1
- password_policy: 1.19.0
- photos: 2.5.0
- privacy: 1.13.0
- provisioning_api: 1.19.0
- recommendations: 2.1.0
- related_resources: 1.4.0
- richdocuments: 8.4.9
- richdocumentscode: 24.4.1103
- settings: 1.12.0
- sharebymail: 1.19.0
- support: 1.12.0
- survey_client: 1.17.0
- systemtags: 1.19.0
- text: 3.10.1
- theming: 2.4.0
- twofactor_backupcodes: 1.18.0
- updatenotification: 1.19.1
- user_ldap: 1.20.0
- user_status: 1.9.0
- viewer: 2.3.0
- weather_status: 1.9.0
- workflowengine: 2.11.0
Disabled:
- admin_audit
- announcementcenter: 7.0.1
- bruteforcesettings: 2.9.0
- configreport: 0.2.1
- customgroups
- encryption
- enterprise_key
- external: 5.4.1
- files_antivirus: 5.6.1
- files_classifier
- files_external_dropbox
- files_external_ftp
- files_ldap_home
- files_lifecycle
- files_mediaviewer: 1.0.5
- files_rightclick: 1.6.0
- files_texteditor: 2.15.1
- files_videoplayer
- firewall
- gallery: 16.1.2
- graphapi
- logreader: 2.13.0
- market: 0.7.0
- metrics
- nextcloud_announcements: 1.17.0
- openidconnect
- ransomware_protection: 1.14.0
- serverinfo: 1.18.0
- suspicious_login
- systemtags_management
- templateeditor: 0.4.0
- theme-enterprise
- twofactor_totp
- user_shibboleth
- web
- windows_network_drive
- workflow
Configuration (config/config.php)
{
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "29.0.11.1",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"versions": "false",
"theme": "",
"maintenance": false,
"maintenance_window_start": 1,
"ldapIgnoreNamingRules": false,
"trusted_domains": [
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***",
"***REMOVED SENSITIVE VALUE***"
],
"secret": "***REMOVED SENSITIVE VALUE***",
"log_type": "owncloud",
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"loglevel": 4,
"trashbin_retention_obligation": "auto",
"singleuser": false,
"allow_user_to_change_mail_address": "",
"mysql.utf8mb4": true,
"overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"default_phone_region": "de",
"htaccess.RewriteBase": "\/",
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\Movie",
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\BMP",
"OC\\Preview\\XBitmap",
"OC\\Preview\\MP3",
"OC\\Preview\\MP4",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\PDF",
"OC\\Preview\\TIFF"
],
"app_install_overwrite": [
"files_mediaviewer",
"richdocuments"
],
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25"
}
Cron Configuration: Array
(
[backgroundjobs_mode] => cron
[lastcron] => 1737622202
)
External storages: yes
External storage configuration
``` No mounts configured ```Subscription:
- No valid subscription key set
Browser: unknown