Nextcloud all in one Large files fail, but do they?

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

Nextcloud version (eg, 29.0.5): Nextcloud Hub 8 (29.0.3)
Operating system and version (eg, Ubuntu 24.04): Ubuntu 24.04 LTS SERVER
Apache or nginx version (eg, Apache 2.4.25): jc21/nginx-proxy-manager:latest, no nginx on both where nextcloud is nor where NPM is running
PHP version (eg, 8.3): 8.2.20

The issue you are facing:
i run Proxmox with a vm with the nextcloud and one with the reverse proxy.
So its a bit complicated. Firstly i had filebrowser, it worked perfectly, i used docker compose. I wanted more so i tried a bunch of stuff, they didnt work as i wanted. Nextcloud AIO did, but it was a bit of a hurdle to set up because i was not used to docker compose. i managed to set it up, everything worked fine, the first install though it had some errors in my setup worked fine it was just that it used the root disk like the main disk. second install and third was bad i did multiple errors. but the latest one all is good. but im getting a problem when i upload files larger than(i dont know how large). 1 gig files work fine though a quite long finising proccess. 2.3 gig did not work in the begiunning but now suddenly works. but eveything above just gives me “couldnt upload some files” and “Unknown error during upload” though now it just gives me the second one after enabling proxied in cloudflare
for some reason sometimes the file shows up after another upload(a smaller file) and other times not, but then it is a file, like it is downloabable.

Is this the first time you’ve seen this error? (Y/N):
Y, but i have had it for a while, i have been searching for an answer.
Steps to replicate it:

  1. Normal install of Nextcloud AIO using docker compose, use the default compose.yml
  2. edit settings to my liking, im running behind reverse proxy so apache port and adress, the adress to my vm with my contanier
services:
  nextcloud-aio-mastercontainer:
    image: nextcloud/all-in-one:latest
    init: true
    restart: always
    container_name: nextcloud-aio-mastercontainer
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro
    ports:
      - "8080:8080"
    environment:
      APACHE_PORT: 32323
      APACHE_IP_BINDING: 192.168.1.187 Local ip of my Nextcloud instance, the vms ip
      NEXTCLOUD_DATADIR: /mnt/SSD/Nextcloud
      NEXTCLOUD_UPLOAD_LIMIT: 100G
      NEXTCLOUD_MAX_TIME: 3600
      NEXTCLOUD_MEMORY_LIMIT: 2500M


volumes:
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer # This line is not allowed to be 
  1. point domain to public ip(i use cloudflare as dns)
  2. nginx proxy manager makes a ssl cert for it and point it to my vm with my nextcloud at 32323.
  3. use it as normally, disable apps some apps, made and edited users was all i did.

The output of your Nextcloud log in Admin > Logging:

|Error|webdav|ServiceUnavailableCould not open file|"Jul 10, 2024, 1:06:11 PM"||
| --- | --- | --- | --- | --- |

|Error|no app in context|ServiceUnavailableCould not open file|"Jul 10, 2024, 1:06:11 PM"||

|Error|webdav|ServiceUnavailableCould not open file|"Jul 10, 2024, 1:00:31 PM"||
|Error|no app in context|ServiceUnavailableCould not open file|"Jul 10, 2024, 1:00:31 PM"||

|Error|webdav|ServiceUnavailableCould not open file|"Jul 10, 2024, 12:47:08 PM"||

|Error|no app in context|ServiceUnavailableCould not open file|"Jul 10, 2024, 12:47:08 PM"||

|Error|webdav|ServiceUnavailableCould not open file|"Jul 10, 2024, 12:36:15 PM"||
|Error|no app in context|ServiceUnavailableCould not open file|"Jul 10, 2024, 12:36:15 PM"||

|Error|PHP|TypeError: OCA\UserStatus\Controller\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /var/www/html/apps/user_status/lib/Controller/UserStatusController.php#55|"Jul 10, 2024, 12:33:07 PM"||

|Error|PHP|TypeError: OCA\UserStatus\Controller\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /var/www/html/apps/user_status/lib/Controller/UserStatusController.php#55|"Jul 10, 2024, 12:32:38 PM"|

my php:

