maetthew

Members
  • Posts

    14
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

maetthew's Achievements

Noob

Noob (1/14)

1

Reputation

  1. Hello, This container has been working flawlessly for me for a couple of months. Sometime in the last 12 hours or so it stopped working. I can't connect to the WebGUI or through the ThinClient. I've no clue how to troubleshoot this, any help appreciated. Every couple of seconds I get the following in the logs (see attached file) deluge.txt
  2. I honestly don't remember. I think I got it working at some point but it was wonky and I then ran in to a bunch of other problems and settled on a Docker container instead.
  3. The instructions for Cryptpad seems outdated and the instructions on the install page of the Unraid UI differ from the one in the FAQ in post #2 in this thread. The one on the install page wants be to wget a file to /mnt/user/appdata/config/config.js but that is already a directory. The one on the FAQ wants to wget a file to /mnt/user/element-web which seems to be a completely different config file on the remote side, e.g it does not have the httpUnsafeOrigin config key.
  4. Hello, I installed a 4TB disk in my server with the purpose to use it as a NextCloud data directory. I've set up all my usual shares to exclude the new disk. And made a new share which uses only the new disk. I installed Fedora server 33 on a VM. And installed the packages nextcloud and nextcloud-nginx and I can get to the installation page, however, I can't get write permissions for Nextcloud on the mounted Unraid share. The share is mounted on /data through /etc/fstab: data /data 9p trans=virtio,version=9p2000.L,_netdev,rw 0 0 ..and I can write to it through the terminal. Output of mount is: $ mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,seclabel,size=991228k,nr_inodes=247807,mode=755,inode64) securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel,inode64) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,seclabel,size=404164k,nr_inodes=819200,mode=755,inode64) cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,seclabel,nsdelegate) pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime,seclabel) efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime) none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700) none on /sys/kernel/tracing type tracefs (rw,relatime,seclabel) /dev/mapper/fedora_fedora-root on / type xfs (rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota) selinuxfs on /sys/fs/selinux type selinuxfs (rw,nosuid,noexec,relatime) systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13185) hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel,pagesize=2M) mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime,seclabel) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime,seclabel) fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime) configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,seclabel,size=1010412k,nr_inodes=409600,inode64) /dev/vda2 on /boot type xfs (rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota) /dev/vda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime) tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=202080k,nr_inodes=50520,mode=700,uid=1000,gid=1000,inode64) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime) tracefs on /sys/kernel/debug/tracing type tracefs (rw,nosuid,nodev,noexec,relatime,seclabel) data on /data type 9p (rw,relatime,sync,dirsync,access=client,trans=virtio,_netdev) NextCloud is installed in /usr/share/nextcloud: $ ls -lh /usr/share/nextcloud/ total 60K drwxr-xr-x. 40 root root 4.0K Mar 30 15:45 3rdparty drwxr-xr-x. 44 root root 4.0K Mar 30 15:45 apps lrwxrwxrwx. 1 root root 14 Feb 20 16:47 config -> /etc/nextcloud -rw-r--r--. 1 root root 3.9K Jan 25 16:31 console.php drwxr-xr-x. 23 root root 4.0K Mar 30 15:45 core -rw-r--r--. 1 root root 5.1K Jan 25 16:31 cron.php -rw-r--r--. 1 root root 156 Jan 25 16:31 index.html -rw-r--r--. 1 root root 2.9K Jan 25 16:31 index.php drwxr-xr-x. 6 root root 125 Mar 30 15:45 lib -rwxr-xr-x. 1 root root 279 Feb 20 16:46 occ drwxr-xr-x. 2 root root 23 Mar 30 15:45 ocm-provider drwxr-xr-x. 2 root root 55 Mar 30 15:45 ocs drwxr-xr-x. 2 root root 23 Mar 30 15:45 ocs-provider -rw-r--r--. 1 root root 3.1K Jan 25 16:31 public.php -rw-r--r--. 1 root root 5.3K Jan 25 16:31 remote.php drwxr-xr-x. 4 root root 133 Mar 30 15:45 resources -rw-r--r--. 1 root root 26 Jan 25 16:31 robots.txt -rw-r--r--. 1 root root 2.4K Jan 25 16:31 status.php drwxr-xr-x. 3 root root 35 Mar 30 15:45 themes drwxr-xr-x. 2 root root 43 Mar 30 15:45 updater -rw-r--r--. 1 root root 362 Jan 25 16:34 version.php the config directory gets symlinked to /etc/nextcloud $ ls -lh /etc/nextcloud/ total 4.0K lrwxrwxrwx. 1 root root 32 Feb 20 16:47 ca-bundle.crt -> /etc/pki/tls/certs/ca-bundle.crt -rw-------. 1 apache apache 670 Feb 20 16:44 config.php As you can see the webroot files are owned by root, and the config.php is owned by apache. In nginx.conf I have user nginx which suggests nginx is run by the nginx user. These are the users on the system: $ cat /etc/passwd root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown halt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail:/sbin/nologin operator:x:11:0:operator:/root:/sbin/nologin games:x:12:100:games:/usr/games:/sbin/nologin ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin nobody:x:65534:65534:Kernel Overflow User:/:/sbin/nologin systemd-coredump:x:999:997:systemd Core Dumper:/:/sbin/nologin systemd-network:x:192:192:systemd Network Management:/:/sbin/nologin systemd-resolve:x:193:193:systemd Resolver:/:/sbin/nologin systemd-timesync:x:998:996:systemd Time Synchronization:/:/sbin/nologin dbus:x:81:81:System message bus:/:/sbin/nologin polkitd:x:997:995:User for polkitd:/:/sbin/nologin tss:x:59:59:Account used for TPM access:/dev/null:/sbin/nologin rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin setroubleshoot:x:996:991::/var/lib/setroubleshoot:/sbin/nologin cockpit-ws:x:995:990:User for cockpit web service:/nonexisting:/sbin/nologin cockpit-wsinstance:x:994:989:User for cockpit-ws instances:/nonexisting:/sbin/nologin abrt:x:173:173::/etc/abrt:/sbin/nologin rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin dnsmasq:x:988:988:Dnsmasq DHCP and DNS server:/var/lib/dnsmasq:/usr/sbin/nologin chrony:x:987:987::/var/lib/chrony:/sbin/nologin tcpdump:x:72:72::/:/sbin/nologin df:x:1000:1000:df:/home/df:/bin/bash clevis:x:986:986:Clevis Decryption Framework unprivileged user:/var/cache/clevis:/sbin/nologin unbound:x:985:985:Unbound DNS resolver:/etc/unbound:/sbin/nologin nginx:x:984:984:Nginx web server:/var/lib/nginx:/sbin/nologin mysql:x:27:27:MySQL Server:/var/lib/mysql:/sbin/nologin apache:x:48:48:Apache:/usr/share/httpd:/sbin/nologin I have tried every combination of chown -R <username>:<username> /data (where <username> is any of root, apache or nginx mentioned above). I've even tried making a subdirectory in /data and trying to change the ownership of that directory according to the previous mentioned methods without success. If anyone would be able to tell me what I'm doing wrong I would be extremely grateful. Tried setting up this for 3 hours now with no success. Thanks in advance!
  5. Hi, Never seen such a message. Did you set up the variables on line 2-4 in the script? Also have you set up your A records with Namcheap? You need to manually set up the records the first time, then the script will update the records when necessary.
  6. Thanks Unraid Team for this update Having some issues downloading the update, at 7% after 5 min on 1Gbit/s connection. Servers overloaded?
  7. Hi guys, I'm a fresh Unraid user, built a small server that has been up an running for almost a week now. I had a script to update DNS records for a domain hosted with Namecheap that I customized for the Unraid server I thought I'd share, maybe someone else will find some use from it. It uses the Unraid notification system to send an e-mail on updates and if an error was encountered during the update. I use it in conjunction with the CA User Scripts plugin and have it setup to run every 15 minutes. Requirements (I installed these through Nerd Pack) bind lmdb json-c How to use: I just made a new script through the CA User Scripts interface, and pasted the code below into the script file. Then I chose to use a custom schedule and entered "*/15 * * * *" to make it run every 15 minutes. Put the hosts you want checked and updated in the hosts variable, each host encapsulated in double quotes and separated with spaces on line 2 Put your domain name in the domain variable on line 3 Put your DNS password that you get from the Namecheap control panel for your domain on line 4 #!/bin/bash hosts=( "@" "host1" "host2" "host3" ) # Enter your hosts in quotes separated by a space. The first and last characters within the parenthesis need to be spaces. domain="domain.com" # Your domain name password="your-dns-password" # The Dynamic DNS password from Namecheap, you'll find it in the control panel for your domain # Set up some variables hosts_updated="" hosts_unchanged="" # Fetch your WAN IP address and store in a variable new_ip=$(curl -s http://dynamicdns.park-your-domain.com/getip) # Loop through all the hosts and check if they need updating for host in ${hosts[*]} do if [[ $host == "@" ]]; then fulldomain=$domain elif [[ $host != "@" ]]; then fulldomain=$host.$domain fi # Check if the A record is the same as your current WAN IP, if it is just continue with the next host current_ip=$(dig $fulldomain @8.8.8.8 +short) if [[ $new_ip == $current_ip ]]; then hosts_unchanged+="${fulldomain}\n" continue fi # Try to update the DNS record and store the response response=$(curl -s "https://dynamicdns.park-your-domain.com/update?host=$host&domain=$domain&password=$password&ip=$new_ip") # Check if there's errors in the response regex="<ErrCount>([0-1])<\/ErrCount>" if [[ $response =~ $regex ]]; then if [[ ${BASH_REMATCH[1]} == "0" ]]; then hosts_updated+="${fulldomain}\n" elif [[ ${BASH_REMATCH[1]} == "1" ]]; then # Send mail through Unraid notification system. If you want notifications in the web browser, remove the "-t" at the end. /usr/local/emhttp/webGui/scripts/notify -e "DDNS Namecheap" -s "DNS Update Error ${fulldomain}" -i "warning" -m "An error was encountered when trying to update ${fulldomain}, the response was:\n${response}" -t # Log to console echo -e "An error was encountered when trying to update ${fulldomain}, the response was:\n${response}" fi fi done # If any hosts have been updated, send an e-mail through the Unraid notification system. if [[ ! -z "$hosts_updated" ]]; then message="The following hosts just had their DNS updated with IP ${new_ip}:\n${hosts_updated}" # If any of the hosts were unchanged, mention them in the message. if [[ ! -z "$hosts_unchanged" ]]; then message+="\nThe following hosts were left unchanged:\n${hosts_unchanged}" fi # Send mail through Unraid notification system. If you want notifications in the web browser, remove the "-t" at the end. /usr/local/emhttp/webGui/scripts/notify -e "DDNS Namecheap" -s "DNS Updated: ${new_ip}" -m "${message}" -t # Log to console echo -e "${message}" fi # If no hosts have been updated, just echo to the console. if [[ -z "$hosts_updated" ]]; then echo "No hosts have been updated" fi This script could quite easily be modified to work with other DNS services that offers a similar technique to Namecheap if you wish. Hopefully someone else will find some use from it I think the script is pretty much done, but if I decide to update it I will push changes to Github, you can find it here Thanks for looking //Mattias
  8. I experienced the same with the "-m" option, the longer text message does not get displayed in the browser notification, but it does in the e-mail notification. Not sure if that's intended though.
  9. Would just like to add +1 to this feature request. Would be very handy to have
  10. Hello! I'm planning to build my first Unraid server. I've had a QNAP TS-251+ for about four years, but now is the time to make the switch to something custom that I can have full control over. I've bene looking around for about two weeks researching parts and planning my set up. I initially had planned to use an old i5 4670k but I really want to use the Fractal Design Node 304, and finding a mini ITX board with the LGA1150 turned out hard, and quite expensive when I actually could find something. So I think I'm all set on buying new hardware instead. Budget is around $500-600 without hard drives. Preferably as little as possible. Use case: I'm going to use this mainly as a NAS and to run Nextcloud plus a couple of other small web applications with me as the single user. At the moment I'm not using Plex, but there's a possibility I will want to do that in the future to stream/transcode to my TV. My TV right now is only 1080p, but it's got a few years on it's neck and I will probably get a new one in a year or two so if I can stream 4k that would be sweet. I would like the ability to spin up a temporary VM or two. For example, if I find some kind of software I'm interested in I usually make a VM with Ubuntu server on it to try it out. Most likely I won't ever need a VM with a GUI for the OS. There's quite a big possibility that I will find more services to host in the future, so a little overhead in terms of power would be preferable. List of services/applications that I know right now I want to run: (i'm guessing this will grow as I get used to and explore the capabilities of Unraid) Nextcloud My current NC instance is running in a VM on my Qnap. I probably want to continue having NC in a separate VM. Wallabag Snapdrop Maria DB server Organizr Quassel Core The parts that I've come up with thus far Case: Fractal Design Node 304 I chose this cause of it size and price, while still being seemingly able to move air through it quite nice CPU: AMD Ryzen 3 3200G I'm unsure whether this CPU is enough for me, but I chose it cause the price and saw it being used in a couple of other builds when researching. M/B: ASRock Fatal1ity B450 Gaming-ITX/ac The cheapest mini-ITX board I could find with AM4 socket, 4 sata ports, Intel NIC RAM: Corsair Vengeance LPX Black DDR4 3200MHz 2x8GB (CMK16GX4M2B3200C16) I think 16GB might be a bit overkill for me but the price difference between 2x4GB and 2x8GB was only about $15 PSU: Undecided. I currently have an old "be quiet! KRAFT 600W BQ K-600W" that has been lying around I think I'm gonna start with. Though I'm thinking I might wanna get a new fresh one if I'm gonna run a server 24/7. I'd happily take advice on this and/or any suggestions for a stable, silent and budget friendly PSU. Cache storage: Kingston A2000 M.2 250GB Cheapest M.2 drive I could find. Array storage: I currently have 2x2TB WD Red that has been used in a RAID 1 array in my QNAP. One of them has power on hours for 4 years, the other one for 2,5 years. I plan on starting with these and getting one or two new 4TB drives in the coming months. Need advice on the most stable and quiet drives. Couple of points I thought I'd mention: Please note that I'm from Sweden so any deals probably won't apply. I'm not sure yet what kind of "add ons"/"plugins" I would like to run It's unlikely I would need more than 6 drives in the near future (at least 4 years) For any VM use, it's highly unlikely I would ever need to run an OS with a GUI. But if possible, always nice to have the opportunity. The server will be located in my bedroom, so I need it to be as close to silent as it can get on idle. I won't be running or storing anything critical for the first month or two. I plan on messing around with Unraid and learning as much as I can. In the mean time I will keep all important data on my desktop computer and on an external drive. Questions: Is there any parts you would swap out for something different? Would a Ryzen 5 3400G make any difference for my use case? I'm uncertain on the "power" of the Ryzen 3 3200G. The price is 150% (~$100 vs ~$150) for the Ryzen 5 in Sweden compared to the Ryzen 3. Would I be good to go with the Ryzen 3 and make the upgrade when the 5xxx APU's are available (if needed). As far as I understand, they will be compatible with the B450 boards? Is there anywhere I can shell out a few more bucks to make it quieter? Is there anywhere I can shave off a few bucks without making it noisier? I need advice on the most budget friendly 4TB hard drives which are stable and quiet. If there's 8TB where I can find a sweet spot for most bang for the buck, I'll consider that. How important is ECC ram? I went with normal ram for now cause of budget, but the M/B supports it if I want to go ECC in the future. If I feel the CPU and case fans are too loud, I might consider swapping them out and would gladly take suggestions on what to replace them with I think I've got everything covered, might have missed something, will make a reply to this thread if I come up with anything more. If you read up to this point, thank you for reading and thank you in advance for any advice!
  11. Great thank you! I only have 4 drives at the moment and shouldn't need more for quite a while. I was initially planning to use an old 120GB SSD I had lying around as a cache. But with this board I can get a M.2 250GB to use as cache and have the other four drives in the SATA connections. Very valuable, thanks! I doubt I'll ever need GPU passthrough. I will be using this as a NAS with a couple of docker containers running some web apps with me as the single user. I probably wont be running any VMs at all, and if I were it would probably just be to spin up an Ubuntu server to try something out temporarily. Even if I wont be able to do that on this machine, my desktop is powerful enough to run a couple of VMs for that purpose so that's no biggie. I don't foresee a use case where I need a permanent VM, especially not one with a OS GUI. Thank you very much, very valuable input, I am immensely grateful!
  12. Thank you for looking, I couldn't find that through a search an Alibaba, but even if I could the swedish postal office put in some ridiculous import tariffs and taxes for anything from outside the EU. For example, an import of something valued at $200 would cost me an extra $75 in tariffs/taxes so its not really feasible. I did however manage to find a ASUS Z97i-PLUS on the "swedish ebay" that ends in 27 hours. The current bid is about $56 and I looked at some previous ended auctions of that board, and those that ended in a sale went for $100-120 basically. It seems pretty good (at least to me with my limited knowledge). 4 sata connections 6Gbps, Intel NIC (which I've read on here that people prefer, not 100% sure why that is but I think Realtek can be unstable?), up to 16GB 3200 mhz DDR3, M.2 slot. I think it will be good enough for me as a start. I think I'm gonna try to snag that unless you or anybody else has anything to object about that board.
  13. Thank you for the suggestion, but yeah, the availability is none as far as I've found. There's one on Ebay for about $535 in China which would in total cost me probably about $650 with shipping and import fees, a little steep for me
  14. Hi guys, my first post here. I've been looking looking around for about 2 weeks now for building myself a NAS/home server. At first I was planning on buying new hardware for it but rememberd I had some old stuff laying around from an old desktop build. I have is a Core i5 4670k, some DDR3 1600mhz ram and a MSI GTX 760 4GB Twin Frozr that I was hoping to be able to utilize at least the CPU and the ram to begin with. I'm not looking to do anything crazy with the server to begin with, just as a NAS, and running a couple of web applications but thought maybe the graphics card might come in handy at one point if I decide to start streaming video. As a case I was kind of settled on the Fractal Design Node 304 which seems perfect for me. However, I don't seem to be able to find much of any Mini-ITX boards with LGA1150, and the ones I did manage to find that were available for purchase were a bit too expensive for me. I realize it's an old socket, and most shops don't sell them any more so I have to look at the second hand market, but I've no clue what model to look for. So I come here asking, does anyone know of any Mini-ITX boards that would be suitable for an Unraid-build? I would need a minimum of 4 SATA connections at the moment, hopefully more as I will probably add more disks further along. Budget would preferably be around $100-$150, less if possible. I'm from Sweden so any links to specific sellers would probably have to be Ebay or Amazon UK or DE but I would be very grateful if anyone could even suggest me some models so I can start searching for them myself. Thank you in advance for any help, advice or input you might have.