ufo56

Members
  • Posts

    52
  • Joined

  • Last visited

Posts posted by ufo56

  1. 14 hours ago, masterdot said:

     

    Did you get it running? I do have the same problem with my setup :(

     

    custom locations

    listen 8448 ssl;
        location / {
           proxy_pass http://192.168.1.211:8008;
         proxy_set_header X-Forwarded-For $remote_addr;
        }
    
    location /.well-known/matrix/client {
        return 200 '{"m.homeserver": {"base_url": "https://matrix.domain.com"}}';
        default_type application/json;
        add_header Access-Control-Allow-Origin *;
    }
    
    location /.well-known/matrix/server {
        return 200 '{"m.server": "matrix.domain.com:443" }';
        default_type application/json;
        add_header Access-Control-Allow-Origin *;
    }

     

    image.png.86d2ae3cc0ff88ed738ede18a0847830.png

     

  2. @gloworm @PanRider

    Add container extra options 

    --device="/dev/bus/usb/001/004:/dev/bus/usb/001/004" -e "SERVICE_ENABLE_PIAWARE=false" -e "HTML_SITE_LAT=xxx"  -e "HTML_SITE_LON=xxxx" -e "HTML_SITE_NAME=xxx" -e "HTML_DEFAULT_TRACKER=Flightradar24" -e "HTML_FR24_FEEDER_STATUS_PAGE=http://192.168.1.211:8754" -e "FR24FEED_FR24KEY=xxxxx"

     

    This container does not use config files anymore by long time ago now...

    And voilaa, everything works.

    • Like 1
  3. Hi

     

    My old server starts to get old, and i need some advice to upgrade.

    at moment i have

    2x e5520

    32gb ram ddr3

    Motherboard: Tyan 7002 S7002WGM2NR

    2x LSI Logic SAS 9211-8i

    11x hdd 2x ssd

    2U case with sas backplane

     

    I think  upgrade to Ryzen 7 2700X or better ( even this cpu has like 3 times more power :D )

     

    Not sure what case i should use, it does not have to be fancy or pretty ( server is hidden away anyways ), it can be like 4U or tower, im planning to add a graphics card for plex.

     

    It would be nice if new case has SAS backblane where i can use SFF-8087 connectors but there is no problem if its SFF-8087 -> SATA.

    For the future there should be like 16 spaces for hdd.

     

    One case that i found https://www.alternate.de/Inter-Tech/4U-4416-Server-Gehäuse/html/product/1544197?

     

    All suggestions/ideas to cpu, psu, motherboard, ram and other hardware are also welcome.

     

    The hardware should be available in Europe.

     

     

  4. What to do... Nextcloud docker won't stop, only way to stop is kill -9 process id

    I deleted whole container and added again with empty appdata folder, same error still....

     

    s6-svwait: fatal: supervisor died
    [s6-finish] sending all processes the TERM signal.
    [s6-finish] sending all processes the KILL signal and exiting.

     

  5. 2 hours ago, johnnie.black said:

    Don't start like that or that device will be wiped, if Docker/VM services are using the cache pool disable them, unassign all cache devices, start array to make Unraid "forget" current cache config, stop array, reassign all cache devices (there can't be any "all data will be deleted" warning), re-enable Docker/VMs if needed, start array.

     

     

    Thank you

  6. On 1/21/2020 at 6:12 AM, blaine07 said:

     


    Okay, figured PHP junk out; no change.

    Now I’m on to trying to figure out “fastcgi” stuff found here: https://docs.nextcloud.com/server/15/admin_manual/configuration_files/big_file_upload_configuration.html

    c1af9a8ecf5b11342d5be2b3fabdd077.png

    bdfb7956209f350616241c50347d2fab.png

    I just don’t understand where it’s telling me to make fastcgi changes.

    Anyone had any experience with changing fastcgi stuff and have any advice? This deal literally driving me bonkers not being able to figure it out(uploading large files through iOS Nextcloud app). emoji2361.pngemoji2361.pngemoji2361.pngemoji26.pngemoji26.pngemoji26.png

    I just don’t understand how no one else has hit this rock wall like I have.

     

    Have to tell you that there is probably no solution for nextcloud speed problems, there is no difference is that iOS or NC windows app.

     

    I have wasted tens and tens of hours for debugging it over past 2 years. It has to be related docker, unraid docker network or specifically to this NC container.  There are main 2 suspects on this case, for some reason php-fpm takes alot of time to process files that are uploaded ( 10mb chunks) and/or there is some specific internal docker network problem why it takes so long to transfer that file.

     

    Another server with much less cpu and ram and there i can upload 500-800mbit/s (server is 700 km away from my home, without docker, it uses reverse proxy also). On that server it takes about 400-800ms to process one chunk(10mb), compare with unraid docker NC where it takes 2-3 seconds. 4 core cpu with lower ghz and 6gb ram can process 15 times faster NC on bare metal than dual cpu xeon with 64gb ram on docker.

     

    There is no config file that i have not modified/tuned nginx, php, mysql, memcached, APCu, Redis... you name it 

    Btw nginx and NC combo loves http1 not http2, there is alot talk about it on github/NC forum. Thats why im using on my second server http1 only, network speed went from 50mbit/s to almost gigabit.... 

     

    However on my unraid server im out of ideas.

     

     

     

     

     

     

    • Like 1
  7. 1 minute ago, johnnie.black said:

    The XML for all VMs is stored in libvirt.img, it's a good idea to back it up, if you don't have one you can recreate the VMs as they were and point to the original vdisks, though some might not work with just that.

    Yup, libvirt image was also backed up and restored to its original location. 

  8. Hi

    Long story short, my cache ssd failed. I managed to restore my appdata and system folder completely.

    But no for some reason all my VMs are missing (VM were not stored at cache ssd even), all VM images are  still present at /mnt/user/domains.

    It seems to be unraid is looking for some information from now removed cache ssd for VM's because there was no way to use "mover", i had to restore from backup.

  9. Hi

     

    I did a restart yesterday for my box and after restart i has forgotten my cache drive configuration. Or at least unraid detects them as new drives.

    Im using 2 cache drives for appdata and nextcloud data cache. At moment i mounted one drive from cache array with unassigned devices plugin and backuping latest appdata.

     

     

     

    1) Backup data

    2) Start array without docker and copy appdata back?

    3) Start array with docker after that and pray everything works ?

     

    What to do ? 

     

    image.thumb.png.b5ff91d7261be32cd171ee036b2a2b8a.png

  10. On 8/19/2017 at 8:14 PM, Diggewuff said:

    Hey,

    im currently having an issue while downloading larger files.

    I have configured my Nextcloud with LS lets encrypt docker, and when I'm downloading a large file or folder which then is put into a tar container the download is aborting at 1 GB.

    Could that be a configuration error? At witch points could download size limits be configured? Via local network Downloads are not aborting! 

    I suppose it's the reverse proxy.

    
    #***.***********.de
    
    server {
        listen 443 ssl http2;
        server_name ***.***********.de;
    
        root /config/www;
            index index.html index.htm index.php;
    
        ###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:**********************';
    
            ###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.1.5:443;
            }
    }

     

    Finally i found a solution to people who will experience this problem.

    Downloads/uploads for bigger files are impossible, 1gb+. Connection gets disconnected or is painfully slow. Well-known problem here and reddit threads.

    This problem appears on this container with reverse proxy tutorial and when u make reverse proxy with NginxProxyManager.

     

    Add to nginx.config or virtual host config file in reverse proxy. Depends on your configuration.

     

    client_max_body_size      2000m;

    proxy.conf extra lines

    proxy_temp_file_write_size 64k;
    proxy_connect_timeout 10080s;
    proxy_send_timeout 10080;
    proxy_read_timeout 10080;
    proxy_buffer_size 64k;
    proxy_buffers 16 32k;
    proxy_busy_buffers_size 64k;
    proxy_redirect off;
    proxy_request_buffering off;
    proxy_buffering off; 

    ---------------------

    nextcloud php-fpm

     

    pm = ondemand
    pm.max_children = 25
    pm.start_servers = 2
    pm.min_spare_servers = 1
    pm.max_spare_servers = 5

    nextcloud php.ini

    memory_limit = 512M

     

    Redis cache is also suggested. Install redis container and add these lines to nextcloud.

     

    config.php

      'memcache.local' => '\\OC\\Memcache\\Redis',
      'memcache.locking' => '\\OC\\Memcache\\Redis',
      'redis' => 
      array (
        'host' => 'IP',
        'port' => 6379,
      ),

     

     

  11. Triple checked domain and typed two times again. I was thinking im at wrong site. Before this forum theme it was usable at least.

     

    Maybe more bigger fonts and more clear space? :)

    Home page (unraid.net) is nice but wtf is this shit ? Forum home page is "viewable". Sub-forums and threads are terrible. Did you actually paid for this forum theme ? ip board default theme is way better than this. Basically pick a random theme from here and u probably get nicer one. https://invisioncommunity.com/files/category/162-themes/

     

    Nothing personal...

  12. 1 hour ago, CHBMB said:

     

    Post your docker run command, there's nothing wrong with the container.  So it's got to be something your end.  I suspect you've run into the fact that letsencrypt has changed it's auth protocols.  Details in the read me.

     

    https://github.com/linuxserver/docker-letsencrypt#parameters

    Thank you for link. Auth protocol mistake it is. Changed to cloudflare.