<?php
$CONFIG = array (
  'one-click-instance' => true,
  'one-click-instance.user-limit' => 100,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'appsallowlist' => false,
  'check_data_directory_permissions' => false,
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'nextcloud-aio-redis',
    'password' => '27ee9dd2a80affa60410daa2d47ad03b5658b65b99046fec',
    'port' => 6379,
  ),
  'overwritehost' => 'SCRUBBED',
  'overwriteprotocol' => 'https',
  'passwordsalt' => 'SCRUBBED',
  'secret' => 'SCRUBBED',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => 'SCRUBBED',
  ),
  'datadirectory' => '/mnt/ncdata',
  'dbtype' => 'pgsql',
  'version' => '29.0.3.4',
  'overwrite.cli.url' => 'SCRUBBED/',
  'dbname' => 'nextcloud_database',
  'dbhost' => 'nextcloud-aio-database:5432',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_nextcloud',
  'dbpassword' => 'SCRUBBED',
  'installed' => true,
  'instanceid' => 'oc5lakudbscw',
  'maintenance' => false,
  'loglevel' => 2,
  'log_type' => 'file',
  'logfile' => '/var/www/html/data/nextcloud.log',
  'log_rotate_size' => 10485760,
  'log.condition' =>
  array (
    'apps' =>
    array (
      0 => 'admin_audit',
    ),
  ),
  'preview_max_x' => 2048,
  'preview_max_y' => 2048,
  'jpeg_quality' => 60,
  'enabledPreviewProviders' =>
  array (
    1 => 'OC\\Preview\\Image',
    2 => 'OC\\Preview\\MarkDown',
    3 => 'OC\\Preview\\MP3',
    4 => 'OC\\Preview\\TXT',
    5 => 'OC\\Preview\\OpenDocument',
    6 => 'OC\\Preview\\Movie',
    7 => 'OC\\Preview\\Krita',
    0 => 'OC\\Preview\\Imaginary',
  ),
  'enable_previews' => true,
  'upgrade.disable-web' => true,
  'mail_smtpmode' => 'smtp',
  'trashbin_retention_obligation' => 'auto, 30',
  'versions_retention_obligation' => 'auto, 30',
  'activity_expire_days' => 30,
  'simpleSignUpLink.shown' => false,
  'share_folder' => '/Shared',
  'one-click-instance.link' => 'https://nextcloud.com/all-in-one/',
  'upgrade.cli-upgrade-link' => 'https://github.com/nextcloud/all-in-one/discussions/2726',
  'updatedirectory' => '/nc-updater',
  'maintenance_window_start' => 100,
  'allow_local_remote_servers' => true,
  'davstorage.request_timeout' => 3600,
  'htaccess.RewriteBase' => '/',
  'dbpersistent' => false,
  'auth.bruteforce.protection.enabled' => true,
  'ratelimit.protection.enabled' => true,
  'files_external_allow_create_new_local' => false,
  'trusted_proxies' =>
  array (
    0 => '127.0.0.1',
    1 => '::1',
    10 => '172.20.0.0/16',
  ),
  'preview_imaginary_url' => 'http://nextcloud-aio-imaginary:9000',
  'preview_imaginary_key' => '664d14faf8f4735d84acdda206a896d5fe8247deedf52cf7',

nothing in supervisored

Thank you!
small things to note:
it does not work if the dns is proxied or not
the reverse proxy and AIO is NOT on the same vm.
The AIO Vm Has 5 intel 8250u cores and 3 gigs of ram, ram i can give more of, but it dosent seem to go much high than 600.
load reaches about 1.6 normally when uploading in the end.
This is my php showing inside Nextcloud:

Version: 8.2.20

Memory limit: 2.4 GB

Max execution time: 3600

Upload max size: 100 GB

OPcache Revalidate Frequency: 60

Extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, hash, iconv, json, mbstring, SPL, session, PDO, pdo_sqlite, bz2, posix, random, readline, Reflection, standard, SimpleXML, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, bcmath, Phar, exif, ftp, gd, gmp, igbinary, imagick, imap, intl, ldap, memcached, pcntl, pdo_pgsql, pgsql, redis, smbclient, sodium, sysvsem, zip, libsmbclient, Zend OPcache and
Type: pgsql

Version: PostgreSQL 16.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit

Size: 16.4 MB

1 Like

Uploading how? From the Web UI? As a logged in user? As a public upload? From one of the official clients? From something else?

|Error|PHP|TypeError: OCA\UserStatus\Controller\UserStatusController::__construct(): Argument #3 ($userId) must be of type string, null given at /var/www/html/apps/user_status/lib/Controller/UserStatusController.php#55|"Jul 10, 2024, 12:33:07 PM"

Please make sure Cache Assets is not enabled in NPM.

1 Like

