[Solved] Error in Logs - Failed to open stream: No such file or directory at

Hi

I have been running Nextcloud for the past 6 months, just recently I have been getting these error messages.

[PHP] Error: copy(//var/www/mini-nc.vincat.dev/data/catherine/GreyNomad Budget.ods): Failed to open stream: No such file or directory at /var/www/mini-nc.vincat.dev/lib/private/Files/Storage/Local.php#413
	POST /index.php/apps/richdocuments/wopi/files/12310_ocz10t0s2wde/contents?access_token=geFKX1BQqDXSYOuHkwvxaC46vJU0AudG&access_token_ttl=0%2Fws%3FWOPISrc%3Dhttps%3A%2F%2Fmini-nc.vincat.dev%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F12310_ocz10t0s2wde&compat=
	from 127.0.0.1 by vincent at 26 May 2024, 8:57:48 am

I also get his when editing the Readme.md file in my directory.

[PHP] Error: Trying to access array offset on value of type null at /var/www/mini-nc.vincat.dev/apps/richdocuments/lib/Service/DiscoveryService.php#152
	POST /index.php/apps/richdocuments/token
	from 192.168.0.157 by vincent at 26 May 2024, 8:57:00 am

Now, the thing is everything seems to work ok, I can in fact open and edit the document with no problems.

Is this something I should be worried about?

Some details about my setup (Generated System Support)

Server configuration detail

Operating system: Linux 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64

Webserver: Apache/2.4.52 (Ubuntu) (apache2handler)

Database: mysql 10.6.16

PHP version: 8.1.2-1ubuntu2.17

Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, exif, msgpack, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, memcached, Zend OPcache

Nextcloud version: 29.0.1 - 29.0.1.1

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status

List of activated apps
Enabled:
 - activity: 2.21.1
 - bookmarks: 14.0.2
 - bruteforcesettings: 2.9.0
 - calendar: 4.7.4
 - circles: 29.0.0-dev
 - cloud_federation_api: 1.12.0
 - comments: 1.19.0
 - contacts: 6.0.0
 - contactsinteraction: 1.10.0
 - dashboard: 7.9.0
 - dav: 1.30.1
 - federatedfilesharing: 1.19.0
 - federation: 1.19.0
 - files: 2.1.0
 - files_downloadlimit: 2.0.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
 - fileslibreofficeedit: 1.1.0
 - firstrunwizard: 2.18.0
 - logreader: 2.14.0
 - lookup_server_connector: 1.17.0
 - memories: 7.3.1
 - nextcloud_announcements: 1.18.0
 - notes: 4.10.0
 - notifications: 2.17.0
 - oauth2: 1.17.0
 - password_policy: 1.19.0
 - photos: 2.5.0
 - previewgenerator: 5.5.0
 - privacy: 1.13.0
 - provisioning_api: 1.19.0
 - qownnotesapi: 24.4.0
 - recognize: 7.0.0
 - recommendations: 2.1.0
 - related_resources: 1.4.0
 - richdocuments: 8.4.2
 - richdocumentscode: 24.4.201
 - serverinfo: 1.19.0
 - settings: 1.12.0
 - sharebymail: 1.19.0
 - support: 1.12.0
 - survey_client: 1.17.0
 - systemtags: 1.19.0
 - tasks: 0.16.0
 - text: 3.10.0
 - 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:
 - admin_audit
 - encryption
 - files_external
 - mail: 3.6.1
 - suspicious_login
 - twofactor_totp
 - user_ldap

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "192.168.0.*",
        "mini-nc.vincat.dev",
        "100.80.106.54",
        "100.67.169.35",
        "mini-nc.taila58c3.ts.net"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "29.0.1.1",
    "overwrite.cli.url": "https:\/\/mini-nc.vincat.dev",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "default_phone_region": "AU",
    "filelocking.enabled": true,
    "maintenance_window_start": 1,
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "memcache.local": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 6379,
        "timeout": 0,
        "password": "***REMOVED SENSITIVE VALUE***"
    },
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_sendmailmode": "smtp",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "587",
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "maintenance": false,
    "app_install_overwrite": [
        "cms_pico",
        "occweb"
    ],
    "memories.exiftool": "\/var\/www\/mini-nc.vincat.dev\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
    "memories.vod.path": "\/var\/www\/mini-nc.vincat.dev\/apps\/memories\/bin-ext\/go-vod-amd64",
    "theme": "",
    "loglevel": 2,
    "memories.db.triggers.fcu": true,
    "memories.gis_type": 1,
    "preview_max_memory": 256,
    "preview_max_x": 2048,
    "preview_max_y": 2048,
    "memories.vod.disable": false,
    "enabledPreviewProviders": [
        "OC\\Preview\\Image",
        "OC\\Preview\\Movie"
    ],
    "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
    "memories.vod.ffprobe": "\/usr\/bin\/ffprobe"
}

Cron Configuration: Array
(
[backgroundjobs_mode] => cron
[lastcron] => 1716681902
)

External storages: files_external is disabled

Encryption: no

User-backends:

  • OC\User\Database

Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0

1 Like

hey @vincat and welcome to the communityforum of NC.

you have filled in all details like we want someone doing that. Perfect! Thank you!

and apparently you solved the problem yourself as you edited the header of your thread to be [solved]
But we on the forum don’t know how exactly you solved it. So would you please be so kind to tell us how you did it in more detail?
That could be of help for everyone having the same problem as you in the future.

thanks in advance

1 Like

Hi

I have been experimenting with remote access, so trying out Tailscale.

I had added Tailscale IP/Hostname to the config.php, while this did work for me, my wifes phone would not accept it.

I removed Tailscale, but left the entries there. After seeing the errors I started back tacking the changes I had made.

2 Likes

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