OK here goes 
The Basics
Dockerised Nextcloud on Debian Buster
- Nextcloud Server version : 30.0.6
- Operating system and version : Linux 4.19.0-26-amd64 x86_64
- Web server and version : no idea , it’s all in the nextcloud docker image
- Reverse proxy and version _(e.g. nginx 1.27.2): Traefik 2
- PHP version (e.g, 8.3): 8.2.27
- Is this the first time you’ve seen this error? (Yes / No): No
- When did this problem seem to first start? Since the beginning
- Installation method : docker
- Are you using Cloudflare, mod_security, or similar? No
Summary of the issue you are facing:
Can’t seem to be able to share files with public link, no link, no button, tried all options in the admin settings to no avail.
Configuration
Nextcloud
The output of occ config:list system
or similar is best, but, if not possible, the contents of your config.php
file from /path/to/nextcloud
is fine (make sure to remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'instanceid' => 'ocvbsxe1h06d',
'passwordsalt' => '...',
'secret' => '...',
'trusted_domains' =>
array (
0 => 'ip:port',
1 => 'subdomain.domain.com',
),
'trusted_proxies' =>
array (
0 => 'ip:port',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '30.0.6.2',
'overwritehost' => 'subdomain.domain.com',
'overwriteprotocol' => 'https',
'overwrite.cli.url' => 'http://ip:port',
'defaultapp' => 'documents',
'dbname' => 'nextcloud',
'dbhost' => 'nextcloud_db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => '/run/secrets/mysql_password',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'username',
'mail_domain' => 'domain.org',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'domain.org',
'mail_smtpport' => '587',
'mail_smtpname' => 'username',
'mail_smtppassword' => '...',
'filelocking.enabled' => true,
'remember_login_cookie_lifetime' => 1800,
'session_lifetime' => 1800,
'session_keepalive' => false,
'auto_logout' => true,
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
0 => 'admin',
),
'twofactor_enforced_excluded_groups' =>
array (
),
'loglevel' => 2,
'maintenance' => false,
'theme' => '',
);
Apps
Enabled:
- activity: 3.0.0
- app_api: 4.0.6
- bruteforcesettings: 3.0.0
- circles: 30.0.0
- cloud_federation_api: 1.13.0
- comments: 1.20.1
- contactsinteraction: 1.11.0
- dashboard: 7.10.0
- dav: 1.31.1
- federatedfilesharing: 1.20.0
- federation: 1.20.0
- files: 2.2.0
- files_downloadlimit: 3.0.0
- files_external: 1.22.0
- files_pdfviewer: 3.0.0
- files_reminders: 1.3.0
- files_sharing: 1.22.0
- files_trashbin: 1.20.1
- files_versions: 1.23.0
- firstrunwizard: 3.0.0
- logreader: 3.0.0
- lookup_server_connector: 1.18.0
- nextcloud_announcements: 2.0.0
- notifications: 3.0.0
- oauth2: 1.18.1
- password_policy: 2.0.0
- photos: 3.0.2
- privacy: 2.0.0
- provisioning_api: 1.20.0
- recommendations: 3.0.0
- related_resources: 1.5.0
- richdocuments: 8.5.3
- serverinfo: 2.0.0
- settings: 1.13.0
- support: 2.0.0
- survey_client: 2.0.0
- systemtags: 1.20.0
- text: 4.1.0
- theming: 2.6.0
- twofactor_backupcodes: 1.19.0
- twofactor_totp: 12.0.0-dev
- updatenotification: 1.20.0
- user_status: 1.10.0
- viewer: 3.0.0
- weather_status: 1.10.0
- webhook_listeners: 1.1.0-dev
- workflowengine: 2.12.0
Disabled:
- admin_audit: 1.20.0
- encryption: 2.18.0
- files_accesscontrol: 1.20.1 (installed 1.20.1)
- files_automatedtagging: 1.20.0 (installed 1.20.0)
- files_rightclick: 0.15.1 (installed 1.6.0)
- integration_jira: 1.2.1 (installed 1.2.1)
- integration_reddit: 2.0.5 (installed 2.0.5)
- sharebymail: 1.20.0 (installed 1.20.0)
- suspicious_login: 8.0.0
- twofactor_admin: 4.7.1 (installed 4.7.1)
- twofactor_nextcloud_notification: 4.0.0
- user_ldap: 1.21.0
- welcome: 1.2.0 (installed 1.2.0)