"All Files" can't be accesed (seems to be empty when it isn't and +New is disabled)

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

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:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud Hub 8 (29.0.6)
  • Operating system and version (e.g., Ubuntu 24.04):
    • openSUSE Leap 15.6
  • Web server and version (e.g, Apache 2.4.25):
    • Name : apache2 Version : 2.4.58-150600.5.29.1 Arch : x86_64 Vendor : SUSE LLC <https://www.suse.com/>
  • PHP version (e.g, 8.3):
    • Name : php8 Version : 8.2.26-150600.3.9.1
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • Today
  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.)
    • Archive
  • Are you using Cloudflare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

Access to “All files” or almost anything in the left menu of the web access returns a “no files in here” screen with the +New button dissabled.
It happens with “All files” “group folders” “deleted files” (I have deleted a file as test, it does not appear here) “shared with you”
I only can access to “favorites” and through it to other files and folders (I have checked, all files and folders are there, I can access through the desktop app or the mobile app and they are in its place in the /srv/www/htdocs/nextcloud… folder)
Now I CAN access “shared with others” “shared by link” and some others, I don’t know why (I have been disabling and removing apps and trying some stuff)
I can’t access Documents by its url:
https://miserver/nextcloud/index.php/apps/files/files?dir=Documents (in screen is “All Files>Documents”)
but I can access to it through favorites
https://myserver/nextcloud/index.php/apps/files/favorites?dir=/Documents
or even better, I go to “Shared with others” (https://myserver/nextcloud/index.php/apps/files/sharingout), then I click on one shared folder (that is inside Documents), in the top of the screen I have the path: “All files>Documents>thesharedfolder” then I click over “Documents” and I CAN access “Documents” and the url is https://myserver/nextcloud/index.php/apps/files/files?dir=/Documents … yes, the same URL I CAN’T access if I type it directly… and any other file/folder under it.

I have tried to restart the server and the client, use other browser, all the same.
It’s not system wide, it is just for my user, I have tried with other user and it does not happen. I have created a test user, it works fine.
I have done sudo -u wwwrun php /srv/www/htdocs/nextcloud/occ files:scan myuser

I have a warning
Your web server is not properly set up to resolve .well-known URLs, failed on: /.well-known/webfinger in my configuration (since the last upgrade of nextcloud, I think it is not related)

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.

I have a warning in the log I think may be related (repeats lots of times)

Warning	no app in context	
ClientException Client error: `GET http://otherserver/nextcloud/ocm-provider/` resulted in a `404 Not Found` response: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/ (truncated...)
error while discovering ocm provider 

It is because of a federated share. I’m searching for a way to delete the federation, but I can’t find the way to do it as I can access “All files”

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!):

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "mydomain.com.es"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.6.1",
        "overwrite.cli.url": "https:\/\/samara.com.es\/nextcloud",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "app_install_overwrite": [
            "gpxedit",
            "deck",
            "maps",
            "forms"
        ],
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "default_phone_region": "ES",
        "mail_smtpsecure": "ssl",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "trashbin_retention_obligation": "auto, 365",
        "logtimezone": "Europe\/Paris",
        "maintenance_window_start": 1
    }
}

Apps

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

Enabled:

  • activity: 2.21.1
  • admin_audit: 1.19.0
  • analytics: 5.2.0
  • breezedark: 29.0.0
  • calendar: 4.7.16
  • circles: 29.0.0-dev
  • cloud_federation_api: 1.12.0
  • comments: 1.19.0
  • contacts: 6.0.1
  • contactsinteraction: 1.10.0
  • dashboard: 7.9.0
  • dav: 1.30.1
  • deck: 1.13.3
  • federatedfilesharing: 1.19.0
  • federation: 1.19.0
  • files: 2.1.1
  • files_accesscontrol: 1.19.1
  • 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
  • files_zip: 2.1.0
  • forms: 4.3.4
  • gpxpod: 5.0.18
  • groupfolders: 17.0.7
  • logreader: 2.14.0
  • lookup_server_connector: 1.17.0
  • mail: 3.7.15
  • maps: 1.4.0
  • notes: 4.11.0
  • notifications: 2.17.0
  • oauth2: 1.17.0
  • password_policy: 1.19.0
  • photos: 2.5.0
  • polls: 7.2.5
  • privacy: 1.13.0
  • provisioning_api: 1.19.0
  • quicknotes: 0.8.23
  • recommendations: 2.1.0
  • related_resources: 1.4.0
  • richdocuments: 8.4.9
  • serverinfo: 1.19.0
  • settings: 1.12.0
  • sharebymail: 1.19.0
  • side_menu: 3.13.1
  • socialsharing_telegram: 3.2.0
  • spreed: 19.0.11
  • support: 1.12.0
  • survey_client: 1.17.0
  • suspicious_login: 7.0.0
  • systemtags: 1.19.0
  • tasks: 0.16.1
  • text: 3.10.1
  • theming: 2.4.0
  • twofactor_backupcodes: 1.18.0
  • updatenotification: 1.19.1
  • user_status: 1.9.0
  • viewer: 2.3.0
  • weather_status: 1.9.0
  • workflowengine: 2.11.0
    Disabled:
  • bruteforcesettings: 2.9.0
  • encryption: 2.17.0
  • files_downloadlimit: 2.0.0 (installed 2.0.0)
  • firstrunwizard: 2.18.0 (installed 2.18.0)
  • nextcloud_announcements: 1.18.0 (installed 1.18.0)
  • twofactor_totp: 11.0.0-dev
  • user_ldap: 1.20.0

I have solved my main problem although I don’t know what the problem was.
I tried to upgrade from 29.0.6 to 29.0.10 throuth the web updater, the upgrade failed at “backup” with no error message. I searched and see that some people report similar problems with upgrade becasuse of files not owned by the web server, so I did:

# chown -R wwwrun.www /srv/www/htdocs/nextcloud

Before trying again the upgrade I tried to acccess “All files” but I couldn’t. Then I tried the upgrade and it worked.
Then I can access “All files”, problem solved, although the warning I reported continues there and I can’t “leave this share”, it does not work.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.