Myleslewis
-
Posts
98 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by Myleslewis
-
-
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!
-
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!
-
1 minute ago, skois said:
I hope you don't have any problems with your new installation! Instead of swag you can also check the nginxproxymanager which is a gui alternative. I like it better cause is easier for certificates and proxies!
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
- 1
-
4 minutes ago, skois said:
If you still can't access nextcloud with 192.168.1.139:444 .
Then i really don't know whats going on there. SorryI 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 minutes ago, skois said:
Change database also to bridge from proxynet.
Check if it works.
If not, go to nextcloud docker and click console. do "ping 1.1.1.1 -c4" and "ping 192.168.1.139 -c4" change the local ip to your ip of your pc not your server.
To see if the docker can access internal network and external.database is on bridge already when I originally changed nextcloud to bridge, and both pings were successful
-
16 minutes ago, skois said:
Sorry meant if registar have the correct ip***
Hmmm Please once again post the config.php file and the docker edit of nextcloud (this time click the advanced on top right corner)
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
-
6 minutes ago, skois said:
can you ping your subdomain? ping nextcloud.***.net ?
If you can't probably something is off with the whole domain-duckdns thhing.
Check also on your registaar if the he currently have is correct.
Do you remeber what happened when it stopped working?
Just to make sure its the whole domain thing the problem.
Go to /mnt/user/appdata/nextcloud/www/nextcloud/config/config.php
Change 'overwrite.cli.url' to -> 'overwrite.cli.url' => 'https://192.168.1.139:444',comment out using a # infront. the lines overwritehost and overwriteprotocol
Change network from proxynet to bridge
Restart docker and try to access it with local ip:port
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
-
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:
-
-
I've done, that and the issue still percists
-
9 minutes ago, skois said:
Unraid terminal "cat /mnt/user/appdata/nextcloud/www/nextcloud/.user.ini
output of cat /mnt/user/appdata/nextcloud/www/nextcloud/.user.ini
-
7 minutes ago, skois said:
I added some more info on previous post, refresh page and check the rest
output of oss integrity:check-core
Forced update and docker reset, still same issue
-
1 minute ago, skois said:
The nextcloud subdomain,
Can you please do a ls -la on nextcloud folder again? After the permission toolHi 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;
}
} -
18 minutes ago, skois said:
Hmm, permissions seems different from mine, first do again "cd /mnt/user/NextCloud" and now do "cat .htaccess"
Then go to Unraid WebUI -> Tools -> New Permissions -> User Shares (select NextCloud) -> Start.
Restart docker and try agian.
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
-
-
19 hours ago, skois said:
Could you please go to /mnt/user/nextcloud and do an "ls -la" (You can hide the usernames if you want. Seems like you missing the .htaccess file.
Also try opening a console in nextcloud dokcer and do "occ maintenance:update:htaccess"
See if that helps
Also post the swag config file if the above don't help.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
-
21 hours ago, skois said:
Open terminal on unraid and do
* "docker network ls" -> Does proxynet appears?
Go to mariadb, nextcloud and swag docker and click edit.
* Are all of them on "proxynet" or they have defaulted back to bridge or anything else.
Go to /mnt/user/nextcloud (the folder you mapped as /data for nextcloud)
* Get the nextcloud.log (this is the log that gives you some info about nc instance)* When you visit localip:port (nextcloud ui) does it work? or neither external or internal works?
Please also attach config.php from /mnt/user/appdata/nextcloud/wwwn/extcloud/config/config.php
When you say "Unable to connect" it says just that? Or maybe it's "Internal Server Error"
* Can you grab a screenshot please
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 localLogs -
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/databasesswag:
[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 readyApp 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
-
2 minutes ago, skois said:
I created a template to fill when someone have a problem, so we get as much info as we can and also avoid multiple posts asking to post this and that.
If you have anything else in mind to add to template or change, please tell me.Because this forum don't render markdown, here is the link of the template.
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
-
13 hours ago, skois said:
Open terminal on unraid and do
* "docker network ls" -> Does proxynet appears?
Go to mariadb, nextcloud and swag docker and click edit.
* Are all of them on "proxynet" or they have defaulted back to bridge or anything else.
Go to /mnt/user/nextcloud (the folder you mapped as /data for nextcloud)
* Get the nextcloud.log (this is the log that gives you some info about nc instance)* When you visit localip:port (nextcloud ui) does it work? or neither external or internal works?
Please also attach config.php from /mnt/user/appdata/nextcloud/wwwn/extcloud/config/config.php
When you say "Unable to connect" it says just that? Or maybe it's "Internal Server Error"
* Can you grab a screenshot please
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
-
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
-
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
-
48 minutes ago, 1812 said:
IIRC, when directly hooked up to the cages, yes, when run through an expander, no.
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
-
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
-
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
Unmountable disk issue
in General Support
Posted
Here is his diagnostics zip file 🙂
tower-diagnostics-20210927-2045.zip