NC13 to NC14 upgrade - home directory "This directory is unavailable, please check the logs or contact the administrator"

Steps to reproduce

  1. Upgrade to NC14.0.1 from NC13
  2. Launch Files app

Expected behaviour

Directory of current user should be displayed.

Actual behaviour

For some users the web browser windows stays empty, error message displayed: “This directory is unavailable, please check the logs or contact the administrator”

For same users the error message when is used nextcloud windows application: “Internal Server Error”, or when is used mobile app ios and try to refresh: “Request failed: internal server error (500)”.

Server configuration

Operating system : linux debian version: 9.5

Web server: nginx version: nginx/1.10.3

Database: MariaDB: Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1

PHP version: 7

Nextcloud version: 14.0.1

Updated from an older Nextcloud/ownCloud or fresh install: updated from 13

Where did you install Nextcloud from: webupdate

Signing status:

No errors have been found.

List of activated apps:
Enabled:

  • accessibility: 1.0.1
  • activity: 2.7.0
  • admin_audit: 1.4.0
  • bruteforcesettings: 1.1.0
  • calendar: 1.6.2
  • cloud_federation_api: 0.0.1
  • comments: 1.4.0
  • contacts: 2.1.6
  • dav: 1.6.0
  • federatedfilesharing: 1.4.0
  • files: 1.9.0
  • files_pdfviewer: 1.3.2
  • files_sharing: 1.6.2
  • files_texteditor: 2.6.0
  • files_trashbin: 1.4.1
  • files_versions: 1.7.1
  • files_videoplayer: 1.3.0
  • firstrunwizard: 2.3.0
  • gallery: 18.1.0
  • logreader: 2.0.0
  • lookup_server_connector: 1.2.0
  • mail: 0.10.0
  • nextcloud_announcements: 1.3.0
  • notes: 2.4.2
  • notifications: 2.2.1
  • oauth2: 1.2.1
  • password_policy: 1.4.0
  • provisioning_api: 1.4.0
  • serverinfo: 1.4.0
  • sharebymail: 1.4.0
  • support: 1.0.0
  • systemtags: 1.4.0
  • theming: 1.5.0
  • twofactor_backupcodes: 1.3.1
  • updatenotification: 1.4.1
  • workflowengine: 1.4.0

Disabled:

  • apporder
  • audioplayer
  • deck
  • encryption
  • federation
  • files_external
  • ocsms
  • previewgenerator
  • survey_client
  • tasks
  • user_external
  • user_ldap

The content of config/config.php:

sudo -u www-data php occ config:list system

{
“system”: {
“instanceid”: “REMOVED SENSITIVE VALUE”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
REMOVED SENSITIVE VALUE”,
REMOVED SENSITIVE VALUE
],
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“overwrite.cli.url”: “REMOVED SENSITIVE VALUE”,
“dbtype”: “mysql”,
“version”: “14.0.1.1”,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbport”: “”,
“dbtableprefix”: “oc_”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“logtimezone”: “Europe/Berlin”,
“log_type”: “owncloud”,
“logfile”: “/var/log/nextcloud.log”,
“loglevel”: “3”,
“log_rotate_size”: “104857600”,
“installed”: true,
“memcache.local”: “\OC\Memcache\APCu”,
“mail_smtpmode”: “smtp”,
“mail_smtpsecure”: “ssl”,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“mail_smtpauthtype”: “PLAIN”,
“mail_smtphost”: “REMOVED SENSITIVE VALUE”,
“mail_smtpport”: “465”,
“mail_smtpauth”: 1,
“mail_smtpname”: “REMOVED SENSITIVE VALUE”,
“mail_smtppassword”: “REMOVED SENSITIVE VALUE”,
“maintenance”: false,
“theme”: “”,
“debug”: true,
“check_for_working_webdav”: true,
“enable_previews”: true,
“auth.bruteforce.protection.enabled”: true,
“updater.release.channel”: “stable”,
“updater.secret”: “REMOVED SENSITIVE VALUE
}
}

Are you using external storage, if yes which one: no

Are you using encryption: no

Are you using an external user-backend, if yes which one: none

Client configuration

**Browser:**Mozila, Chrome, Microsoft Edge

Operating system: Windows

I have the same issue. In log file error :

url":"/ocs/v1.php/apps/files_sharing/api/v1/shares?format=json&shared_with_me=true&include_tags=true",“message”:{“Exception”:“OCP\Files\StorageNotAvailableException”,“Message”:"File with id “465554” has not been found

This file is in Bd and on the directory data. This file is shared by another user.

Server : linux centos 7 apache/php-fpm

Version 14.0.2 RC 1 fix my problem.
Thank

For some reasons the ID corespond to old renamed file and which was in a folder shared to multiple users, was not deleted when the file renamed was removed. The upgrade solve the issue.