Cache assets is not on, though common exploit and websocket is. Force ssl and http/2 is on and currently none advanced, though i have tried multiple, if you want i could give you the list i normally use, and i used for filebrowser(another cloud storage to self host)
This is uploading from the web ui in the browser as a logged in user and i have tried as admin. I have the client for Desktop but it seems i can only sync not upload from it. uploading a 4 gig file gives me (in the web ui)
“Some files could not be uploaded” but now it seems only the one under appears
“Unknown error during upload”
But this only happends in the END
i have * 83 errors in the logs since July 3, 2024, 6:37:46 PM
so Still Errorno app in context ServiceUnavailable Could not open file

Please post the actual full (raw) log entry. We need the stack trace.

For the most part file size shouldn’t be relevant, since you’re using the Web UI which will use chunking.

Where are you uploading to? Your home directory? External Storage? etc.

Im uploading to a directory on the drive that is mounted using the env varibale datadir
and where would i be able to get the full raw log?

where would i be able to get the full raw log?

One way is to use the 3 dot menu to the right of an entry of interest and select “Copy raw entry”.

Im getting new errors now, they are diffrent applicaqtons but same message first one WEBDAV

{"reqId":"mj3rTvJBkuPN9JgiQgXU","level":3,"time":"2024-07-10T21:11:19+00:00","remoteAddr":"192.168.1.222","user":"eskil","app":"webdav","method":"MOVE","url":"/remote.php/dav/uploads/eskil/web-file-upload-b8b858e3ac57d8c3/.file","message":"Could not open file","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36","version":"29.0.3.4","exception":{"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Could not open file","Code":0,"Trace":[{"file":"/var/www/html/apps/dav/lib/Upload/AssemblyStream.php","line":294,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Upload/AssemblyStream.php","line":164,"function":"getStream","class":"OCA\\DAV\\Upload\\AssemblyStream","type":"->","args":[["OCA\\DAV\\Connector\\Sabre\\File"]]},{"function":"stream_read","class":"OCA\\DAV\\Upload\\AssemblyStream","type":"->","args":[8192]},{"file":"/var/www/html/3rdparty/icewind/streams/src/Wrapper.php","line":55,"function":"fread","args":["*** sensitive parameters replaced ***",8192]},{"file":"/var/www/html/3rdparty/icewind/streams/src/CallbackWrapper.php","line":96,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->","args":[8192]},{"function":"stream_read","class":"Icewind\\Streams\\CallbackWrapper","type":"->","args":[8192]},{"file":"/var/www/html/lib/private/Files/Storage/Local.php","line":339,"function":"file_put_contents","args":["/mnt/ncdata/eskil/files/General/ChainedTogether.zip.ocTransferId1422365072.part",null]},{"file":"/var/www/html/lib/private/Files/Storage/Local.php","line":650,"function":"file_put_contents","class":"OC\\Files\\Storage\\Local","type":"->","args":["files/General/ChainedTogether.zip.ocTransferId1422365072.part",null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":653,"function":"writeStream","class":"OC\\Files\\Storage\\Local","type":"->","args":["files/General/ChainedTogether.zip.ocTransferId1422365072.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":653,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/General/ChainedTogether.zip.ocTransferId1422365072.part",null,null]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":250,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/General/ChainedTogether.zip.ocTransferId1422365072.part",null]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php","line":148,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":325,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":151,"function":"copyNode","class":"Sabre\\DAV\\Tree","type":"->","args":[["OCA\\DAV\\Upload\\FutureFile"],["OCA\\DAV\\Connector\\Sabre\\Directory"],"*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":181,"function":"copy","class":"Sabre\\DAV\\Tree","type":"->","args":["uploads/eskil/web-file-upload-b8b858e3ac57d8c3/.file","files/eskil/General/ChainedTogether.zip"]},{"file":"/var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php","line":94,"function":"move","class":"Sabre\\DAV\\Tree","type":"->","args":["uploads/eskil/web-file-upload-b8b858e3ac57d8c3/.file","files/eskil/General/ChainedTogether.zip"]},{"file":"/var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php","line":76,"function":"performMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->","args":["uploads/eskil/web-file-upload-b8b858e3ac57d8c3/.file","files/eskil/General/ChainedTogether.zip"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->","args":["uploads/eskil/web-file-upload-b8b858e3ac57d8c3/.file","files/eskil/General/ChainedTogether.zip"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":603,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["beforeMove",["uploads/eskil/web-file-upload-b8b858e3ac57d8c3/.file","files/eskil/General/ChainedTogether.zip"]]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMove","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:MOVE",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":379,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":172,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","Line":505,"message":"Could not open file","exception":[],"CustomMessage":"Could not open file"},"id":"668efade81b8a"}

second is no app in context

{"reqId":"mj3rTvJBkuPN9JgiQgXU","level":3,"time":"2024-07-10T21:11:19+00:00","remoteAddr":"192.168.1.222","user":"eskil","app":"no app in context","method":"MOVE","url":"/remote.php/dav/uploads/eskil/web-file-upload-b8b858e3ac57d8c3/.file","message":"Could not open file","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36","version":"29.0.3.4","exception":{"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Could not open file","Code":0,"Trace":[{"file":"/var/www/html/apps/dav/lib/Upload/AssemblyStream.php","line":294,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Upload/AssemblyStream.php","line":164,"function":"getStream","class":"OCA\\DAV\\Upload\\AssemblyStream","type":"->","args":[["OCA\\DAV\\Connector\\Sabre\\File"]]},{"function":"stream_read","class":"OCA\\DAV\\Upload\\AssemblyStream","type":"->","args":[8192]},{"file":"/var/www/html/3rdparty/icewind/streams/src/Wrapper.php","line":55,"function":"fread","args":["*** sensitive parameters replaced ***",8192]},{"file":"/var/www/html/3rdparty/icewind/streams/src/CallbackWrapper.php","line":96,"function":"stream_read","class":"Icewind\\Streams\\Wrapper","type":"->","args":[8192]},{"function":"stream_read","class":"Icewind\\Streams\\CallbackWrapper","type":"->","args":[8192]},{"file":"/var/www/html/lib/private/Files/Storage/Local.php","line":339,"function":"file_put_contents","args":["/mnt/ncdata/eskil/files/General/ChainedTogether.zip.ocTransferId1422365072.part",null]},{"file":"/var/www/html/lib/private/Files/Storage/Local.php","line":650,"function":"file_put_contents","class":"OC\\Files\\Storage\\Local","type":"->","args":["files/General/ChainedTogether.zip.ocTransferId1422365072.part",null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":653,"function":"writeStream","class":"OC\\Files\\Storage\\Local","type":"->","args":["files/General/ChainedTogether.zip.ocTransferId1422365072.part",null,null]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":653,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/General/ChainedTogether.zip.ocTransferId1422365072.part",null,null]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","line":250,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files/General/ChainedTogether.zip.ocTransferId1422365072.part",null]},{"file":"/var/www/html/apps/dav/lib/Connector/Sabre/Directory.php","line":148,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":325,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":151,"function":"copyNode","class":"Sabre\\DAV\\Tree","type":"->","args":[["OCA\\DAV\\Upload\\FutureFile"],["OCA\\DAV\\Connector\\Sabre\\Directory"],"*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Tree.php","line":181,"function":"copy","class":"Sabre\\DAV\\Tree","type":"->","args":["uploads/eskil/web-file-upload-b8b858e3ac57d8c3/.file","files/eskil/General/ChainedTogether.zip"]},{"file":"/var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php","line":94,"function":"move","class":"Sabre\\DAV\\Tree","type":"->","args":["uploads/eskil/web-file-upload-b8b858e3ac57d8c3/.file","files/eskil/General/ChainedTogether.zip"]},{"file":"/var/www/html/apps/dav/lib/Upload/ChunkingPlugin.php","line":76,"function":"performMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->","args":["uploads/eskil/web-file-upload-b8b858e3ac57d8c3/.file","files/eskil/General/ChainedTogether.zip"]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"beforeMove","class":"OCA\\DAV\\Upload\\ChunkingPlugin","type":"->","args":["uploads/eskil/web-file-upload-b8b858e3ac57d8c3/.file","files/eskil/General/ChainedTogether.zip"]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":603,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["beforeMove",["uploads/eskil/web-file-upload-b8b858e3ac57d8c3/.file","files/eskil/General/ChainedTogether.zip"]]},{"file":"/var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpMove","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->","args":["method:MOVE",[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[["Sabre\\HTTP\\Request"],["Sabre\\HTTP\\Response"]]},{"file":"/var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/lib/Server.php","line":379,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"/var/www/html/remote.php","line":172,"args":["/var/www/html/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/apps/dav/lib/Connector/Sabre/File.php","Line":505,"message":"Could not open file","exception":[],"CustomMessage":"Could not open file"},"id":"668efade81be7"}

for some reason it varies which of them comes, some times both sometimes only one of them.

A reainstall with normal Nextcloud and fidling with a bunch of stuff, also i deleted the vm and created a new one. This fixed the problem.