portonalga Posted September 14, 2020 Share Posted September 14, 2020 Good morning everyone. I hope this information can be of help to someone that went through the issue I had. After switching the container repository to move from LetsEncrypt to SWAG, my NextCloud would not connect at all. If this is your case, just go to the new SWAG container, edit, and re-add your DuckDNS token. It took me a while to figure out that was the issue, so I certainly hope someone can benefit from my experience here. This just goes to show that, since NextCloud needs more than 1 container to work outside of our networks, there is always a high chance that the issue is not the NextCloud installation, but one or more of the other parts. Quote Link to comment
Flemming Posted September 14, 2020 Share Posted September 14, 2020 I got this working, but after a reboot I get this when I access the web-interface. Internal Server Error The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the server log. Anyone see anything wrong? my config is like this: Quote Link to comment
Nanobug Posted September 15, 2020 Share Posted September 15, 2020 Hello I've created an A record on my domain to point at my nextcloud container, and I'm using Nginx Proxy Manger for handling the traffic. I get this error: So I thought I might have messed something up, and tried to connect throught the IP on a PC on the same network, and I get: I tried looking at the log, but I don't know if I'm even looking at the right one. Do you know where to start with this so I can get it up and running again? I would really like not to start over with it, since I have some things saved in there that I'd like to keep. Unless you know how to take a copy of it? Quote Link to comment
Nanobug Posted September 15, 2020 Share Posted September 15, 2020 Discard that last post. I forgot I changed some IP adresses, but didn't update it to Nextcloud. Changed it, and it worked again. Quote Link to comment
ur6969 Posted September 15, 2020 Share Posted September 15, 2020 On 9/13/2020 at 10:57 PM, ur6969 said: I had to rebuild my Unraid from a flash backup and have just now figured out how to recover and reinstall Dockers. I have mariadb and Nextcloud dockers installed but am having issues. Nextcloud is unavailable via webGUI. I get a blank white page with "Update in progress." in the top left. Some searching led me to try to update via command line. Typing "docker exec -it nextcloud occ maintenance:mode --on" (the first step) yields "sh: docker: not found". This is the command line selected from the docker. From the main Unraid command line the same command yields, "Could not open input file: /config/www/nextcloud/occ". Any ideas? Some progress everyone. Any idea where to go from here? Quote Link to comment
Vesko Posted September 15, 2020 Share Posted September 15, 2020 Hi,i just reinstalled nextcloud and i think i typed wrong password and now can't login. Is it any command that i can reset my password? Thank you. Quote Link to comment
mrvilla Posted September 15, 2020 Share Posted September 15, 2020 Hi I have a nextcloud docker and have some issues when checking settings on the nextcloud online page. the following messages appear: Issue 1 MySQL is used as database but does not support 4-byte characters. To be able to handle 4-byte characters (like emojis) without issues in filenames or comments for example it is recommended to enable the 4-byte support in MySQL. For further details read the documentation page about this. Issue 2 The "X-Frame-Options" HTTP header is not set to "SAMEORIGIN". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly. Issue 3 The database is missing some indexes. Due to the fact that adding indexes on big tables could take some time they were not added automatically. By running "occ db:add-missing-indices" those missing indexes could be added manually while the instance keeps running. Once the indexes are added queries to those tables are usually much faster. Missing index "share_with_index" in table "oc_share". Missing index "parent_index" in table "oc_share". Missing index "owner_index" in table "oc_share". Missing index "initiator_index" in table "oc_share". Missing index "fs_mtime" in table "oc_filecache". Missing index "twofactor_providers_uid" in table "oc_twofactor_providers". Missing index "version" in table "oc_whats_new". Missing index "cards_abid" in table "oc_cards". Missing index "cards_prop_abid" in table "oc_cards_properties". Missing index "calendarobject_calid_index" in table "oc_calendarobjects_props". Missing index "schedulobj_principuri_index" in table "oc_schedulingobjects". Missing index "properties_path_index" in table "oc_properties". Issue 4 The database is missing some optional columns. Due to the fact that adding columns on big tables could take some time they were not added automatically when they can be optional. By running "occ db:add-missing-columns" those missing columns could be added manually while the instance keeps running. Once the columns are added some features might improve responsiveness or usability. Issue 5 Missing optional column "reference_id" in table "oc_comments". Some columns in the database are missing a conversion to big int. Due to the fact that changing column types on big tables could take some time they were not changed automatically. By running 'occ db:convert-filecache-bigint' those pending changes could be applied manually. This operation needs to be made while the instance is offline. For further details read the documentation page about this. activity.activity_id activity.object_id activity_mq.mail_id filecache.fileid filecache.storage filecache.parent filecache.mimetype filecache.mimepart filecache.mtime filecache.storage_mtime mimetypes.id mounts.storage_id mounts.root_id mounts.mount_id storages.numeric_id Issue 6 The "Referrer-Policy" HTTP header is not set to "no-referrer", "no-referrer-when-downgrade", "strict-origin", "strict-origin-when-cross-origin" or "same-origin". This can leak referer information. See the W3C Recommendation ↗. Since I have no idea on how to fix these I am hoping for some advice here. What can I do to clear these messages? Quote Link to comment
Vesko Posted September 15, 2020 Share Posted September 15, 2020 2 hours ago, mrvilla said: Hi I have a nextcloud docker and have some issues when checking settings on the nextcloud online page. the following messages appear: Issue 1 MySQL is used as database but does not support 4-byte characters. To be able to handle 4-byte characters (like emojis) without issues in filenames or comments for example it is recommended to enable the 4-byte support in MySQL. For further details read the documentation page about this. Issue 2 The "X-Frame-Options" HTTP header is not set to "SAMEORIGIN". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly. Issue 3 The database is missing some indexes. Due to the fact that adding indexes on big tables could take some time they were not added automatically. By running "occ db:add-missing-indices" those missing indexes could be added manually while the instance keeps running. Once the indexes are added queries to those tables are usually much faster. Missing index "share_with_index" in table "oc_share". Missing index "parent_index" in table "oc_share". Missing index "owner_index" in table "oc_share". Missing index "initiator_index" in table "oc_share". Missing index "fs_mtime" in table "oc_filecache". Missing index "twofactor_providers_uid" in table "oc_twofactor_providers". Missing index "version" in table "oc_whats_new". Missing index "cards_abid" in table "oc_cards". Missing index "cards_prop_abid" in table "oc_cards_properties". Missing index "calendarobject_calid_index" in table "oc_calendarobjects_props". Missing index "schedulobj_principuri_index" in table "oc_schedulingobjects". Missing index "properties_path_index" in table "oc_properties". Issue 4 The database is missing some optional columns. Due to the fact that adding columns on big tables could take some time they were not added automatically when they can be optional. By running "occ db:add-missing-columns" those missing columns could be added manually while the instance keeps running. Once the columns are added some features might improve responsiveness or usability. Issue 5 Missing optional column "reference_id" in table "oc_comments". Some columns in the database are missing a conversion to big int. Due to the fact that changing column types on big tables could take some time they were not changed automatically. By running 'occ db:convert-filecache-bigint' those pending changes could be applied manually. This operation needs to be made while the instance is offline. For further details read the documentation page about this. activity.activity_id activity.object_id activity_mq.mail_id filecache.fileid filecache.storage filecache.parent filecache.mimetype filecache.mimepart filecache.mtime filecache.storage_mtime mimetypes.id mounts.storage_id mounts.root_id mounts.mount_id storages.numeric_id Issue 6 The "Referrer-Policy" HTTP header is not set to "no-referrer", "no-referrer-when-downgrade", "strict-origin", "strict-origin-when-cross-origin" or "same-origin". This can leak referer information. See the W3C Recommendation ↗. Since I have no idea on how to fix these I am hoping for some advice here. What can I do to clear these messages? Spaceinvader One videos in YouTube will help you with this errors. Quote Link to comment
H2O_King89 Posted September 15, 2020 Share Posted September 15, 2020 I've look over this thread and seen a few people report slow web/gui. I'm having the same issue. Initial login screen is 5-10 seconds. I have one single user and about 16GB used. I have my appdata installed on a 970 evo. I have a friend show me his nextcloud and his login was 1-2 seconds. I'm thinking about nuking the nextcloud and mysql and starting over. Sent from my Pixel 4 XL using Tapatalk Quote Link to comment
ur6969 Posted September 16, 2020 Share Posted September 16, 2020 12 hours ago, ur6969 said: Some progress everyone. Any idea where to go from here? It's !@#$%&* FIXED! It took 3 pours of single barrel Four Roses but I finally stumbled on this Reddit post: I had saved my last CA Backup & Restore before it rolled off to my pc and was able to copy over the Nextcloud folder in full. From there I used the command line update procedure in the first post of this thread. Drink more everyone. 1 Quote Link to comment
saarg Posted September 16, 2020 Share Posted September 16, 2020 9 hours ago, H2O_King89 said: I've look over this thread and seen a few people report slow web/gui. I'm having the same issue. Initial login screen is 5-10 seconds. I have one single user and about 16GB used. I have my appdata installed on a 970 evo. I have a friend show me his nextcloud and his login was 1-2 seconds. I'm thinking about nuking the nextcloud and mysql and starting over. Sent from my Pixel 4 XL using Tapatalk It's most likely spun down drives or something like that. There was someone mentioning optimizing the database settings to speed things up in this thread, if I remember correctly. Quote Link to comment
mrvilla Posted September 16, 2020 Share Posted September 16, 2020 11 hours ago, Vesko said: Spaceinvader One videos in YouTube will help you with this errors. Thanks for the tip! Quote Link to comment
Vesko Posted September 16, 2020 Share Posted September 16, 2020 (edited) On 9/14/2020 at 2:45 PM, portonalga said: Good morning everyone. I hope this information can be of help to someone that went through the issue I had. After switching the container repository to move from LetsEncrypt to SWAG, my NextCloud would not connect at all. If this is your case, just go to the new SWAG container, edit, and re-add your DuckDNS token. It took me a while to figure out that was the issue, so I certainly hope someone can benefit from my experience here. This just goes to show that, since NextCloud needs more than 1 container to work outside of our networks, there is always a high chance that the issue is not the NextCloud installation, but one or more of the other parts. Hi,did you edit the file . SAMPLE in Appdata SWAG because i forgot and then remember that i have now new appdata folder not the old one with Letsencrypt name. For me everything is working now Edited September 16, 2020 by Vesko Quote Link to comment
H2O_King89 Posted September 16, 2020 Share Posted September 16, 2020 It's most likely spun down drives or something like that. There was someone mentioning optimizing the database settings to speed things up in this thread, if I remember correctly.So we are talking about the Nextcloud share I take it. Yeah I have that set to cache on so it moves it to the array. I see what you mean about the spin up now. I did a quick test and the initial web visit was 10s and closing the browser and revisit was around 3-4sSent from my Pixel 4 XL using Tapatalk Quote Link to comment
mrvilla Posted September 16, 2020 Share Posted September 16, 2020 10 hours ago, mrvilla said: Thanks for the tip! Hi I watched Spaceinvader one and got rid of most errors. Have a few more that I can not find a solution to and that he did not mention. Issue 1 MySQL is used as database but does not support 4-byte characters. To be able to handle 4-byte characters (like emojis) without issues in filenames or comments for example it is recommended to enable the 4-byte support in MySQL. For further details read the documentation page about this. Issue 2 The "Referrer-Policy" HTTP header is not set to "no-referrer", "no-referrer-when-downgrade", "strict-origin", "strict-origin-when-cross-origin" or "same-origin". This can leak referer information. See the W3C Recommendation ↗. Would appreciate any help! Quote Link to comment
puncho Posted September 17, 2020 Share Posted September 17, 2020 Hi, I added my unraid root folders in the past to be able to share/add to it but now when I try to add another folder, I'm getting a red stop sign/unable to. Any hints as to where to start to fix it? Quote Link to comment
Jonatino Posted September 17, 2020 Share Posted September 17, 2020 (edited) I'm currently on nextcloud 19.0.1 and for some reason my docker container wont prompt me to update, and when I try force update it reinstalls 19.0.1. I can ping hub.docker.com from both unraid and the nextcloud docker container so I don't believe it's an network error. What can I do for troubleshooting in terms of why the docker updater isnt pulling the latest image? Edited September 17, 2020 by Jonatino Quote Link to comment
H2O_King89 Posted September 17, 2020 Share Posted September 17, 2020 I'm currently on nextcloud 19.0.1 and for some reason my docker container wont prompt me to update, and when I try force update it reinstalls 19.0.1. I can ping hub.docker.com from both unraid and the nextcloud docker container so I don't believe it's an network error. What can I do for troubleshooting in terms of why the docker updater isnt pulling the latest image? With next cloud you have to update within the docker. I have found it best to update by command lineSent from my Pixel 4 XL using Tapatalk Quote Link to comment
SPOautos Posted September 18, 2020 Share Posted September 18, 2020 (edited) First let me say that I am a extreme newbie to all of this computer/server/networking stuff. I've been watching the SI video series on Nextcloud and would like to setup Nextcloud. Is it necessary to do all of the reverse proxy stuff that adds so much complexity? Are there certain circumstances in which all of that is necessary or is it just a general necessary precaution? It feels a bit over my head so that even if I got it all working from the video, if anything even got somewhat messed up I'd never figure out what is wrong or how to fix it.....so I'm a bit reluctant to set it up with all of the reverse proxy and add all of that complexity to my Unraid server. Trying to gauge how necessary it is. Thank You for any advice you can give! Edited September 18, 2020 by SPOautos Quote Link to comment
H2O_King89 Posted September 18, 2020 Share Posted September 18, 2020 First let me say that I am a extreme newbie to all of this computer/server/networking stuff. I've been watching the SI video series on Nextcloud and would like to setup Nextcloud. Is it necessary to do all of the reverse proxy stuff that adds so much complexity? Are there certain circumstances in which all of that is necessary or is it just a general necessary precaution? It feels a bit over my head so that even if I got it all working from the video, if anything even got somewhat messed up I'd never figure out what is wrong or how to fix it.....so I'm a bit reluctant to set it up with all of the reverse proxy and add all of that complexity to my Unraid server. Trying to gauge how necessary it is. Thank You for any advice you can give!With reverse proxy this allows you to reach next cloud on the outside network. What I like about this is it gives me the ability to share files with others. I can also set up a public folder with a password on it to let people upload if they need to send me a file. Reverse proxy was intimidating at first but learning about it made it fun to setup. I was even able to setup my own website with it. Sent from my Pixel 4 XL using Tapatalk Quote Link to comment
SPOautos Posted September 18, 2020 Share Posted September 18, 2020 1 minute ago, H2O_King89 said: With reverse proxy this allows you to reach next cloud on the outside network. What I like about this is it gives me the ability to share files with others. I can also set up a public folder with a password on it to let people upload if they need to send me a file. Reverse proxy was intimidating at first but learning about it made it fun to setup. I was even able to setup my own website with it. Sent from my Pixel 4 XL using Tapatalk The the reverse proxy is basically there to support the feature of being able to share files with those who do not have login access to my Nextcloud? So I can securely setup Nextcloud without reverse proxy and create additional users for various devices that will be using the nextcloud and we can all share within eachother and to the Unraid server.....even without reverse proxy? Then once its all set up if I decide to have outside access I can setup the reverse proxy stuff (which it may be easier to setup once I already have Nextcloud setup and understand how to use it). Its a bit overwhelming to try to wrap my head around Nextcloud and reverse proxy both, all at once.....for someone who doesnt know anything about this stuff lol. Quote Link to comment
H2O_King89 Posted September 18, 2020 Share Posted September 18, 2020 The the reverse proxy is basically there to support the feature of being able to share files with those who do not have login access to my Nextcloud? So I can securely setup Nextcloud without reverse proxy and create additional users for various devices that will be using the nextcloud and we can all share within eachother and to the Unraid server.....even without reverse proxy? Then once its all set up if I decide to have outside access I can setup the reverse proxy stuff (which it may be easier to setup once I already have Nextcloud setup and understand how to use it). Its a bit overwhelming to try to wrap my head around Nextcloud and reverse proxy both, all at once.....for someone who doesnt know anything about this stuff lol.It's not just for letting people share files. I just listed of the the cool abilities I can do. You can also have auto photo backup setup on your phone. So as soon as you take a picture it will auto back up to your nextcloud. So let's say you take a picture and then some freak accident happens you damaged your phone. Your picture (s) are backup remotely. There are a lot of features to next cloud. Reverse proxy just gives you the ability to access those features outside your network. And with let's encrypt it will certificates to the reverse proxy to make your connections secured and encrypted. When I started this I knew nothing. Sent from my Pixel 4 XL using Tapatalk Quote Link to comment
SPOautos Posted September 18, 2020 Share Posted September 18, 2020 (edited) 14 minutes ago, H2O_King89 said: It's not just for letting people share files. I just listed of the the cool abilities I can do. You can also have auto photo backup setup on your phone. So as soon as you take a picture it will auto back up to your nextcloud. So let's say you take a picture and then some freak accident happens you damaged your phone. Your picture (s) are backup remotely. There are a lot of features to next cloud. Reverse proxy just gives you the ability to access those features outside your network. And with let's encrypt it will certificates to the reverse proxy to make your connections secured and encrypted. When I started this I knew nothing. Sent from my Pixel 4 XL using Tapatalk Okay, so when you say "outside of your network" you are refering to the local network that Unraid is on? So for instance to use phone apps and have them backup to Unraid (like you mentioned), requires reverse proxy? That is a feature I am really needing so I suppose I will need to set up the reverse proxy.....dang, that sucks lol From your first post, when you said "outside of your network", I thought you were referring to the devices connected to my Nextcloud account (such as a phone logged in with the phone app) as part of the network....as opposed to those outside of my Nextcloud account that I'm sharing back and forth with. Thamk you for clarifying. This is a lot to take in! Edited September 18, 2020 by SPOautos Quote Link to comment
H2O_King89 Posted September 18, 2020 Share Posted September 18, 2020 Okay, so when you say "outside of your network" you are refering to the local network that Unraid is on? So for instance to use phone apps and have them backup to Unraid (like you mentioned), requires reverse proxy? That is a feature I am really needing so I suppose I will need to set up the reverse proxy.....dang, that sucks lol From your first post, when you said "outside of your network", I thought you were referring to the devices connected to my Nextcloud (such as a phone logged in with the phone app) as part of the network. Thamk you for clarifying. This is a lot to take in!Local network or lan network or in/on your network aka your homeWan or outside of your network or remote aka away from your home. Sent from my Pixel 4 XL using Tapatalk 1 Quote Link to comment
SPOautos Posted September 18, 2020 Share Posted September 18, 2020 1 minute ago, H2O_King89 said: Local network or lan network or in/on your network aka your home Wan or outside of your network or remote aka away from your home. Sent from my Pixel 4 XL using Tapatalk Thank you.....being new to all of this means not really understanding all of the correct terminology. I appreciate it......heading off to watch those videos a lot more hahaha 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.