Seige

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by Seige

  1. Hi, I recently installed a second SSD and created a btrfs cache pool. After a while I noticed performance degradation and came across several suggestions by @johnnie.black. After running: btrfs balance start --full-balance /mnt/cache and fstrim -v /mnt/cache performance was back to normal. Hence, I wanted to add a weekly script with: btrfs balance start -dusage=75 /mnt/cache This leads to the following error message: "ERROR: cannot access '/mnt/cache': No such file or directory" while the original command still works. Running " btrfs device stats /mnt/cache" only worked once, usually I get "ERROR: cannot check /mnt/cache: No such file or directory" and "ERROR: '/mnt/cache' is not a mounted btrfs device". Not sure what is going on here. Any help is much appreciated. My diagnostics file: EDIT: link removed Thanks! Seige
  2. Hi, I realised that I reveice the following error message when the server is starting up (it it not always being logged in the syslog file, but it always appears in the log window of the webui): Jun 7 18:01:21 Tower emhttpd: error: send_file, 139: Broken pipe (32): sendfile: /usr/local/emhttp/logging.htm Not sure what is causing this, I cannot detect any unusual behaviour. Here is my diagnostics file: EDIT: link removed Thank you for the help! Cheers, Seige EDIT: Maybe this is caused by the mounted smb folder upon array startup?
  3. This is really sad to hear. Despite being OS agnostic, I do not think MS could provide any benefit in this space.
  4. Just wanted to also credit you for the help, ofc I am aware of the fierce competition in the unRaid docker landscape... I usually also fall back to MC, but Krusader is proving very useful in conjunction with unassigned devices for backups/images I create of machines outside my network. Additionally, MC needs something like screen to work after closing the terminal etc.
  5. Thank you @CHBMB and @binhex, I have set an additional host path and mapped a folder on my cache drive. It seems to be working for now. There is indeed an option to set the temp folder through the Krusader settings, but I think a drive mapping is cleaner. ?
  6. Thank you for your work, @binhex! I played around with the docker and have 3 quesions/issues for now: 1. If I browse a tar archive, it fills up the docker image due to temporary files being created (I presume). Since I also deal with larger files the docker images gets filled up pretty much completely. Is there a way around this? Maybe with another host path? 2. Unraid is mounted via /media. I have changed the mounting point to /mnt/ instead of /mnt/user/ so I can access disk shares. Is the "trash folder" still reliably created in the user shares and not the top level of the disk shares? 3. Is there a better/convenient way to deal with file permissions? I would much prefer to have the option to maintain ownership and permissions of files, especially when creating backups. Thank you!
  7. Hi, after successfully installing an H310 and flashing it to IT mode, I was wondering if it possible to connect the LED cable of the H310 to the SGPIO header of my Asrockrack E3C226D2I to have the HDD led of the case indicate drive activity. The header of the board follows the normal layout: If so, how would I connect the 2 pins? I am not sure what to make of all the google searches that I did, which is why it would be great if anyone has an idea. ? Thanks!
  8. Many thanks for your response! You are right with regards to step 5. I meant it in a sense of double checking, that the drive order is maintained, but phrased it poorly. ? I have finished up installing the H310 and connecting all the drives. Currently clearing the old parity and then I should be ready to go. So far a very smooth process, minus flashing the raid card (had to be done in EFI after failing in 3 different machines)
  9. Hi, I intend to expand my server and make some changes to the array. I am fairly sure on how to proceed, but I would greatly appreciate some feedback if I am missing something. At the moment if have the following setup ASRock - E3C226D2I with 6x SATA3 1x Parity 4tb 4x Data 4tb 1x SSD cache 250gb I have purchased a used H310 and will install it in the server. With that I would like to make the following changes replace the parity with a 10 tb drive, move one of the 4 data drives to a SATA port of the H310, install a second SSD 250gb and connect it to the internal SATA to create a cache pool, use the old parity drive as storage and expand the storage with additional drives My procedure: 1. Do a parity check on the existing setup, then replace the parity with the 10tb drive and rebuild the parity, while keeping the old drive until the rebuild is complete. 2. Disconnect all the drives (after proper labeling etc) and flash the H310 controller to IT mode, following the instructions provided in this forum. 3. Reconnect all drives and move one of the storage drives to the H310. 4. Connect the second SSD to internal SATA 5. Assign/reassign the drives so that the original order is restored Is this correct? Also is it ok to connect a drive to a different SATA port as long as it is assigned to the correct drive number in the array? Thanks for your help! Cheers, Sebastian
  10. I am glad you found a solution. I guess your problem was beyond my expertise in the end. Permissions seems to be sensitive with Nextcloud/SQL.
  11. Do you have ONLYOFFICE or other addons installed in Nextcloud? Please enable logging to debug level (0) in Nextcloud and define a logfile location, if not already done, following this: https://docs.nextcloud.com/server/13/admin_manual/configuration_server/logging_configuration.html Post the logfile if possible. Please check the file beforehand for IDs or PWs.
  12. You can see the internal ips in your Docker overview. This is how network bridges are handled in unRaid. I highlighted the one of MariaDB: Please try to edit your config.php as suggested and replace the line of: 'dbhost' => 'ben-server', with 'dbhost' => '192.168.189.24', This at least avoids any issues with Nextcloud having to resolve your domain. If it does not work you can try to add the port also and remove the port from the subsequent line, which leads to: 'dbhost' => '192.168.189.24:3306', 'dbport' => '', Please try this and let me know if it works. P.S.: If unRaid's webinterface is on 444 then, according to your docker overview, Nextcloud is using the same port. If this is so, you have to change one of either.
  13. Hi, I am not an expert, but is the second MariaDB container running on a separate port, or also 3306? Maybe also change the db host to your unraid ip instead of going through your internet domain. You can edit that in the config.php. The 172.x.x.x ips are the “internal” ips unraid uses if you use a bridged network connection, e.g. if you want to forward a container port to a different external port. out of curiosity, do you access the unraid web interface unencrypted? Cause port 80 is exposed and that is usually reserved for that. To be fair you intercept that with let’s Encrypt.
  14. Hi, What is the best way to maintain/upgrade the database? My most recent pull is on 10.1.32. Is there a reason why it is on 10.1 and e.g. not on 10.2? Many thanks Sebastian
  15. Thanks CHBMB! I fiddled around for the last couple of days and found out that this was in fact the reason. I reverted back to using all relevant containers in bridged mode with 80/81 port forwarding. It works now. To be honest, I have not fully understood why it needs to be on the exact same IP. What if I would like to have nginx on a separate machine?! Is there some documentation specifically on that somewhere? Also, I am intending to throttle the bandwidth for Nextcloud through nginx (unfortunately, Nextcloud has no traffic management). As far as I can tell, this should be possible with: limit_rate Ideally, nginx would only throttle external connection and not within the same network. Will play around with that. Cheers
  16. Hi, I tried to install Nextcloud with the Letsencrypt reverse proxy as explained in the first post. I use duckdns for my domain. Once I edit the "proxy.conf" and generate "nextcloud", I cannot connect to Nextcloud anymore, but get an error 502: The same happens if I try to access Nextcloud with the internal IP. Accessing Letsencrypt still leads to this, so I guess that should be fine: I configured the Letsencrypt docker with custom:br0 and gave it a unique IP, as I had issues with port forwarding on my router. Here are the two docker configs: Letsencrypt: Nextcloud I generated the config file "nextcloud" in "/mnt/user/appdata/letsencrypt/nginx/site-confs": server { listen 443 ssl; root /config/www; index index.html index.htm index.php; server_name mydomain.duckdns.org; ###SSL Certificates ssl_certificate /config/keys/letsencrypt/fullchain.pem; ssl_certificate_key /config/keys/letsencrypt/privkey.pem; ###Diffie–Hellman key exchange ### ssl_dhparam /config/nginx/dhparams.pem; ###SSL Ciphers ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA'; ###Extra Settings### ssl_prefer_server_ciphers on; # ssl_session_cache shared:SSL:10m; ### Add HTTP Strict Transport Security ### add_header Strict-Transport-Security "max-age=63072000; includeSubdomains"; add_header Front-End-Https on; client_max_body_size 0; location / { proxy_pass https://192.168.178.5:444/; # proxy_max_temp_file_size 2048m; include /config/nginx/proxy.conf; } } I left the "default" file in that folder. Should this be deleted or edited? I tried to play around with that option, but it did not really help. Finally, I edited "config.php" in "/mnt/user/appdata/nextcloud/www/nextcloud/config" <?php $CONFIG = array ( 'memcache.local' => '\\OC\\Memcache\\APCu', 'datadirectory' => '/data', 'instanceid' => 'oc0bihhsnmqg', 'passwordsalt' => '7MJmDxvWQ5LZ2bOByhhVON5HKqd2PQ', 'secret' => 'ICE63sRU/DF6tV1f+LxE6MsfEV6GIyKUugtvj0+gFkzH111U', 'trusted_domains' => array ( 0 => '192.168.178.5:444', 1 => 'mydomain.duckdns.org', ), 'overwrite.cli.url' => 'https://mydomain.duckdns.org', 'overwritehost' => 'mydomain.duckdns.org', 'overwriteprotocol' => 'https', 'dbtype' => 'mysql', 'version' => '13.0.0.14', 'dbname' => 'nextcloud', 'dbhost' => '192.168.178.5:3306', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'user', 'dbpassword' => 'PASSWORD', 'installed' => true, ); Again, I just left "config.sample.php" as it. Not sure what is causing this issue, I guess the lin is broken somewhere. I would appreciate some insight, as I have no real clue what is causing this particular issue. Many thanks! Sebastian
  17. Hi, I think I am missing something here, but I cannot find the "edit XML" option if I click any of my VMs. Can anybody point me in the right direction please? Thanks, and sorry if it mentioned somewhere, search did not come up with anything useful to me.
  18. Thanks for the replies! I was intending to use it before recycling/donating old drives.
  19. Would anybody be able to tell me what the "Erase All the Disk" operation exactly does? I could not find conclusive documentation on that. Is it essentially zeroing the entire drive without writing the preclear signature on it? Or does it fill the disk with random bites? Many thanks!
  20. I tested some options, and thanks to @sparklyballs I found a quick and dirty solution. - stop the docker - backup teamspeak appdata - extract the newest server tar - copy files to the appdata folder of teamspeak, replacing duplicates - start docker I will see what it does when the new container is being pushed tomorrow. This works for now. A more elegant solution would be much appreciated, however.
  21. I am testing some scenarios with UAD and came across two questions I could not find a definitive answer to. Is it only possible to create a single partition in UAD on a hard drive? It is not possible for the drives outside of the array to spin down? Would unmounting help? Many thanks! EDIT: Ok the USB drive seems to have spun down.
  22. Thanks for your response, I mean the "memory footprint" shown in the server overview. Mine looks like this: The field is empty no matter what I do. Depending on the xmx settings the total available memory shown in the server view seems to change, but knowing the actual footprint would be helpful. As I said, it used to work. I googled around, after all it might be a Mineos issue, but I wasn't able to find something useful.
  23. Ok, so I played around with Unassigned Devices to connect to the NAS. Unfortunately, the results were the same. When I manually close the connection on the Diskstation interface it triggers an auth_key.response in Unraid, specifically: Tower kernel: CIFS VFS: Free previous auth_key.response = ffff880212becd80 And it reconnects immediately. This is where my knowledge is limited, but are cifs sessions monitored and restarted if terminated?