Kam

Members
  • Posts

    12
  • Joined

  • Last visited

Everything posted by Kam

  1. @dsmith44 Thank you for sharing this template and good luck maintaining it ! @ldog88 You can edit the container's url so that it points to the tailscale IP (100.x.x.x) instead of your local IP (eg. 192.168.x.x) by modifying the URL in advanced view. My question is related to this. Is there a way for the link to be tailscale's one when I'm accessing through talescale and the local one when I'm on the LAN ? My containers URLs are configured as follow : https://[IP]:[PORT] I've thought of two not quite satisfying solution, though it should work enough : - always access to unraid through tailscale - configure my router so that https://MYSERVERNAME (same name as in tailscale) routes to the unraid server and configure the containers accordingly. Does any know a smarter way of doing it ? Many thanks
  2. Thanks for the answer. I'm not at home right now so I'll try later and let you know how it worked. Just to be sure, are you suggesting that I run a ipa-server-update command before I run the ipa-server-install one?
  3. I'haven't done it yet so I'm not sure of what I'm saying, but shoudn't it be https ? The doc says (https://ibracorp.io/lets-install-authelia-in-depth-authorization-and-authentication-server/#nginxproxymanagernpm) NB: For some reason in the current version of NPM as of writing this (v2.2.4) the SSL settings turn off after initial creation. Go back into the SSL settings of 'auth.example.com' and turn them back on then save again. Have you tried this ?
  4. Hi there ! First I want to thank @Sycotix for your great advanced-yet-simple tutorials ! I've been learning so much ! I am currently having trouble with the FreeIPA VM tutorial Everything goes well until the IPA server configuration. I can't get my server to authenticate the certificate.... Here's what I get : # [root@ipa ~]# ipa-server-install --mkhomedir [...] Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes [1/29]: configuring certificate server instance Failed to configure CA instance See the installation logs and the following files/directories for more information: /var/log/pki/pki-tomcat [error] RuntimeError: CA configuration failed. CA configuration failed. The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information Attached is an extract of /var/log/ipaserver-install.log where I can read the following error : Exception: PKI subsystem 'CA' for instance 'pki-tomcat' already exists! It might come from previous attempts to install IPA server, but maybe that was the cause of the first failure too ? I've tried to run "ipa-server-install --uninstall" serveral times and "pkidestroy -s CA -i pki-tomcat" but I still get the same error... I thought it could be due to cloudflare argo tunnel.... but even if I switch to an A type DNS with my IP and DMZ to the freeIPA server on my router, it's still the same O_O Btw, Fedora Cockpit works well through a subdomain and argotunnel + swag. But it shows me 1 service cannot start : Machine Check Exception Logging Daemon. I doubt it is related but just in case, this is the error logs : mcelog.service: Failed with result 'exit-code' [systemd] mcelog.service: Main process exited, code=exited, status=1/FAILURE [systemd] CPU is unsupported [mcelog] mcelog: ERROR: AMD Processor family 23: mcelog does not support this processor. Please use the edac_mce_amd module instead. [mcelog] Started Machine Check Exception Logging Daemon [systemd] Does anyone have an idea where the issue comes from / where should I dig in ? or what should I do ? Thanks a lot for your advices/thoughts ! ipa-install.log
  5. I got the same issue. It comes from a compatibility issue between the NC oO app and the only office server. You have to manually downgrade the NC app. I don't remember the details but you can find it easily if you google it. I remember you need to delete the oO folder in nextcloud/app folder, downloads the right version of the only office plugin and untar it there. You might have to reactivate it from nextcloud admin page. Then it works ! You just have to not upgrade it Hope it helps, Kam
  6. So finally, I found a solution ! 🤩 I checked my nextcloud.subdomain.conf and added/removed everything so both files were similar. In case someone has the same issue, here's my onlyoffice.subdomain.conf file with added/removed comments # only office doc server server { listen 443 ssl; ## Added listen [::]:443 ssl; server_name office.*; include /config/nginx/ssl.conf; ## Added add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;"; client_max_body_size 0; location / { include /config/nginx/proxy.conf; ## Added include /config/nginx/resolver.conf; set $upstream_app OnlyOfficeDocumentServer; set $upstream_proto https; set $upstream_port 443; proxy_pass $upstream_proto://$upstream_app:$upstream_port; ## Added proxy_max_temp_file_size 2048m; ## Removed # proxy_set_header Host $host; # proxy_set_header X-Real-IP $remote_addr; # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # proxy_set_header X-Forwarded-Host $server_name; # proxy_set_header X-Forwarded-Proto $scheme; } } Kam
  7. So I just went through every log files I could think of being relevant, but I couldn't found nothing ... Here's what I get when I go to oods.mydomain.me /mnt/user/appdata/swag/log/nginx/access.log 192.168.1.254 - - [19/Nov/2021:16:05:09 +0100] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 304 0 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0" /mnt/user/appdata/swag/log/nginx/error.log NOTHING /mnt/user/appdata/swag/log/fail2ban/fail2ban.log NOTHING /mnt/user/appdata/swag/log/letsencrypt/letsencrypt.log NOTHING /mnt/user/appdata/swag/log/php/error.log NOTHING /mnt/user/appdata/swag/log/logrotate.status NOTHING /mnt/user/appdata/onlyofficeds/logs/documentserver/nginx.error.log NOTHING Any idea where I should look at ? Thx !
  8. Hi everybody, First, thanks a lot for porting the containers to unraid and supporting users here. It make life much easier I'm having trouble setting up OnlyOfficeDocumentServer. I started by following spaceinvaders' tutorial, but I also tried a few things after. Here's what I've done so far: I created a CNAME for my domain name on cloudflare (and deactivated proxied*), added it in swag's docker configuration. I skipped the duckdns step as I have a static IP address. I copied (hard link) the certificate files to onlyofficeds/Data/certs/onlyoffice.{crt,key} I had to remove the following line from his file : proxy_redirect off; as it would prevent swag from starting nginx: [emerg] "proxy_redirect" directive is duplicate in /config/nginx/proxy-confs/onlyoffice.subdomain.conf:19 I manage to access the webUI through the local IP and https port, but not the http one. And clicking on WebUI from the unraid docker page redirects to the unraid's login page. Is that normal ? I could even test OODS with the provided example. But when I try to access it from my subdomain I get a "HTTP 400 Bad Request" error. I also tried with the documentserver.subdomain.conf that I found in nginx/proxy-confs folder, but then I got a "bad redirection" error. I attached m onlyoffice.subdomain.conf file in case it would help. I probably missed something, but I'm really clueless right now. Anybody have an idea ? Thanks a lot, Kam * I also spent some hours figuring that when cloudflare's proxy is activated, it leads to a "too many redirecting" error. Not sure if it's the actual english error, I just translated from french. onlyoffice.subdomain.conf
  9. I felt that was not a good idea, but I was not sure. Thank you for the explanation.
  10. Hi there, I'm very glad to finally start this post. I'm a close-to-be fresh new unRaid user. I've looking around for weeks now to build myself a home server, and now I think I'm ready to start. So I wanted to share my hardware config with you guys and maybe get some advices before doing/buying stupid thing.... Actually, I've always been a software guy (and a bit of system) and poorly paid attention to the hardware part until recently when I started to read more about building a DIY NAS/server. As a matter of fact, the last computer I built entirely was in 2003, when I was 18 ... My goal is to build a server to be used mainly as a NAS + nextcloud for myself, my wife and some friends and family. But I want to use it as a VM station : 1 windows (not gaming, at least at first), a couple of linux to play with, and 1 MacOS for my wife so that she doesn't need to bring hers (macbook pro) when she comes to my place) or goes to unsafe places (I've found recently my old eeePC 901, so she can connect to the VM). First, I would go for a TrueNAS core, but two things discouraged me: - the heavy resources demanding ZFS file system, which looks amazing but very expensive imho... - and mainly it seems to me that it doesn't meet my requirement for VMs I think I might buy a TrueNAS mini, or build a cheap one with DDR3, in the future if my storage needs increase so much that it would required a second server... - plus, I didn't pay much attention to unRaid as it looked like a closed commercial solution. But then I realized it was based on slackware, and I am much more at ease with linux than BSD ! (well even than windows ) But let's focus on the topic! I started to make a config with intel based CPU as AMD had bad reputation back in Athlon/Pentium times. Then I realized that Ryzen CPU seem pretty fine and that I could even get affordable pieces using DDR4 ECC memory ! So here's the last config I've come to : - Fractal Design Node 804 as it can host 8 3.5 HDD + 2.5 SDD - ASRock B550M Pro4 motherboard - AMD Ryzen 5 3600 - be quiet! Pure Loop 240mm CPU watercooling - be quiet! Straight Power 11 550W Platinum PSU - 2x Kingston KSM32ED8/32ME(pdf) 32GB DDR4 3200Mhz ECC - Kingston A400 240GB read/write cache - Kingston NV1 NVMe PCIe 1TB for VMs - MZHOU Carte PCIe SATA 8 Ports (Amazon.fr) as M.2 slots condemn 2 SATA ports - 2x Toshiba N300 4TB HDD - 2x WD Red plus 4TB HDD - 2x SEAGATE IronWolf 4TB HDD + an old MSI GeForce 1030 AERO ITX 2G OC I removed from a PC on which I installed QubesOS I fixed myself a 2000€ budget (storage included), and it makes around 1900€ now so I'm good. HDDs and the Node 804 case are already purchased as it's the only parts I sure of... well that meens I not sure of much Here's what I wonder: - Is watercooling worth it ? I'd like the server to be as quiet as possible but also as cool as possible, I live in Grenoble (France) and summers can be damn hot, even though my flat's office is the coolest room. - the Node 804 comes with 3 fans integrated, would it be wise to add a few more ? - I really got an headache sizing the PSU ! and I still wonder if 550W is good. I still have room for 2x3.5" + 2x2.5" HDDs and might upgrade the GPU. So maybe I should go for a 600W or even 650W PSU ? - Maybe 64GB of RAM is overkill but I'm thinking if I should choose between 4x16GB max and 4x32GB max the latter will allow me to run more apps on the server. The MacOS VM would probabl run 24/7 while the others would run on demand (maybe 1 linux VM would end running 24/7) - The two M.2 disk I wanted to buy are not available anymore... but I understood quality is not a big issue. Yet I picked Kingston ones instead of unkown brands... Did I understand well or should I pay a little more attention to it ? - And above all, is the sizing correct (240GB for cache, 1TB for VMs) ? - Would my old GPU do the job ? or should I investigate for a better one ? The last questions are less urgent as I will decide when I setup the server... that won't be done before buying the parts - I plan to keep 1 HDD unassigned as a hot spare disk, should I use 2 parity disks which would leave me 12TB of data disks which would be enough for now ? or use 16GB data + 1 parity disk ? I haven't read enough to make myself an opinion, so any advice ? - Toshiba N300 HDDs run at 7200rpm, do you know if it's possible to configure them to run only 5400rpm ? that would reduce the heat and noise I presume... - Is there a smarter way to dispatch the HDDs between parity/data/spare disks when using different brands ? - Is there a smarter way to plug the HDDs between the motherboard and the PCIe card ? I think I would plug 3 on each but really don't know... Well I think that post is long enough ! Sorry if I'm to chatty (I hope you're not reading this on a mobile, sorry -_-" ) I'm really excited and can't wait to start playing/testing (messing?) with unRaid ! I hope you guys can help me confirm my hardware choices so that I can annoy you with software/config issues Thanks in advance, Kam