Heciruam

Members
  • Posts

    114
  • Joined

  • Last visited

Posts posted by Heciruam

  1. Hello,

     

    I currently can't get past the login screen of the web UI of Unraid. I'm accessing my server remotely via wireguard/tailscale. Some Docker conatainers are running, others are not reachable.

     

    I would like to restart the server as I seem to be able to ssh into the server. I just can't find a list of available commands. I don't want to try random commands that might lock the server for me completly as I won't be able to access it physicly for another 2 months.

    Is there documentation for command line commands?

  2. 5 hours ago, arturovf said:

    can you share your config for mattermost please

    #upstream backend {
    #   server 10.10.10.2:8065;
    #   keepalive 32;
    #}
    
    proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=mattermost_cache:10m max_size=3g inactive=120m use_temp_path=off;
    
    server {
       listen 80;
       server_name _;
       return 301 https://$host$request_uri;
    }
    
    server {
       listen 443 ssl;
    
       server_name    mattermost.*;
    
       location ~ /api/v[0-9]+/(users/)?websocket$ {
           proxy_set_header Upgrade $http_upgrade;
           proxy_set_header Connection "upgrade";
           client_max_body_size 50M;
           proxy_set_header Host $http_host;
           proxy_set_header X-Real-IP $remote_addr;
           proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
           proxy_set_header X-Forwarded-Proto $scheme;
           proxy_set_header X-Frame-Options SAMEORIGIN;
           proxy_buffers 256 16k;
           proxy_buffer_size 16k;
           client_body_timeout 60;
           send_timeout 300;
           lingering_timeout 5;
           proxy_connect_timeout 90;
           proxy_send_timeout 300;
           proxy_read_timeout 90s;
           proxy_pass http://UNRAIDIP:8065;
       }
    
       location / {
           client_max_body_size 50M;
           proxy_set_header Connection "";
           proxy_set_header Host $http_host;
           proxy_set_header X-Real-IP $remote_addr;
           proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
           proxy_set_header X-Forwarded-Proto $scheme;
           proxy_set_header X-Frame-Options SAMEORIGIN;
           proxy_buffers 256 16k;
           proxy_buffer_size 16k;
           proxy_read_timeout 600s;
           proxy_cache mattermost_cache;
           proxy_cache_revalidate on;
           proxy_cache_min_uses 2;
           proxy_cache_use_stale timeout;
           proxy_cache_lock on;
           proxy_http_version 1.1;
           proxy_pass http://UNRAIDIP:8065;
       }
    }

     

    I hope it helps

    • Like 1
  3. So I finally have access and time to go at it.

     

    Disk 4 is disabled and missing according to Unraid. I switched out cable without any change. That drive should be fine though. Could this be a mistake in the Unraid UI?

     

    When I create "New Config" in tools. Do I preserve everything? or wll it delete my cache drives if I only check Array slots for example?

     

     

    Thanks!

  4. Hi,

     

    I ran into a bit of Situation. My Parity Disk turned disabled while I was copying a large chunk onto the array. The drive seems fine so I though I'll just rebuild it after finishing the copy process since it usually is a bad cable. After restarting the other disks were disabled so I had to restart a bunch of times to get them all back. I know drive 10 is dying. I was hoping to rebuild parity first and then get that one replaced.

     

    But I now have an unmountable disk 4 drive. I'm pretty sure that that drive is okay. Since I won't be able to access the server physically for two weeks I was wondering what's the best way to go about this.

    Can I enable disk4 somehow and rebuild parity. Or will I have to write the data on that off. Should I turn the server off unitl I have physical access to it again?

     

     

    1534745807_Screenshot(228).thumb.png.c949184be21a1e8543e3c8dc2a0e4fc4.png

     

     

    medienkerker-diagnostics-20211220-1212.zip

     

  5. So I have a little trouble getting to the webUI after a restart.

    I get the following errors:

     

    2021-03-09 20:31:46,281 DEBG 'start-script' stdout output:
    --------------------
    
    2021-03-09 20:31:46,281 DEBG 'start-script' stdout output:
    [info] Starting OpenVPN (non daemonised)...
    
    2021-03-09 20:31:46,286 DEBG 'start-script' stdout output:
    2021-03-09 20:31:46 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.
    
    2021-03-09 20:31:46,287 DEBG 'start-script' stdout output:
    2021-03-09 20:31:46 WARNING: file 'credentials.conf' is group or others accessible
    2021-03-09 20:31:46 OpenVPN 2.5.0 [git:makepkg/a73072d8f780e888+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Nov 6 2020
    2021-03-09 20:31:46 library versions: OpenSSL 1.1.1j 16 Feb 2021, LZO 2.10
    
    2021-03-09 20:31:46,287 DEBG 'start-script' stdout output:
    2021-03-09 20:31:46 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    
    2021-03-09 20:31:46,287 DEBG 'start-script' stdout output:
    2021-03-09 20:31:46 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    2021-03-09 20:31:46 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    
    2021-03-09 20:31:46,288 DEBG 'start-script' stdout output:
    2021-03-09 20:31:46 TCP/UDP: Preserving recently used remote address: [AF_INET]79.142.69.159:443
    2021-03-09 20:31:46 Socket Buffers: R=[212992->212992] S=[212992->212992]
    2021-03-09 20:31:46 UDP link local: (not bound)
    2021-03-09 20:31:46 UDP link remote: [AF_INET]79.142.69.159:443
    
    2021-03-09 20:31:46,311 DEBG 'start-script' stdout output:
    2021-03-09 20:31:46 TLS: Initial packet from [AF_INET]79.142.69.159:443, sid=02fdd9bb 5c76907e
    
    2021-03-09 20:31:46,356 DEBG 'start-script' stdout output:
    2021-03-09 20:31:46 VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, [email protected]
    
    2021-03-09 20:31:46,357 DEBG 'start-script' stdout output:
    2021-03-09 20:31:46 VERIFY KU OK
    2021-03-09 20:31:46 Validating certificate extended key usage
    2021-03-09 20:31:46 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
    2021-03-09 20:31:46 VERIFY EKU OK
    2021-03-09 20:31:46 VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Xuange, [email protected]
    



    Someone a few pages earlier said to create a new .rc file but that didn't resolve the issue for me. Is anybody having similar problems?

  6. Sorry if I'm using this thread but I got a follow up question.

    So I only had one disk in my array without parity. I added second one (because it was smaller) without parity. Moved all the files onto disk 2.
    I want to remove disk 1 and make it the parity drive.

    I'm following this :

    Quote

    Procedure

    Make sure that the drive or drives you are removing have been removed from any inclusions or exclusions for all shares, including in the global share settings. Shares should be changed from the default of "All" to "Include". This include list should contain only the drives that will be retained.

    Make sure you have a copy of your array assignments, especially the parity drive. You may need this list if the "Retain current configuration" option doesn't work correctly

    Stop the array (if it is started)

    Go to Tools then New Config

    Click on the Retain current configuration box (says None at first), click on the box for All, then click on close

    Click on the box for Yes I want to do this, then click Apply then Done

    Return to the Main page, and check all assignments. If any are missing, correct them. Unassign the drive(s) you are removing. Double check all of the assignments, especially the parity drive(s)!

    Do not click the check box for Parity is already valid; make sure it is NOT checked; parity is not valid now and won't be until the parity build completes

    Start the array to commit the changes; system is usable now, but it will take a long time rebuilding parity


    So I unnassign Disk 1.
    Assign it to Parity .

    Do I have to move Disk 2 to Disk 1? Unnassigning Disk 2 and then assigning it at Disk 1, or will unraid do that itself?

    Thanks.



    Edit:
    Never mind. I just YOLOed it.

    Turns out you don't need to change the position. It looks funny having a Parity and a Disk 2 though:

    909145732_Screenshot(36).png.e437d3c1baa7dfcfe61aa81c4584c943.png

  7. So I switched over from the binhex container by simply changing the Repository and the Docker Hub URL.
    It worked, I'm just still wondering if this was the right way to do it and I might have to expect troubles down the line?

  8. 7 hours ago, Ducco said:

    Hi, kinda new to this show, but in the docker settings under host path 2, is the path to the download folder?

    yes

     

    1 hour ago, Ducco said:

    hi, i try to get this docker to work, i dont use a vpn so i set no where it says vpn, but not getting any ip in docker, tried to set maual ip, any guide?

    just watch this video. Works exactly the same way for rtorrent.

  9. On 5/29/2020 at 11:52 PM, Capt.Insano said:

    Sorry for delay, below is my config:

     

    image.thumb.png.a7f9d0bcd6c38d9291169db18f53dc01.png

     

     

    Hope it helps


    Cool!
    I have some noob questions:

     

    - There is no WebUI?
    - Network type: Host or bridge?
    - Privileged on or off?
    - The cert part... So far I run all the the services through a reverse proxy as the Unraid God Spaceinvader1 teaches in his videos. In this case you need to provide the cert into that /cert file location? Or no?

    Thanks in advance.

  10. On 5/2/2020 at 12:12 AM, EgyptianSnakeLegs said:

    I'm in a similar boat to Heciruam and have no idea what to do next to get LeanTime up and running.  I went into my MariaDB docker, created a user "leantimeadmin" with a password.  Granted the user ALL *.*  Created the database "leantime" and then entered the appropriate data into the LeanTime docker settings.  I no longer get the "Can't connect to database" error, but just a white page.  The logs show the following:

    
    Creating configuration file!
    2020-05-01 21:58:45,764 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
    2020-05-01 21:58:45,767 INFO supervisord started with pid 17
    2020-05-01 21:58:46,770 INFO spawned: 'httpd' with pid 19
    2020-05-01 21:58:46,773 INFO spawned: 'php-fpm' with pid 20
    [01-May-2020 21:58:46] NOTICE: fpm is running, pid 20
    [01-May-2020 21:58:46] NOTICE: ready to handle connections
    2020-05-01 21:58:47,850 INFO success: httpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2020-05-01 21:58:47,850 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    127.0.0.1 - 01/May/2020:21:58:53 +0000 "GET /index.php" 500
    127.0.0.1 - 01/May/2020:21:58:56 +0000 "GET /index.php" 500

    Not sure what I'm missing, or why the error about root is there.  Any help would be greatly appreciated.

     

    Cheers!

    I switched both the mariadb as well as the leantime dockers to theri own br0 ip adress. Of course you'll have to  point them at each other in the templates.

    Then it just worked.

  11. On 5/1/2020 at 8:22 AM, knex666 said:

    login: admin, password: admin

    Thank you that was it.

    However I now have tried to install it on a remote second machine that I connect to via VPN.

     

    On the first machine where I succeded I was accessing it via a VM on the same machine. It was only reachable though that until I changed the Host name in the Openproject settings page from localhost to the ipadress:port. So my guess it is only reachable from localhost.

    Since I can't do that on my second remote machine (inless I install a VM) I was wondering if I can change that setting somewhere else? I couldn't find a config file on the appdata that let me do that.

    Thanks in advance.