Shared folders don't work

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 30.0.0 beta 4
  • Operating system and version (e.g., Ubuntu 24.04):
    • OVH shared hosting
  • Web server and version (e.g, Apache 2.4.25):
    • N/A
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • N/A
  • PHP version (e.g, 8.3):
    • 8.3
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • After upgrade to version 30.0.0 beta 4
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Archive
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • replace me

Summary of the issue you are facing:

Shared folders are not accessible from the user they are shared with.

When you log in with that user you see the shared folder named like

Myfolder (2)

and when you ty accessing it, no content is shown and the name is changed to

Myfolder (2) (2)

and every time the name gets more and more (2)s

Steps to replicate it (hint: details matter!):

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

PASTE HERE

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

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

PASTE HERE

Configuration

Nextcloud

{
“system”: {
“instanceid”: “REMOVED SENSITIVE VALUE”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“cloud..it",
"collabora.
.it”
],
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“overwrite.cli.url”: “https://cloud.***.it”,
“dbtype”: “mysql”,
“version”: “33.0.0.10”,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbport”: “”,
“dbtableprefix”: “oc_”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“installed”: true,
“mail_smtpmode”: “smtp”,
“mail_smtpauthtype”: “PLAIN”,
“mail_smtpsecure”: “ssl”,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“mail_smtpauth”: 1,
“mail_smtphost”: “REMOVED SENSITIVE VALUE”,
“mail_smtpname”: “REMOVED SENSITIVE VALUE”,
“mail_smtppassword”: “REMOVED SENSITIVE VALUE”,
“maintenance”: false,
“theme”: “”,
“loglevel”: 3,
“updater.release.channel”: “beta”,
“mail_smtpport”: “465”,
“app_install_overwrite”: {
“0”: “dashboard”,
“app.mail.transport”: “php-mail”,
“1”: “spreed”,
“2”: “spreedme”,
“3”: “impersonate”,
“4”: “files_readmemd”,
“5”: “onlyoffice”,
“6”: “sharerenamer”,
“7”: “logcleaner”,
“8”: “passwords”,
“9”: “richdocuments”,
“10”: “deck”
},
“mysql.utf8mb4”: false,
“updater.secret”: “REMOVED SENSITIVE VALUE”,
“default_phone_region”: “IT”,
“config_preset”: 7
}
}

PASTE HERE

Apps

The output of occ app:list (if possible).

I’ve disabled all apps, the problem remains

is it true? if yes why are you using this version?

are you talking about web interface? please share browser logs (f12) and web server logs

there was an issue some time ago doubling folders but I think it was related to the client and not web.

There are few older topics with similar issue - take a look Search results for '"(2) (2)" order:latest' - Nextcloud community

I’m using 30.0.0 beta4 since I can afford to have some problems in this instance :slight_smile:

Yes, I’m talking about the web interface. I’ll try to get the logs and I’ll come back here…

Thanks a lot!

To clarify, I am on a shared OVH hosting, so no apache logs available.

Nextcloud logs show no errors on that point, and, as far as I can tell, also browser logs don’t tell nothing useful.

Each time I enter the folder, the number of (2)s bet higher and higher

ex: afolderforyou (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2) (2)

as long it’s not a typo there is no reason to use beta version of the pre-previous release.

in this case I suggest you get in touch with provider support.

my crystal ball is in service right know :face_with_tongue: we need fact to help you

it’s an update the NC proposed in the beta channel

totally understand. But seriously nextcloud log is totally silent about this in the whole process.

I’ve set the log level to Debug and nothing is related to the sharing. Just for thest I shared a file using a (wrong) email address, and in the logs I saw the error. But nothing when the above error happens.

BTW It has the same behavior both for sharing files and folders.

Here’s what happens

hard to imagine but if it’s the case there are still other log like browser log (f12), webserver log and maybe reverse proxy (which might require increased verbosity)..

At the other end beta issues with current NC33 are better reported at Github

I’ve just upgraded to Nextcloud Hub 26 Winter (33.0.0 RC1) but nothing changed.

I’ll try to report the bug, but meanwhile I’d like to hear if someone has the same issue.

Thanks a lot!

Problem seems to have disappeared after upgrading to 33.0.0 RC2 !

EDIT: bug has been marked as closed on github

1 Like