Support intro
Sorry to hear youâre facing problems
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:
- Normal install of Nextcloud AIO using docker compose, use the default compose.yml
- 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
- point domain to public ip(i use cloudflare as dns)
- nginx proxy manager makes a ssl cert for it and point it to my vm with my nextcloud at 32323.
- 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