Myleslewis

Members
  • Posts

    98
  • Joined

  • Last visited

Everything posted by Myleslewis

  1. Here is his diagnostics zip file 🙂 tower-diagnostics-20210927-2045.zip
  2. Thanks for the response. Emulated contents look fine and as expected thankfully. What're the steps to build it ? I've not had this particular issue myself so have been unable to advise. I've also emailed him for the diagnostics zip file also. Thanks!
  3. Hi all, A friend of mine has recently set up an unraid server following some issues they ran into whilst using SMR drives with trunas. The other day he had a disk go down and the GUI said it had an unmountable file system, and gave the option to format. He has reseated the cables and done a SMART test, the results of which, came back okay with no issues. Last night I went over and did the xfs_repair via the GUI and now the file system is mountable again and he's able to read files on the drive etc. (confirming that parity is still okay) however the drive is still disabled. At present we're trying to move the data off the disk, using unbalance, to his 2 other disks (around 2.7tb) and it's going incredibly slow, around 2mb/s. A few questions, 1) Is there a way to bring the disk back online as the SMART report came back okay. 2) As unbalance is running at present, is it okay to just stop it if needed ? 3) any ideas as to why unbalance would be going this slow ? I can get him to provide me with any additional information needed on request, he's not a fan of forums so I'm posting on his behalf. TIA!
  4. Thank you, I'm going to take a break from it for a couple of days and come back to it I think. I did try installing nginxproxymanager and use that instead of swag to see if that would fix it but I couldn't get it working, though that's going to me purely user error. Will have another crack it at over the weekend perhaps
  5. I think at this point, all I can do is do a complete removal of nextcloud and reinstall it all from scratch. I would like to say thank you so much for taking so much time in helping me troubleshoot what's happening and why I can't access my nextcloud. You're a credit to the forum !
  6. database is on bridge already when I originally changed nextcloud to bridge, and both pings were successful
  7. Ah right, yeah it definitely gives the correct IP when pinging it. Here is my docker template in advance view: Here is my config.php: <?php $CONFIG = array ( 'memcache.local' => '\\OC\\Memcache\\APCu', 'datadirectory' => '/data', 'instanceid' => '************', 'passwordsalt' => '*****************************************', 'secret' => '*************************************************', 'trusted_domains' => array ( 0 => '192.168.1.139:444', 1 => 'nextcloud.*********.net', ), 'dbtype' => 'mysql', 'version' => '20.0.7.1', 'overwrite.cli.url' => 'https://192.168.1.139:444', # 'overwritehost' => 'nextcloud.********.net', # 'overwriteprotocol' => 'https', 'dbname' => 'nextcloud', 'dbhost' => '192.168.1.139:3306', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'nextcloud', 'dbpassword' => '*********', 'installed' => true, 'trusted_proxies' => ['swag'], ); I did change the webui port to 444 as I noticed it was 443 in the advance mode, but still same issue, cant access via localip:port
  8. I can ping nextcloud.***.net and get a response with my public ip, all okay here. Not sure what you mean by "checking on my registrar if the he currently have is correct", sorry. The CNAME is still as it was previously, nothings changed there. I completed the next steps and still cannot connect using localip:port
  9. I've got my domain registered with my domain provider and then a CNAME record that points the nextcloud subdomain to a duckdns address, the duckdns address is currently updated with my current IP address. Ports are forwarded correctly also, I was able to connect to nextcloud using my subdomain for a good amount of time, as was a friend of mine who I provide storage to, nothings changed on my router since then, but just to be sure:
  10. Heres what I get in chrome in incognito mode. Beginning to think a complete removal and fresh install is going to be needed soon !
  11. output of cat /mnt/user/appdata/nextcloud/www/nextcloud/.user.ini
  12. output of oss integrity:check-core Forced update and docker reset, still same issue
  13. Hi Skois, Here is my log without the commented out text: server { listen 443 ssl; listen [::]:443 ssl; server_name nextcloud.*; include /config/nginx/ssl.conf; client_max_body_size 0; location / { include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; set $upstream_app nextcloud; set $upstream_port 443; set $upstream_proto https; proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_max_temp_file_size 0; } }
  14. Hi Skois, This is the output of cat .htaccess: Also I've done the new permissions process and still same issue Which swag config is you want to see ? The one specific to nextcloud subdomain or one of these: Thanks, -Myles
  15. Hi Skois, Above is my docker template, and I did actually try cd /mnt/user/nextcloud first but realised it's case sensitive my bad ! Here is the output: Thanks, Myles
  16. Hi Skois, I've done occ maintenance:update:htaccess and it's updated it but the problem still persists. To do an ls -la, am I right in saying that I need to use the unraid terminal and navigate to that directory. If so, I apologise but how do I change the directory in the unraid terminal. I don't know if it's of relevance, but when I click on the nextcloud icon on the docker tab and click Web UI it only navigates to localip and not localip:port. Thanks, Myles
  17. Hi Skois, I ran "docker network ls" and proxy net appeared. Mariadb, nextcloud and swag are all on "proxynet" when I visit localip:port I can't connect either. I'll fill the template to hopefully help in troubleshooting efforts: What problem you experience - unable to access nextcloud UI via reverse proxy or localip:port What error messages you get: My set is as follows - name: nextcloud mariadb swag repository: linuxserver/mariadb linuxserver/nextcloud linuxserver/swag Network - nextcloud - "proxynet" mariadb - "proxynet" swag - "proxynet" root@LewisServer:~# docker network ls NETWORK ID NAME DRIVER SCOPE 7c2cb36628ae br0 macvlan local 72623318ff91 bridge bridge local 8b453a111711 host host local 74282ed633f2 none null local 17997a39d39e proxynet bridge local Logs - Nextcloud: [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 01-envfile: executing... [cont-init.d] 01-envfile: exited 0. [cont-init.d] 10-adduser: executing... ------------------------------------- _ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/ Brought to you by linuxserver.io ------------------------------------- To support LSIO projects visit: https://www.linuxserver.io/donate/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 20-config: executing... [cont-init.d] 20-config: exited 0. [cont-init.d] 30-keygen: executing... using keys found in /config/keys [cont-init.d] 30-keygen: exited 0. [cont-init.d] 40-config: executing... [cont-init.d] 40-config: exited 0. [cont-init.d] 50-install: executing... [cont-init.d] 50-install: exited 0. [cont-init.d] 60-memcache: executing... [cont-init.d] 60-memcache: exited 0. [cont-init.d] 70-aliases: executing... [cont-init.d] 70-aliases: exited 0. [cont-init.d] 99-custom-files: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-files: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. mariadb: Brought to you by linuxserver.io ------------------------------------- To support LSIO projects visit: https://www.linuxserver.io/donate/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 30-config: executing... [cont-init.d] 30-config: exited 0. [cont-init.d] 40-initialise-db: executing... [cont-init.d] 40-initialise-db: exited 0. [cont-init.d] 90-warning: executing... ****************************************************** ****************************************************** * * * * * This image will soon be rebased * * from ubuntu to alpine. * * Please be aware, this may cause issues * * It is strongly recommended to make backups * * of your config and databases before * * updating your image to the alpine base. * * * * * ****************************************************** ****************************************************** [cont-init.d] 90-warning: exited 0. [cont-init.d] 99-custom-scripts: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-scripts: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. 210323 19:19:30 mysqld_safe Logging to syslog. 210323 19:19:31 mysqld_safe Starting mysqld daemon with databases from /config/databases swag: [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 01-envfile: executing... [cont-init.d] 01-envfile: exited 0. [cont-init.d] 10-adduser: executing... usermod: no changes ------------------------------------- _ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/ Brought to you by linuxserver.io ------------------------------------- To support the app dev(s) visit: Certbot: https://supporters.eff.org/donate/support-work-on-certbot To support LSIO projects visit: https://www.linuxserver.io/donate/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 20-config: executing... [cont-init.d] 20-config: exited 0. [cont-init.d] 30-keygen: executing... using keys found in /config/keys [cont-init.d] 30-keygen: exited 0. [cont-init.d] 50-config: executing... Variables set: PUID=99 PGID=100 TZ=Europe/London URL=******************.net SUBDOMAINS=nextcloud EXTRA_DOMAINS= ONLY_SUBDOMAINS=true VALIDATION=http CERTPROVIDER= DNSPLUGIN= EMAIL=*****_*****@hotmail.co.uk STAGING=false Using Let's Encrypt as the cert provider SUBDOMAINS entered, processing SUBDOMAINS entered, processing Only subdomains, no URL in cert Sub-domains processed are: -d nextcloud.*************.net E-mail address entered: *****_*****@hotmail.co.uk http validation is selected Certificate exists; parameters unchanged; starting nginx Starting 2019/12/30, GeoIP2 databases require personal license key to download. Please retrieve a free license key from MaxMind, and add a new env variable "MAXMINDDB_LICENSE_KEY", set to your license key. [cont-init.d] 50-config: exited 0. [cont-init.d] 60-renew: executing... The cert does not expire within the next day. Letting the cron script handle the renewal attempts overnight (2:08am). [cont-init.d] 60-renew: exited 0. [cont-init.d] 70-templates: executing... [cont-init.d] 70-templates: exited 0. [cont-init.d] 99-custom-files: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-files: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. Server ready App Logs - The text in this file is very very long and not formatted in lines at all, I have attached the log file. occ status: - installed: true - version: 20.0.7.1 - versionstring: 20.0.7 - edition: occ maintenance:mode - Maintenance mode is currently disabled app config - <?php $CONFIG = array ( 'memcache.local' => '\\OC\\Memcache\\APCu', 'datadirectory' => '/data', 'instanceid' => '***************', 'passwordsalt' => '*********************************', 'secret' => '**************************************************************', 'trusted_domains' => array ( 0 => '192.168.1.139:444', 1 => 'nextcloud.*************.net', ), 'dbtype' => 'mysql', 'version' => '20.0.7.1', 'overwrite.cli.url' => 'https://nextcloud.*************.net', 'overwritehost' => 'nextcloud.****************.net', 'overwriteprotocol' => 'https', 'dbname' => 'nextcloud', 'dbhost' => '192.168.1.139:3306', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'nextcloud', 'dbpassword' => '**********', 'installed' => true, 'trusted_proxies' => ['swag'], ); apologies for the long post ! Thanks, -Myles nextcloud.log
  18. That’s actually a great idea, was thinking last night as to whether something like that would help. Will let you know how testing goes later Thanks, Myles
  19. Hi Skois, thanks for your response. I’ll give this all a go in about 6-7 hours time once I’ve finished work etc. And come back to you! Thanks, Myles
  20. Hi Skois, thanks for your response I run unraid on a HP DL 380, I have swag and nextcloud on a custom network named proxynet so that I could access nextcloud via my registered subdomain (I had followed spaceinvaderone's tutorial when setting it up originally), I use mariadb as my database access log from appdata > nextcloud > log > nginx: 172.18.0.1 - - [21/Mar/2021:02:10:09 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 172.18.0.1 - - [21/Mar/2021:03:15:09 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 172.18.0.1 - - [21/Mar/2021:04:15:09 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 172.18.0.1 - - [21/Mar/2021:05:20:07 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 172.18.0.1 - - [21/Mar/2021:06:20:08 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 172.18.0.1 - - [21/Mar/2021:07:25:07 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 172.18.0.1 - - [21/Mar/2021:08:30:07 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 172.18.0.1 - - [21/Mar/2021:09:30:09 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 172.18.0.1 - - [21/Mar/2021:10:35:07 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 172.18.0.1 - - [21/Mar/2021:11:35:10 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 172.18.0.1 - - [21/Mar/2021:12:40:09 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 172.18.0.1 - - [21/Mar/2021:13:40:10 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 172.18.0.1 - - [21/Mar/2021:14:45:09 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 172.18.0.1 - - [21/Mar/2021:15:50:10 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 192.168.1.132 - - [21/Mar/2021:16:44:31 +0000] "GET / HTTP/2.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0" 192.168.1.132 - - [21/Mar/2021:16:46:00 +0000] "GET / HTTP/2.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0" 172.18.0.1 - - [21/Mar/2021:16:55:09 +0000] "GET /apps/richdocumentscode/proxy.php?req=/hosting/capabilities HTTP/1.1" 404 153 "-" "Nextcloud Server Crawler" 192.168.1.132 - - [21/Mar/2021:17:01:21 +0000] "GET / HTTP/2.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0" 192.168.1.132 - - [21/Mar/2021:17:01:56 +0000] "GET / HTTP/2.0" 302 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0" 192.168.1.132 - - [21/Mar/2021:17:02:58 +0000] "GET / HTTP/1.1" 400 255 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0" 192.168.1.132 - - [21/Mar/2021:17:02:58 +0000] "GET /favicon.ico HTTP/1.1" 400 255 "http://192.168.1.139:444/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0" 192.168.1.132 - - [21/Mar/2021:17:03:02 +0000] "GET / HTTP/1.1" 400 255 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0" When I click on the view log button to the right of the docker tab , there are no errors, it looks like it's started up fine, same with my swag docker as well. It was working absolutely fine and as expected for a good few months. Please let me know if I can provide any more information. Thanks, Myles
  21. Hi all, hope everyone's well I've an issue with my nextcloud installation, it was running for quite some time with no issues however after power down the server via the web ui, I keep getting an 'unable to connect' message when ever I try to load nextcloud UI. I run nextcloud behind swag with my own domain, I've not changed any settings/config files, it's just stopped working and unable to connect to it. It has happened once before, and in the end I did a fresh install of swag (moved to swag from letsencrypt) and nextcloud, but I want to try and figure out why it's breaking so I don't have to do a fresh install each time this happens Any ideas ? Thanks, Myles
  22. So what I’ve done is add a second cage from another dl380 g7 I bought then run the 2 sas cables from back of the cage to the h220 directly. It’s set up the same as it would be as standard but just goes to the h220 instead of the motherboard. On boot up the h220 found the drives no problem, unraid found them without any changes, cleared and formatted them and they’re added to the array. as I said it’s not the end of the world if they don’t work. Just quite a nice to have feature! If there was something I’ve not done or a setting in the bios or h220 for example for it to work, then it would be great. Otherwise no worries ! Thanks, Myles
  23. Hi all, Purchased and installed a h220, was wandering if the drive lights should be on For drives attached to the card? Not a problem at all if they aren’t, was just curious more than anything Thanks, Myles
  24. Have tried another disk and this one seems to be okay. Drive is currently being rebuilt at 93~MB/sec, I did manage to get the previous drive to start rebuilding but it was writing at 300~KB/sec so it very well could of been a bad drive. I'm definitely going to look to buy a HBA at the end of the month. Thankfully I've currently only got 474gb total in the array so I can move that all to a portable hard drive I have to switch all the drives over to a HBA. Thanks, Myles