Bug partage nc28

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 28.1):
Operating system and version (eg, Ubuntu 22.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 8.1): `

Since our move to nc 28.01, sharing no longer works.
When you connect to the sharing link, a blank page loops without ever succeeding.
The download button works well.
I would like to find a solution without having to reinstall everything.

Is this the first time you’ve seen this error? (Yes):

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => '*******',
  'passwordsalt' => '*********',
  'datadirectory' => '/mnt/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '28.0.1.1',
  'dbname' => 'nextcloud',
  'dbhost' => 'm****************',
  'dbtableprefix' => 'oc_',
  'dbuser' => '************',
  'dbpassword' => '***************',
  'mysql.utf8mb4' => true,
  'installed' => true,
  'ldapIgnoreNamingRules' => false,
  'logfile' => '/mnt/nextcloud/data/nextcloud.log',
  'loglevel' => 3,
  'logdateformat' => 'F d, Y H:i:s',
  'logtimezone' => 'Europe/Paris',
  'maintenance' => false,
  'mail_smtpmode' => 'smtp',
  'mail_smtphost' => 'm***************',
  'mail_smtpport' => 25,
  'mail_smtpauth' => false,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'filelocking.enabled' => 'true',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '******************',
    'port' => 6379,
    'user' => 'nextcloud',
    'password' => '************************',
  ),
  'trusted_domains' =>
  array (
    0 => 'u**************.fr',
  ),
  'trusted_proxies' =>
  array (
    0 => '*************',
    1 => '*******************',
    2 => '***********',
    3 => '************',
    4 => '******************',
  ),
  'forwarded-for-headers' =>
  array (
    0 => 'HTTP_X_FORWARDED_FOR',
  ),
  'updatechecker' => false,
  array (
    0 => 'HTTP_X_FORWARDED_FOR',
  ),
  'updatechecker' => false,
  'secret' => '****************************************************',
  'share_folder' => '/Shared',
  'default_language' => 'fr',
  'default_locale' => 'fr_FR',
  'default_phone_region' => 'FR',
  'trashbin_retention_obligation' => 'auto',
  'cron_log' => true,
  'overwrite.cli.url' => 'https://*****************',
  'overwriteprotocol' => 'https',
  'htaccess.RewriteBase' => '/',
  'htaccess.IgnoreFrontController' => true,
  'upgrade.disable-web' => true,
);

The output of your Apache/nginx/system log in /var/log/____:

[Thu Feb 22 09:35:48.302509 2024] [proxy_fcgi:error] [pid 1248437:tid 139915866138176] (104)Connection reset by peer: [client 1****************:52398] AH01075: Error dispatching request to :
[Thu Feb 22 09:35:48.529317 2024] [proxy_fcgi:error] [pid 1248438:tid 139916828452416] [client 1****************:52400] AH01067: Failed to read FastCGI header
[Thu Feb 22 09:35:48.529352 2024] [proxy_fcgi:error] [pid 1248438:tid 139916828452416] (104)Connection reset by peer: [client 1****************:52400] AH01075: Error dispatching request to :
[Thu Feb 22 09:35:48.630044 2024] [proxy_fcgi:error] [pid 1248438:tid 139916033893952] [client 1****************:52410] AH01067: Failed to read FastCGI header
[Thu Feb 22 09:35:48.630075 2024] [proxy_fcgi:error] [pid 1248438:tid 139916033893952] (104)Connection reset by peer: [client 1****************:52410] AH01075: Error dispatching request to :
[Thu Feb 22 09:35:48.662137 2024] [proxy:error] [pid 1248438:tid 139916478510656] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php8.1-fpm.sock (*) failed
[Thu Feb 22 09:35:48.662222 2024] [proxy_fcgi:error] [pid 1248438:tid 139916478510656] [client 1****************:52422] AH01079: failed to make connection to backend: httpd-UDS
[Thu Feb 22 09:35:48.684358 2024] [proxy:error] [pid 1248437:tid 139916428154432] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php8.1-fpm.sock (*) failed
[Thu Feb 22 09:35:48.684410 2024] [proxy_fcgi:error] [pid 1248437:tid 139916428154432] [client 1****************:52426] AH01079: failed to make connection to backend: httpd-UDS
[Thu Feb 22 09:35:56.900552 2024] [access_compat:error] [pid 1248437:tid 139915471877696] [client 1****************:52450] AH01797: client denied by server configuration: /var/www/html/nextcloud/config
[Thu Feb 22 09:35:59.960872 2024] [access_compat:error] [pid 1248437:tid 139915329267264] [client 1****************:45026] AH01797: client denied by server configuration: /var/www/html/nextcloud/config
[Thu Feb 22 09:36:09.689148 2024] [access_compat:error] [pid 1248438:tid 139916453332544] [client 86.212.122.147:0] AH01797: client denied by server configuration: /var/www/html/nextcloud/config
[Thu Feb 22 09:42:35.609388 2024] [core:info] [pid 1248438:tid 139916059072064] [client 1****************:47020] AH00128: File does not exist: /var/www/html/nextcloud/favicon.ico, referer: https://uabox.univ-angers.fr/index.php/s/pBMWKXyuICxb8Mz

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

{"reqId":"imVZ44kYghhxzYPZYA8i","level":2,"time":"2024-02-15T12:17:13+00:00","remoteAddr":"1***********","user":"--","app":"no app in context","method":"GET","url":"/status.php","message":"Request does not pass strict cookie check","userAgent":"Mozilla/5.0 (Windows) mirall/3.12.0stable-Win64 (build 20240213) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"","data":[]}
{"reqId":"DMyaUXeqfgguQBGY9fau","level":3,"time":"2024-02-15T12:18:04+00:00","remoteAddr":"1**********","user":"herve.lecorronc","app":"index","method":"GET","url":"/index.php/apps/theming/favicon?v=3aa1583a","message":"Could not create folder \"/appdata_oc8r5ao24a3n/theming/global\"","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"28.0.1.1","exception":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Could not create folder \"/appdata_oc8r5ao24a3n/theming/global\"","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/Files/AppData/AppData.php","line":147,"function":"newFolder","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/html/nextcloud/apps/theming/lib/ImageManager.php","line":367,"function":"newFolder","class":"OC\\Files\\AppData\\AppData","type":"->"},{"file":"/var/www/html/nextcloud/apps/theming/lib/ImageManager.php","line":101,"function":"getRootFolder","class":"OCA\\Theming\\ImageManager","type":"->"},{"file":"/var/www/html/nextcloud/apps/theming/lib/Controller/IconController.php","line":127,"function":"getImage","class":"OCA\\Theming\\ImageManager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getFavicon","class":"OCA\\Theming\\Controller\\IconController","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":39,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/Files/Node/Folder.php","Line":162,"message":"Could not create folder \"/appdata_oc8r5ao24a3n/theming/global\"","exception":{},"CustomMessage":"Could not create folder \"/appdata_oc8r5ao24a3n/theming/global\""}}
{"reqId":"uZk2rlYY9lFi9e89HPBH","level":2,"time":"2024-02-15T12:18:12+00:00","remoteAddr":"1**************","user":"--","app":"core","method":"PROPFIND","url":"/remote.php/dav/files/200002609/","message":"Login failed: 'laurent.daburon' (Remote IP: '193.49.144.242')","userAgent":"Mozilla/5.0 (Windows) mirall/2.3.1 (build 6824)","version":"28.0.1.1","data":{"app":"core"}}

Update your instance. You’re running an out-of-date installation - the bug you’re describing has already been fixed.

1 Like

In the Administration panel - Sharing
Federated Cloud Sharing
You need to activate the option Allow users on this server to send shares to other servers