PSYCHOPATHiO Posted March 8, 2022 Share Posted March 8, 2022 On 3/5/2022 at 11:08 PM, chanrc said: Right now I just got Nextcloud working with LDAP and trying to get it on LDAPS without much success. I never got LDAPs correctly cause of the certs, but its internal communication with the local LDAP server & im not opening external ports for it to work. I got no clue how to get LDAPs to work Quote Link to comment
chanrc Posted March 9, 2022 Share Posted March 9, 2022 (edited) 13 hours ago, PSYCHOPATHiO said: I never got LDAPs correctly cause of the certs, but its internal communication with the local LDAP server & im not opening external ports for it to work. I got no clue how to get LDAPs to work Its actually not too difficult. Figured it out after a bit of struggling. You just gotta take the IPA server cert file from /var/lib/ipa/certs and put it into the /etc/ssl/certs folder of the Nextcloud docker then add an entry for the new cert into /etc/ldap/ldap.conf and set the BASE,HOST, TLS_CACERT, and TLS_REQCERT values. After that make sure your nextcloud ldap server host gets updated to ldaps://<server> and ldapPort get updated to 636 in your nextcloud config. Nextcloud will recognize your self-signed cert after that AND it will not have any LDAP bind errors so will actually obey your LDAP server and password policies. FreeIPA is configured to only do that when SSL is enabled. You will need to make an entry in the /etc/hosts file since certs only take FQDN. Also make sure you don't mispell anything otherwise your Nextcloud will not be able to connect to your LDAP server and it will fail to start. You will have to use the OCC tool and manually revert settings. docker exec -u www-data Nextcloud php occ log:tail/ldap:show-config/ldap:set-config Edited March 9, 2022 by chanrc Quote Link to comment
phat_cow Posted March 10, 2022 Share Posted March 10, 2022 Is there a way to reset the Admin password? I totally screwed up mine when I changed my admin password to something really strong but for to save the password entry to Bitwarden. Quote Link to comment
alturismo Posted March 10, 2022 Share Posted March 10, 2022 2 hours ago, phat_cow said: Is there a way to reset the Admin password? did you try the google answers about nextcloud ? sample https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/reset_admin_password.html Quote Link to comment
Near Posted March 11, 2022 Share Posted March 11, 2022 Hey! I am new to Unraid and accordingly to nextcloud. I have been trying to install nextcloud (linuxsserverio) on my Unraid server. Along with MariaDB and I followed exactly the steps in Space Invader One's video. Up to the point 9:14 (https://youtu.be/id4GcVZ5qBA?t=554). But as soon as I try to log in again the next day to continue with the setup I get the error "Wrong username or password". I have checked the data several times and also completely rebuilt nextcloud & MariaDB (including cache clean). However, I keep getting the same error. Also resetting the password via terminal as mentioned in your documentation does not work. Screenshots attached. What can I do to get nextcloud to work? Thank you! Quote Link to comment
mbc0 Posted March 11, 2022 Share Posted March 11, 2022 Hi, I have been running this container for years, installed using the spaceinvader one guide but today installed fresh on a new server and need to be able to upload files several gigabytes in size. Is this file the only one I need to modify to enable that option? nextcloud/nginx/site-confs/default client_max_body_size Thank you 1 Quote Link to comment
blaine07 Posted March 12, 2022 Share Posted March 12, 2022 I know it’s semi subjective but… does everyone else’s Nextcloud instance take a few minutes to start? I feel like it didn’t used to take that long. Not a big deal, just wondering if other folks NC takes a few minutes too? Quote Link to comment
SP67 Posted March 13, 2022 Share Posted March 13, 2022 Hi, I’ve tried searching online but had no luck. I am trying to add a file to Nextcloud by linking it from another unRAID share. I’ve successfully created the link to the file inside the Nextcloud share using Krusader, and then updated the Nextcloud database, but the file is not on the folder where it is supposed to be. Is there any way to do this? thanks Quote Link to comment
yousefmansy1 Posted March 14, 2022 Share Posted March 14, 2022 Hello I'm pretty new to unraid. I've setup nextcloud and everything is working. There is a plugin for nextcloud called MediaDC which requires python 3.6.8 or higher. It seems like its capable of installing this dependency on its own but it returns result_code: 127 when it runs. Basically, how would you add this dependency to an existing docker container? Quote Link to comment
Profezor Posted March 15, 2022 Share Posted March 15, 2022 Trying to upload a file from the Nextcloud app. Folder is an external storage folder linked to Paperless-ng. Worked easily in the past, now only errors. Any suggestions ? I am sure it is a easy thing, but I am missing it. Thanks Quote Link to comment
Tolete Posted March 17, 2022 Share Posted March 17, 2022 (edited) Need a hand, trying to confirm whether or not Nextcloud and ClamAV are playing nicely together. Nextcloud + 'Antivirus for files' app ClamAV; I went with 'mkodockx/docker-clamav:alpine' repository next I went to the Nextcloud container and used the --link flag under 'Extra Parameters:' -not sure if this is required still or deprecated. --link ClamAV:ClamAV I guess I'm expecting ClamAV to scan any file uploaded. I tested by simply uploading both non-infected and EICAR test files. I guess i can check the ClamAV logs, but will or is there a visual indication that the file is getting scan by ClamAV? Edited March 17, 2022 by Tolete Quote Link to comment
MadOne627 Posted March 17, 2022 Share Posted March 17, 2022 On 1/13/2021 at 10:16 PM, MadOne627 said: Thats it. I can now get to it internally with the LAN IP:Port and can get to it via web address via WAN. Thanks for your guidance skols! Been a while but after learning a few things about networking in the past year or so, I now know exactly what the issue was. I believe skols said my router did not support loopbacking. At the time i just followed your workaround and it worked great for a while. Recently I have been trying to get a collabora server up and running. In order to use the unraid docker container, you are required to use of the nextcloud.myaddress.com to work properly. After a bunch of research and breaking my router a few times, (my wife is a saint) i figured it out. You can not use loopbacking behind a second router, the open wrt guys do a great job explaining it here. The section titled "OpenWrt as cascaded router behind another router (double NAT)" applies to my issue. Thought i would come back an share in case someone else is trying to do this. I was forced by my isp at the time to use there router and cascade all my firewall changes down to my personal router. Lead to a bunch of issues. If your isp was like mine this may lead to you have the same issue i was having. Thanks again for your help a year ago guys. I have gotten a ton of mileage out of this tool. Quote Link to comment
outi Posted March 18, 2022 Share Posted March 18, 2022 Hey guys, I have a problem since today: NET::ERR_CERT_INVALID This is showing locally and on my url I configured using nginx proxy. Everything was working fine yesterday. I didn't change anything. My other reverse proxies are working fine. Any ideas? Quote Link to comment
blaine07 Posted March 22, 2022 Share Posted March 22, 2022 FWIW: Upgraded to 23.0.3 today without incident. Not sure if it's "been covered" and if so I am sorry but just PSA 🙂 (I an surprised it didn't download 23.0.4 but not sure) Quote Link to comment
blakeslade Posted March 23, 2022 Share Posted March 23, 2022 Hello! I'm getting an Unable to Connect error and then an Internal Server Error when I try again to connect to my Nextcloud docker. Had some major PSU issues recently resulting is false HDD failures and errors. Replaced PSU, MB, CPU and RAM and rebuilt the server and the array. IP address has changed as well, perhaps this has something to do with it? Initially none of my dockers worked, but after a couple of reboots they are all working except for NC and Transmission. Thanks for your help! Quote Link to comment
ZosoPage1963 Posted March 24, 2022 Share Posted March 24, 2022 (edited) Hello all. Have had container running fine for a few years, using SpaceInvaderOne's install video. Noticed that there was an update today and went to update. From the update screen, it was getting stuck at 'deleting old data'. Sometimes it takes a while to do some of the steps, so I closed the browser and walked away. Now, when I try to get in, I keep getting 'update in process'. Any instructions on how to get back in would be appreciated, or should I just wait it out for a while (it has been about an hour now). I did check the config file and showed that the maintenance mode = true, and changed it to false, but no chane with the "update in process". Edited March 24, 2022 by ZosoPage1963 add "maintenance mode=false Quote Link to comment
ijuarez Posted March 24, 2022 Share Posted March 24, 2022 On 2/16/2022 at 7:57 AM, shpitz461 said: You da man! All I was missing was this label: Thanks much! to clarify you were missing this label? are you using authelia also? Quote Link to comment
ZosoPage1963 Posted March 25, 2022 Share Posted March 25, 2022 On 3/24/2022 at 8:29 AM, ZosoPage1963 said: Hello all. Have had container running fine for a few years, using SpaceInvaderOne's install video. Noticed that there was an update today and went to update. From the update screen, it was getting stuck at 'deleting old data'. Sometimes it takes a while to do some of the steps, so I closed the browser and walked away. Now, when I try to get in, I keep getting 'update in process'. Any instructions on how to get back in would be appreciated, or should I just wait it out for a while (it has been about an hour now). I did check the config file and showed that the maintenance mode = true, and changed it to false, but no chane with the "update in process". ended up reinstalling the container, didn't find a good fix to get past this error. (for those that may see this in the future). Quote Link to comment
blaine07 Posted March 27, 2022 Share Posted March 27, 2022 Would someone please explain difference between “linuxserver/nextcloud:latest” and “lscr.io/linuxserver/nextcloud” I have been seeing LSCR thing a bit off and on but do dockers need to be changing or what is the change from one to the other about? Should I be changing tags on stuff or? Quote Link to comment
tallbill Posted March 29, 2022 Share Posted March 29, 2022 Apparently I lost my admin password. I was auto-logging in for 15 months so who knows. That being said, I tried many different commands that I've googled to reset my admin password with no luck. As far as I can tell I have everything from nextcloud backed up, so I deleted the container and reinstalled but it looks like its still pulling old info. Is there any way to do a clean install or is there an obvious way to reset passwords that I'm missing? Quote Link to comment
midnightd Posted April 3, 2022 Share Posted April 3, 2022 Am I crazy, or did Nextcloud URLs always show "dir=" and "fileid=" in the URL? I'm using Chrome on regular PC and running this docker for a couple years with no problems. I first noticed in Nextcloud 22 but it does the same thing in Nextcloud 23. I don't think I've made any significant configuration changes. Has it been there all along and and I just never noticed? https://nextcloud.yyyyyyyy.com/app/files/?dir=/Documents&fileid=13 Maybe an app changed something? Any help would be appreciated. Quote Link to comment
Tucubanito07 Posted April 3, 2022 Share Posted April 3, 2022 Good afternoon, all. Does anyone know how to fix this error? I have searched in google and cannot find anyone with a resolution. Someone just resolve it by not using linuxserver/nextcloud and using the nextcloud container. 2022/04/03 18:29:17 [error] 454#454: *57 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.70.54.43, server: _, request: "GET /settings/ajax/checksetup HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "your domain here.com" Quote Link to comment
Archonw Posted April 5, 2022 Share Posted April 5, 2022 @tallbill of course you can reset the admin passwort. Open the console for this container. Follow the official documentation. https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/reset_admin_password.html Quote Link to comment
tallbill Posted April 6, 2022 Share Posted April 6, 2022 (edited) 13 hours ago, Archonw said: @tallbill of course you can reset the admin passwort. Open the console for this container. Follow the official documentation. https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/reset_admin_password.html Yeah I've tried that and several variants with no luck. Unknown user: www-data error initializing audit plug sudoers_audit Edited April 6, 2022 by tallbill Quote Link to comment
RiDDiX Posted April 6, 2022 Share Posted April 6, 2022 1 hour ago, tallbill said: Yeah I've tried that and several variants with no luck. Unknown user: www-data error initializing audit plug sudoers_audit linuxserver uses the PUID and PGID. Therefore you have to look up what user you set up. 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.