snowborder714 Posted February 24, 2022 Share Posted February 24, 2022 13 hours ago, gacpac said: Oh boy, hold in let me look up my history. But long story short it comes down to the swag container, they fixed it in future updates in the container but you have to delete the files in order to pull the new ones with the correct codes. I renamed the nginx.conf file in Swag (/etc/nginx/) and restarted Swag and it looks like it downloaded a new copy as it had an older date. I updated the client_max_body_size set to 0, restarted again, and I was able to upload larger files when logged in as the user. I went back to my original test scenario and tried uploading a 500MB test file via a File Drop link and after almost a minute, I received a "Connection to server lost" message. I changed the folder to have "Allow update and editing" permissions and tried again and received the same error message but this time it took about 1:30. Looks like I have something new to look into. Quote Link to comment
malebron Posted February 25, 2022 Share Posted February 25, 2022 Hi I just installed this Docker along with Mariadb and Swag, exactly as per Space Invader One's video, and everything is working fine. I'm brand new to Unraid and Dockers, so I followed every step very carefully. My problem is that there seems to be an upload size limit. Files over 1GB are not uploaded and my Mac desktop app shows the error "Server replied "413 Request Entity Too Larg..." I have searched this thread and the web without finding a clear resolution that I can understand. Are there some clear instructions to increase the max file size somewhere? Thanks! Quote Link to comment
snowborder714 Posted February 25, 2022 Share Posted February 25, 2022 42 minutes ago, malebron said: Hi I just installed this Docker along with Mariadb and Swag, exactly as per Space Invader One's video, and everything is working fine. I'm brand new to Unraid and Dockers, so I followed every step very carefully. My problem is that there seems to be an upload size limit. Files over 1GB are not uploaded and my Mac desktop app shows the error "Server replied "413 Request Entity Too Larg..." I have searched this thread and the web without finding a clear resolution that I can understand. Are there some clear instructions to increase the max file size somewhere? Thanks! Please take a look at the six or so posts directly above yours. There should be some info in there to help. Quote Link to comment
malebron Posted February 25, 2022 Share Posted February 25, 2022 Thanks snowboarder714, Yeah I looked at these but the situation doesn't look like my issue ...and I don't see a resolution. I have a brand spanking new clean install on a brand new server. I have only installed the required Dockers for Nextcloud -- everything exactly done per Space Invader One's video. Other than upload file size, its working well. So... 1) Is there SUPPOSED to be a file size limit? In which case, I'm looking for the settings or parameters to increase this value? OR 2) Is file size SUPPOSED to be unlimited, and this condition is an error which needs troubleshooting? Also: total noob here, so you know... Thanks. Quote Link to comment
alturismo Posted February 25, 2022 Share Posted February 25, 2022 1 hour ago, malebron said: 1) Is there SUPPOSED to be a file size limit? In which case, I'm looking for the settings or parameters to increase this value? may start here https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html#:~:text=The default maximum file size,filesystem and operating system allows. its been also discussed several times here, now depending on your setup (i assume lsio and reverse proxy etc) i would look at the nginx parts on all documentations about file size upload limits. Quote Link to comment
gacpac Posted February 25, 2022 Share Posted February 25, 2022 @snowborder714 @malebron I found it That's I did, and I think it should be added to a F.A.Q somewhere in the top of the forum who knows @linuxserver.io https://github.com/nextcloud/docker/issues/762#issuecomment-504225433 Quote Link to comment
malebron Posted February 25, 2022 Share Posted February 25, 2022 Hmm. This talks about a parameter for letsencrypt -- which I don't have installed. Just swag (per the video). I found a "client_max_body_size" parameter in ~appdata/swag/nginx/nginx.conf, but that was correctly set to 0. However, IF that had been set too low, it would have generated the 413 error I'm seeing. Just for grins I tried changing it to 10G and restarting the container, but no change. Are there any other conf files I should be looking for? Quote Link to comment
JonathanM Posted February 25, 2022 Share Posted February 25, 2022 1 hour ago, malebron said: This talks about a parameter for letsencrypt -- which I don't have installed. Just swag The swag container was originally known as letsencrypt, before the people running the letsencrypt service objected. Quote Link to comment
Tucubanito07 Posted February 25, 2022 Share Posted February 25, 2022 On 2/17/2022 at 11:12 AM, Tucubanito07 said: Anyone has this issue on their Nextcloud instance? I have searched multiple times everywhere and nothing. I also checked the logging screen in nextcloud and nothing comes up. I am on version 23.0.2. Any help is greatly appreciated. Hello, Has anyone encounter this issue or does anyone know how to resolve this? I dont see anything on the logs. Quote Link to comment
malebron Posted February 25, 2022 Share Posted February 25, 2022 2 hours ago, JonathanM said: The swag container was originally known as letsencrypt, before the people running the letsencrypt service objected. Ah thanks JonathanM! I'd never have guessed. It's like getting to a strange town and being told to "turn left where the MacDonalds used to be"... Quote Link to comment
malebron Posted February 25, 2022 Share Posted February 25, 2022 Max upload file size issue: The plot thickens... I originally saw the errors (413) when uploading >1GB files from my desktop using Nextcloud's Mac desktop app. Today I tried dragging and dropping to the web GUI instead. Whaddayaknow, a 1.1GB and 3.1GB uploaded with no errors AND synced correctly back to my desktop. (These failed using the other method) However a 4.3GB file failed to upload with "Error When assembling chunks, status code 504" (Note: Adding new files >1GB to the Nextcloud folder on my Mac still fail with a 413 error.) 1) Any idea what the 504 "chunks" error could be about? 2) Does anyone know if the desktop app communicates to Nextcloud differently to the web GUI? Is there another conf file? Maybe there's a different desktop app I can test with (eg can I use the Owncloud app with Nextcloud?) Thanks! Quote Link to comment
Pstark Posted February 25, 2022 Share Posted February 25, 2022 How can I change my database to a different database for Nextcloud? I tried just changing it in next cloud and I started getting a database error. I also tried reinstalling Nextcloud with the new location and that didn’t work either. Quote Link to comment
Vitor Ventura Posted February 25, 2022 Share Posted February 25, 2022 [email protected]:~# docker exec -it nextcloud updater.phar Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4 Current version is 21.0.5. Update to Nextcloud 21.0.9 available. (channel: "stable") Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-21.0.9.zip Open changelog ↗ Steps that will be executed: [ ] Check for expected files [ ] Check for write permissions [ ] Create backup [ ] Downloading [ ] Verify integrity [ ] Extracting [ ] Enable maintenance mode [ ] Replace entry points [ ] Delete old files [ ] Move new files in place [ ] Done Start update? [y/N] y Info: Pressing Ctrl-C will finish the currently running step and then stops the updater. [✔] Check for expected files [✔] Check for write permissions [ ] Create backup ...PHP Warning: copy(/data/updater-oc9q1ejvugli/backups/nextcloud-21.0.5.1-1645524247/apps/mail/l10n/ca.js): failed to open stream: No error information in phar:///config/www/nextcloud/updater/updater.phar/lib/Updater.php on line 395 [✘] Create backup failed Could not copy "/config/www/nextcloud/apps/mail/l10n/ca.js" to "/data/updater-oc9q1ejvugli/backups/nextcloud-21.0.5.1-1645524247/apps/mail/l10n/ca.js". Destination /data/updater-oc9q1ejvugli/backups/nextcloud-21.0.5.1-1645524247/apps/mail/l10n/ca.js is not writable Update failed. To resume or retry just execute the updater again. [email protected]:~# docker exec -it nextcloud updater.phar Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4 Current version is 21.0.5. Update to Nextcloud 21.0.9 available. (channel: "stable") Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-21.0.9.zip Open changelog ↗ Steps that will be executed: [ ] Check for expected files [ ] Check for write permissions [ ] Create backup [ ] Downloading [ ] Verify integrity [ ] Extracting [ ] Enable maintenance mode [ ] Replace entry points [ ] Delete old files [ ] Move new files in place [ ] Done Start update? [y/N] y Info: Pressing Ctrl-C will finish the currently running step and then stops the updater. [ ] Check for expected files ...PHP Warning: mkdir(): I/O error in phar:///config/www/nextcloud/updater/updater.phar/lib/Updater.php on line 997 [✘] Check for expected files failed Could not create $updaterDir Update failed. To resume or retry just execute the updater again. can anyone assist? i dont know what to do, tried some commands, without success. Quote Link to comment
snowborder714 Posted February 27, 2022 Share Posted February 27, 2022 On 2/25/2022 at 4:58 PM, malebron said: However a 4.3GB file failed to upload with "Error When assembling chunks, status code 504" I'm now getting this when logged into NextCloud on a laptop browser. Mine is happening for anything above 1GB I believe. Quote Link to comment
malebron Posted February 27, 2022 Share Posted February 27, 2022 1 hour ago, snowborder714 said: On 2/25/2022 at 1:58 PM, malebron said: However a 4.3GB file failed to upload with "Error When assembling chunks, status code 504" I'm now getting this when logged into NextCloud on a laptop browser. Mine is happening for anything above 1GB I believe. Actually - I discovered that (despite this 504 error code) the file actually uploaded OK and synced to my Mac too. My research seems to point to nginx timeout values - but others have tried to fix this error with no success. I'm still unable to upload files >1GB from the Nextcloud desktop client (Mac) even though these upload OK from the web GUI. Quote Link to comment
malebron Posted March 1, 2022 Share Posted March 1, 2022 UPDATE: If you are having the same issue (upload from Nextcloud's Mac desktop client fails for large files with 413 error) - I can confirm that the Owncloud Mac client uploaded files up to 4.3GB no errors. Looks like the Nextcloud desktop client is the problem. (Also the Owncloud client can generate public links from the desktop - the Nextcloud client cannot). Note: There is a "server version unsupported" message - so no guarantee of future compatibility. Quote Link to comment
chanrc Posted March 3, 2022 Share Posted March 3, 2022 On 11/9/2021 at 6:40 AM, PSYCHOPATHiO said: I have wiped my nextcloud & started from scratch & I found out that there are some LDAP issues with this build... I tried the official nextcloud build & LDAP works flawlessly but in Linuxserver build I'm not sure what is wrong but all the fields after I fill them up seem to have no effect. also onlyoffice isnt working on Linuxserver build but works on the official build. i get this message in my logs: Could not detect any host in http:///data/htaccesstest.txt RuntimeException: Could not get appdata folder for preview I dont know if what I said makes any sense You ever get LDAP working on this docker? I'm running into the same issue as you with all the fields and buttons greyed out in the "LDAP/AD integration" app. Quote Link to comment
PSYCHOPATHiO Posted March 3, 2022 Share Posted March 3, 2022 (edited) 15 hours ago, chanrc said: You ever get LDAP working on this docker? I'm running into the same issue as you with all the fields and buttons greyed out in the "LDAP/AD integration" app. oooh yeah, but I used the official nextcloud docker, all others are broken. The official docker is much faster when paired with redis & everything works nicely. if you need help you could add me on matrix https://matrix.to/#/@psychopathio:sykorp.com Edited March 3, 2022 by PSYCHOPATHiO 1 Quote Link to comment
chanrc Posted March 3, 2022 Share Posted March 3, 2022 4 hours ago, PSYCHOPATHiO said: oooh yeah, but I used the official nextcloud docker, all others are broken. The official docker is much faster when paired with redis & everything works nicely. if you need help you could add me on matrix https://matrix.to/#/@psychopathio:sykorp.com Yea that's exactly what I ended up doing based on your comment. I blew away everything and rebuilt it using the official nextcloud docker and it works properly with LDAP. Was hoping I didn't need to. Shame Iinuxserver didn't work. I'm surprised its been broken this long. Quote Link to comment
PSYCHOPATHiO Posted March 4, 2022 Share Posted March 4, 2022 15 hours ago, chanrc said: Shame Iinuxserver didn't work. I'm surprised its been broken this long. I like using their dockers but sometimes I have to revert to the official dockers to get better updates & functions, in our case LDAP was broken in all nextcloud dockers listed in the app store. what else do you have connected to your LDAP <--- off topic. I got airsonic advanced, matrix server, email server, nextcloud, & strangely pfsense for guest wifi via captive portal, so users can authenticate with their LDAP Quote Link to comment
koaly Posted March 4, 2022 Share Posted March 4, 2022 On 2/10/2022 at 1:06 PM, tube82 said: Hi, did you solve this issue yet? Since a few days I am in the same situation. On 2/11/2022 at 11:10 PM, Viper-694 said: I had this issue on my old server that had a slow cpu. It seamed like if the step took longer than expected the updater would give this error. I got around this by watching for my cpu usage to drop to idle and then clicking retry. Then it would continue. Hopefully it's that easy of a fix for you too. My understanding is updating via the command line doesn't have this issue but I never tried that. Hi guys, I found only one solution, which is shitty in any case. I made manual backup of all user data and reinstalled both Nextcloud and MariaDB with a full wipe of Appdata. After a clean install I restored user data and it started working. Updates do not work anyway. This is crap and makes me crazy. Yesterday by update from 23.0.0.0 to 23.0.0.2 I got the same way multiple errors in various steps from 3 to 6. I do not want to waste time on further attempts and again reinstalled. Shit. No support from anybody is available. No relevant info is available. Quote Link to comment
Pstark Posted March 5, 2022 Share Posted March 5, 2022 Nextcloud keeps reloading the page when I use safari (on MacOS or iOS), but if I use chrome I don't have the same issue. Does anyone know how to fix this? Lots of time has been spent searching but nothing so far has worked. Quote Link to comment
FiNakoma Posted March 5, 2022 Share Posted March 5, 2022 On 2/25/2022 at 7:55 PM, Tucubanito07 said: Hello, Has anyone encounter this issue or does anyone know how to resolve this? I dont see anything on the logs. Error occurred whilst checking server setup Yeah I'm stuck with this same issue. Fresh install with Postgres14 and NginxProxyManager following SpaceInvaders guide. Anyone got any ideas? Quote Link to comment
chanrc Posted March 5, 2022 Share Posted March 5, 2022 (edited) On 3/4/2022 at 6:40 AM, PSYCHOPATHiO said: I like using their dockers but sometimes I have to revert to the official dockers to get better updates & functions, in our case LDAP was broken in all nextcloud dockers listed in the app store. what else do you have connected to your LDAP <--- off topic. I got airsonic advanced, matrix server, email server, nextcloud, & strangely pfsense for guest wifi via captive portal, so users can authenticate with their LDAP Right now I just got Nextcloud working with LDAP and trying to get it on LDAPS without much success. Having trouble getting Nextcloud to recognize the self-signed cert from the internal FreeIPA LDAP server. When I go occ log:tail it just tells me I get have a connection error. I have Authelia working on LDAPS as an authentication portal in front of a number of services I have running I wanted to do SSO on. Was going to get an email server working then look at hooking LDAP into Home Assistant for home automation stuff. Pretty new to LDAP/cert management and its a pretty steep learning curve. First time I screwed up the LDAP config and nextcloud went to an Internal Server error, I almost paniked and almost wiped the DB, Docker, and app settings to start over. Edited March 5, 2022 by chanrc Quote Link to comment
Pstark Posted March 7, 2022 Share Posted March 7, 2022 (edited) I can't access Nextcloud when using safari? Chrome works fine but not safari. Edited March 7, 2022 by Pstark Quote Link to comment
Recommended Posts
Posted by Squid,
1 reaction
Go to this post
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.