Jump to content

DrBobke

Members
  • Posts

    84
  • Joined

  • Last visited

Posts posted by DrBobke

  1. On 2/2/2023 at 2:35 PM, avinyc said:

     

    Look in your proxy configuration file "nextcloud.subdomain.conf"

     

    You can increase the file size limit.  Mine shows as follows "proxy_max_temp_file_size 2048m"

     

    Change it to 4096m if you just want to double it to 4gb, or set any higher number and see if that helps resolve your timeouts.

    Thanks a lot for your comment and apologies for the late reply. I have been looking in my nextcloud and under appdata, but I can't seem to find the nextcloud.subdomain.conf file. Is this under appdata --> Nextcloud --> ??

     

    Looking forward to your reply and hoping to solve this issue. 🙂

     

    Best regards,

     

    Robert Smits

     

  2. Hi everyone, I have been running an own Nextcloud instance for over a year, protected by a reverse proxy SWAG, setup like SpaceInvader one's channel.  Everything has been working great (except for last week, when I also had an issue with SWAG, which luckily was sorted thanks to this forum above here!).

     

    However, I am sharing a lot of photos and personal videos with family and friends and I often get the feedback that they can't download things from my Nextcloud, which is larger in size (it appears that anything below around 2Gb is fine, but above it times out). I did read some comments on the forum, that it would be SWAG which is the bottleneck, but there doesn't seem to be a solution. So I am using Nextcloud, MariaDB, DuckDNS and Swag.  So not sure where the issue lies, but I want to solve this quickly.

     

    Anyone else that has this issue and maybe some kind of explanation why this is happening/how to solve it?

     

    Thanks in advance,

    best regards,

    DrBobke

  3. Hi Kilrah, that is awesome, thanks for that! However, it seems that with SWAG, I am getting the time-out errors for folders/files which are bigger than +-2Gb.  I read somewhere people reporting it to be swag which is the factor for timing out, I am trying/wanting to get rid of that error, that is why I am looking to fix Nginx or something else. Unless there is a setting in SWAG somewhere I can change to not have the error anymore... 🙂 

     

    Thank you for replying!

  4. 23 minutes ago, Kilrah said:

    There is nothing special to do with NPM for nextcloud which is likely the reason for no video since it's straightforward. Add proxy host, enter http / IP / port, create new cert on SSL tab and that's it.

    Yeah, I don't think it is that straightforward.  Port forwarding etc is easy, but my swag is created with the duckdns which I created, again, easy, so is the setup of nginx I think, but I am struggling with setting up the cloudflare bit.  I created an account, but I don't have a website to use for this, nor can I find the DNS settings.  The Cname I can't setup via duckdns (or at least, I haven't found that). I even tried making an account with freedns.afraid.org, but that didn't really work either.

     

    I obviously have an "nextcloud.duckdns.org" site, but I assume that is not what I have to input there? Also, do I then just stop the SWAG docker container and run the nginx, or is there something more to it?

  5. Hi everyone, I have been running an own Nextcloud instance for over a year, protected by a reverse proxy SWAG, setup like SpaceInvader one's channel.  Everything has been working great (except for last week, when I also had an issue with SWAG, whihc luckily was sorted thanks to this forum).

     

    However, I am sharing a lot of photos and personal videos with family and friends and I often get the feedback that they can't download things from my Nextcloud, which is larger in size (it appears that anything below around 2Gb is fine, but above it times out). I did read some comments on the forum, that it would be SWAG which is the bottleneck, but there doesn't seem to be a solution. So I am using Nextcloud, MariaDB, DuckDNS and Swag.

     

    I was just trying to install Nginx to see if this would work, using Ibracorps' video, but when he goes into cloudflare and dns custom domains etc, I am lost.  I don't have a setup that intrecate, nor am I able to configure the things he is doing. This has already cost me well over 3 hours to try and figure out, but thought it would be better to ask help here.

     

    Since I can't seem to find an alternative explanation from spaceinvaderone on using nginx, or moving over things from swag to nginx and I am not too familiar with unraid, I don't want to screw anything up (I have a lot of folders and files on my cloud). But I do want to try and sort the timeout issues that family and friends are encountering.

     

    Anything I can try to sort it out?

     

    Thanks in advance,

    best regards,

    DrBobke

  6. On 1/29/2023 at 12:25 PM, Mihle said:

    I figured it out, its not an issue with MariaDB at all. The issue is with SWAG.

    1. Stop SWAG docker (dont know if this is required, but seems like a good practice to do?)

    2. Go in to appdata/swag/nginx
    3. Rename the nginx.conf like for example add .old (so you still have it, just in case)

    4. Rename the nginx.conf.sample to just nginx.conf

    5. Start SWAG docker
    6. Profit.

     

    EDIT: Found this thread after the fact right now: 

     

     

    On 1/29/2023 at 12:25 PM, Mihle said:

    I figured it out, its not an issue with MariaDB at all. The issue is with SWAG.

    1. Stop SWAG docker (dont know if this is required, but seems like a good practice to do?)

    2. Go in to appdata/swag/nginx
    3. Rename the nginx.conf like for example add .old (so you still have it, just in case)

    4. Rename the nginx.conf.sample to just nginx.conf

    5. Start SWAG docker
    6. Profit.

     

    EDIT: Found this thread after the fact right now: 

     

    Thanks a lot for posting it here! I did as you suggested, but that didn't work. I then read the thread about the broken reverse proxy and changed the SSL too, which worked like a charm! Thanks a lot! Nextcloud is up and running again!! THANK YOU THANK YOU THANK YOU!!!

  7. 20 minutes ago, mgutt said:

    Ok fine. This contains your mariadb files (restore needs attention as it replaces ALL Container files, which isn't maybe your target)

     

    Euhm okay? How do you suggest I do that? Or is there a guide somewhere I can follow? To be honest, if I need to rebuild everything from scratch with all files, shares and people involved, I'll probably ditch the whole unraid server...

     

    20 minutes ago, mgutt said:

    Correct. I think this is a bug and should be reported.

     

    Is there a way how I can do that? Through support of the docker?

     

    20 minutes ago, mgutt said:

    The official container updates automatically.

     

    As Spaceinvader One is using Linux server repository, I did the same to keep everything the same and not to get errors...

    Too bad that the official one does everything automagically...

    20 minutes ago, mgutt said:

    You are wrong here. This thread is for the official Maria db container, but you are using linuxservers custom version.

    Damn, that is bad, is there a way to change that somehow, but still retain all files and stuff I have/had on Nextcloud?

    I did have some issues with up- and download of files of around 2GB and larger, but I think that is due to swag.  I was thinking about switching over to Nginx, but luckily I didn't, as I would "know" that is what was causing the error...

     

    If there is any way you could provide some steps I can do to bring my nextcloud back to the living, that would be awesome.

    Thanks again for your help.

     

    Just forgot to add - when I try to locally go into my Nextcloud "unraidIP:444", I get

     

    image.png.d218b62d70e25a7b923445a16e2ee3d3.png
    Not sure why I am getting this error, nor why it is nginx, as I am using swag?
  8. 50 minutes ago, mgutt said:

    Ok, it's rare, but something like this can happen if something crashes etc. This leads me to the question: Where is your backup?

     

    I should have backup on all stuff up and running, but can't seem to find the one with docker info...

    I do have appdatabackup, flashdrivebackup and libvirt backup.  Is it somewhere in there perhaps?

     

    52 minutes ago, mgutt said:

    Ok, you are having a problem with a software and the best idea you had was you force an update 🤨

     

    Did you create a backup before doing this step?

    Well, if it states that I need to do an update, then I usually do, as it seems it is trying to tell me something? Since it was installed, but I couldn't see it in the log, and I noticed a section that I could force the update, then yes, I forced the update.  If it doesn't work like it should and it is telling me to do so, I thought it would be a good idea, yes!

    If that isn't good, then maybe the creator shouldn't put those kinds of messages in?

     

    I did not do a manual backup of that no (I hadn't even thought about it, I was just trying to fix no one getting on Nextcloud).

     

    55 minutes ago, mgutt said:

    If a container is up to date, then the included software is up to date, too. That's how containers work. So if you get a message in the logs which asks for an Update, then this is maybe a bug which needs to be reported, but NEVER a user needs to to something!

     

    Well, strange that I get a message that I need to update.  Moreover, I have always kept all my dockers up to date, only to find out a couple of months ago that I then also had to update nextcloud from in my settings in nextcloud itself.  I wrongfully assumed that everything would be updated.  So I went from version 21. something I think, to 25.something.  It is all very confusing for users that have a pretty strong computer background, but defenitly not an expert in this kind of stuff...

     

    58 minutes ago, mgutt said:

    This is displayed by Nextcloud? What is inside the MariaDB logs regarding the login tries? No error? Did you try to connect to the database through Adminer? Are your networks correctly setup so Nextcloud is technically able to reach the MariaDB container? Which networks are you using? Please post screenshots if possible.

    When I go on my personal Nextcloud (https://smitscloud.duckdns.org/), I get the ERR_CONNECTION_REFUSED

    Inside the MariaDB, there is no logs about login tries, nor for the faulty login tries I did before I figured out which password I had used for that... I don't have the Adminer-thing, I setup everything using Spaceinvader one's youtube tutorial.

    My networks were working fine for years, sharing with a lot of people different kind of files, but mostly photo and video files...

     

    Webpage :

    image.png.1d27343e4db2e96561de1bc79318101e.png

    MariaDB Log

    image.thumb.png.9000df476def75aa9b011d4ae0071fc4.png

    MariaDB settings:

    image.thumb.png.501ad37407c509d35808f87f92cdf160.png

    Nextcloud Log:

    image.thumb.png.76af74ea35f8e6bd4bde59806a9b1557.png

    Nextcloud Settings:

    image.thumb.png.256978a02c68995186099c9b225b8f44.png

    duckdns Log

    image.thumb.png.7510bc1232d233bb7cd33ba80e4002f7.png

    Duckdns settings : 

    image.thumb.png.6e2ac26118f298659f3ee153b9d313c6.png

     

    And then I have swag too, but not sure if that is neccessary to share here?

    Swag log seems interesting though?

    image.thumb.png.e05c0c88fd148d785e0a94f3785651d1.png

     

    Please let me know if I need to delete any 'sensitive' information in case this could be used to gain access by others...?

     

    If you need any other screenshots, please let me know!

    Thank you in advance for your help, it is very much appreciated!

     

    DrBobke

  9. Hi guys, I have been using Mariadb for two years for my nextcloud.  Everything has been working fine and stable all that time since setup. I know Nextcloud was updated (or was at least over a week ago when I last checked).  However, I have just noticed today, that all of the sudden, my Nextcloud stopped working. Except for updating the various dockers, I haven't done anything to my unraid.

    My setup is mariadb with duckdns and nextcloud which is rooted through a reverse proxy swag.  I do think I am having some issues with swag when people want to upload/download files over 2Gb in size.

     

    When I was troubleshooting this, I went into the logs of mariadb and found a notice "An upgrade is required on your databases. Stop any services that are accessing databases        #
    #          in this container, and then run the command          #
    #                                                               #
    #             mariadb-upgrade -u root -p<PASSWORD> 

     

    So I stopped the services listed above and went into the console and typed the command, logged in with my password and I saw that it was working. But I am still getting the same error in the logs, that I have to upgrade (docker is up-to-date for all dockers I am using).

    In the console, I get the following message : This installation of MariaDB is already upgraded to 10.6.10-MariaDB.
    There is no need to run mysql_upgrade again for 10.6.10-MariaDB.
    You can use --force if you still want to run mysql_upgrade

     

    So I went in again and used --force at the end, but that doesn't lead me further and I keep getting the same log error that I have to upgrade.  Not sure if it has anything to do with Nextcloud not working, but it's somewhere to start at least.

     

    The error I am getting is "ERR_CONNECTION_REFUSED"

    Any help will be greatly appreciated for sure as this is a bit of a nightmare.  I really don't want to loose the Nextcloud that I have painstakingly built up over the years.

  10. 11 hours ago, Kilrah said:

    Again I gave you the exact, tested command. 

     

      

     

    Nope, they're just 2 ways of doing essentially the same thing, and both run nginx to do the job. Just NPM is a graphical interface and swag is command line/config file based and has some automation.

    Thanks, but the exact command obviously didn't work... Thanks to Selmak's comment, it did...

     

    I will have to check out Nginx then, instead of swag. Is there any good reference you can point me to in making the change please?

     

    6 hours ago, JonathanM said:

    You are thinking of when the container was named "Letsencrypt", but for obvious reasons the letsencrypt project was less than thrilled for a third party package to take their name.

     

    Transitioning from the poorly named letsencrypt container to the identical swag was simply a matter of changing the repository name.

    Yes, you are absolutely right, it used to be letsencrypt! I just followed the video from SpaceInvader One to get it set up...

  11. 23 hours ago, Kilrah said:

    I gave you the exact command for add-missing-indices as an example and you somehow managed to run everything but that...

     

    Nginx Proxy Manager

    I'm not sure if I did anything wrong? I tried the different folders and more than specified?

     

    Wasn't Nginx superseeded by swag? I know I had everything setup with a different reverse proxy first, but that didn't work anymore, so I had to use Swag instead...

  12. 5 hours ago, Selmak said:

    Have you tired just using occ ?

     

    https://docs.linuxserver.io/images/docker-nextcloud

     

    Note: Both occ and updater.phar can be run without prepending with sudo -u abc php or sudo -u www-data php

     

    It also looks like the dir you are trying to use in the container is wrong it should be  i.e /config/www/nextcloud.

     

    Try running running occ then the command without specifying the dir.

    So I would run "occ db:add-missing-indices" or "abc /occ db:add-missing-indices"?

  13. 10 hours ago, Kilrah said:

    Then that should be fine, I tested before posting. It should have told you it added things, and if you run it again that everything's already correct.

     

    It could be a swag config issue where its own limit is smaller than the one on nextcloud side, but I don't have experience with swag to help with that.

    I have tried in different possibilities, but none of them seem to work... 😞 

    see screenshot:

     

    image.png.bdc7a8156afa9ff3b4d4b217aea2934c.png

     

    Too bad that you don't know about Swag, anyone else? 🙂 

    If you are not using Swag, do you have a reverse proxy that you use and if so, what are you using?

     

    Thanks again,

    DrBobke

  14. 2 hours ago, Kilrah said:

    It's right there though. 

    You did run that in the container console and NOT unraid console as explained earlier?

    Yes, I ran sudo -u abc /appdata/nextcloud/www/nextcloud/occ db:add-missing-indices

     

    I went into the docker console and input it there. Or do I have to add something more? Or just nextcloud/www/...?

     

    What about the download size issue? Is it sur to a swag limitation?

     

    Thanks a lot!

  15. Hi Kizer, thanks a lot for your message.  I did try to play 4k directly, but it is buffering every few seconds then... As stated in the original post, the stream is 77,9Mbps for the movie.

    I usually play 1080p, as most of my content is in 1080p anyway.  My amp is an PIONEER SUSANO SC-LX90, which I bought when it first came out, it is amazing, but only plays up to 1080p. Since I can see the playback just fine (except for the buffering issues), I know it is not that (wouldn't make sense that my amp would make the PS4 buffer, right?).

     

    But even when transcoded to 20 Mbps, it won't run it, not even a ripped version of the same movie, at 1080p, 3,6Mbps.

    I am wondering if I can use the unraid build in a VM (or something) to play the movies? If not, Can I buy for example a Nvidia Shield Pro? Or should I just ditch Unraid altogether and move to Synology for example?  I am at my witt's end why it can't playback files. 4k is clearly the future, so if I would change my setup, I want to make sure I can actually play 4k content..

     

    Thanks for your reply, any help is greatly appreciated!

    DrBobke

  16. On 12/1/2022 at 4:15 PM, Kilrah said:

    The commands in nextcloud docs refer to a standard/official install, they may need to be adapted to the way a given 3rd-party install/container is implemented.

     

    linuxserver uses 'abc' as the user for their containers, and the location the app is stored in is different as well, so you need to modify the commands accordingly, e.g. 

     

    sudo -u abc /config/www/nextcloud/occ db:add-missing-indices

     

     

      

    Are you using an additional reverse proxy in front of nextcloud? That could be where the bad config is regarding large files.

    So sorry, I hadn't seen your message earlier than just now.. I have tried adapting the line as per your suggestion, but it is not being recognized.  When going into what I believe the correct folder is (and also adapted the "code" line, I also get a message that it is not recognized).

     

    image.thumb.png.732a70fe43b88a67cccd12638c6c6cde.pngThis is the folder, but I can't see the occ file?

     

    I am running through a reverse proxy, which I installed through the help of the SpaceInvader One's' video.

    So I am using Swag from this video : 

     

    Swag is updated to the latest version and in the settings, I can't find any limitation on file size?

     

    Thanks a lot for your help, I really appreciate it!

    DrBobke

  17. 22 hours ago, Jessie said:

    If you are using the client, there is a checkbox in settings which restricts to 500mb. You need to uncheck it.

     

    It was already unchecked, I also don't have any restrictions on Download or upload. Any other ideas?

    * I know this is not on my topic, but I had the same issues, updating everything in search of a solution made me get these other issues...

     

  18. 23 hours ago, Kilrah said:

    The '$' isn't part of the command

     

    Thanks a lot, but the others don't work either

    image.png.4c0d2b63eca8020fe559009dc84e8673.png

     

    I know I read smth about the user www-data that that is the admin user or smth like that, but how can I log into that? All docker settings are set correctly as far as I'm aware...

     

×
×
  • Create New...