frakman1

Community Developer
  • Posts

    169
  • Joined

  • Last visited

Posts posted by frakman1

  1. On 8/24/2016 at 4:02 AM, sypack said:

    Hi,

     

    i cannot find how to set the web gui to use https.

     

    Can someone point me to the right direction please?

     

    regards,

     

    Olivier

     

    SSL/TLS is now supported in Unraid but is off by default. You can turn it on by going to Settings > Management Access and changing Use SSL/TLS to Yes. See screenshot for more details:

     

    image.thumb.png.057a0b75231600ec8e1f4db6cf433942.png

  2. @thenhz @Tucubanito07

    @Northwave

     

    Author of the frak-gvm template here (not the actual container). Sorry for pointing the support page to here. I think it was my first template and I didn't have a page on the forum to point it to, or perhaps I started with the nessus template and inherited by accident. Either way, sorry for the confusion.

     

    As I recall, the OpenVAS/GVM container takes a really long time to come up the first time as it downloads a ton of NVTs and other databases from the web. After it's done, it should come up. Just be patient and monitor the logs. It spends most of the time in the 'Updating xxx' lines then finally goes to: Your GVM 11 container is now ready to use!

     

    9:C 14 Mar 2024 13:23:34.863 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
    9:C 14 Mar 2024 13:23:34.863 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=9, just started
    9:C 14 Mar 2024 13:23:34.863 # Configuration loaded
    Wait for redis socket to be created...
    Testing redis status...
    Redis ready.
    Starting PostgreSQL...
    waiting for server to start....2024-03-14 13:23:35.963 EDT [21] LOG:  starting PostgreSQL 12.3 (Ubuntu 12.3-1.pgdg20.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0, 64-bit
    2024-03-14 13:23:35.964 EDT [21] LOG:  listening on IPv4 address "127.0.0.1", port 5432
    2024-03-14 13:23:35.964 EDT [21] LOG:  could not bind IPv6 address "::1": Cannot assign requested address
    2024-03-14 13:23:35.964 EDT [21] HINT:  Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
    2024-03-14 13:23:35.983 EDT [21] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
    2024-03-14 13:23:36.016 EDT [22] LOG:  database system was interrupted; last known up at 2024-03-14 13:20:10 EDT
    ............2024-03-14 13:23:48.242 EDT [22] LOG:  database system was not properly shut down; automatic recovery in progress
    2024-03-14 13:23:48.249 EDT [22] LOG:  redo starts at 6/AFF8A7C8
    ...2024-03-14 13:23:51.958 EDT [22] LOG:  invalid record length at 6/C435B610: wanted 24, got 0
    2024-03-14 13:23:51.958 EDT [22] LOG:  redo done at 6/C435AEA8
    ....2024-03-14 13:23:55.066 EDT [21] LOG:  database system is ready to accept connections
     done
    server started
    Updating NVTs...
    Updating CERT data...
    2024-03-14 13:24:55.160 EDT [43] LOG:  autovacuum: dropping orphan temp table "gvmd.pg_temp_5.current_credentials"
    rsync: failed to connect to feed.openvas.org (89.146.224.58): Connection timed out (110)
    rsync: failed to connect to feed.openvas.org (2a01:130:2000:127::d1): Cannot assign requested address (99)
    rsync error: error in socket IO (code 10) at clientserver.c(127) [Receiver=3.1.3]
    Updating SCAP data...
    rsync: failed to connect to feed.openvas.org (89.146.224.58): Connection timed out (110)
    rsync: failed to connect to feed.openvas.org (2a01:130:2000:127::d1): Cannot assign requested address (99)
    rsync error: error in socket IO (code 10) at clientserver.c(127) [Receiver=3.1.3]
    Starting Open Scanner Protocol daemon for OpenVAS...
    Starting Greenbone Vulnerability Manager...
    admin
    Starting Greenbone Security Assistant...
    Oops, secure memory pool already initialized
    Starting OpenSSH Server...
    ++++++++++++++++++++++++++++++++++++++++++++++
    + Your GVM 11 container is now ready to use! +
    ++++++++++++++++++++++++++++++++++++++++++++++

     

    I would also monitor the output of:

    netstat -tulpn | grep LISTEN

    and look for the 9392 port which corresponds to the Web UI port.

     

    When it finally completes, the output of that command should look like this:

    root@e2885647614f:/# netstat -tulpn | grep LISTEN
    tcp        0      0 0.0.0.0:9390            0.0.0.0:*               LISTEN      -                   
    tcp        0      0 0.0.0.0:6379            0.0.0.0:*               LISTEN      10/redis-server 0.0 
    tcp        0      0 127.0.0.11:32801        0.0.0.0:*               LISTEN      -                   
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      379/sshd: /usr/sbin 
    tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      -                   
    tcp6       0      0 :::9392                 :::*                    LISTEN      -                   
    tcp6       0      0 :::22                   :::*                    LISTEN      379/sshd: /usr/sbin 

     

    Pointing the browser to <ip-address>:9392 should look like this:

     

    image.thumb.png.39994eb6381339107f9ae10525836e13.png

     

  3. I have the Nvidia Quadro K4000 graphics card.

    When I try to install the latest from the plugin, I get this error:

     

    image.thumb.png.db4f2e5d9bf3045a48e9de115d595368.png

     

    The Nvidia drivers page points me to this driver for Linux 64bit which is fairly recent (March 2023)

    image.thumb.png.af8bc736616f665a9d6e8970af56b978.png

    image.thumb.png.dca179b6ff22121f6929a3b392fbfb01.png

     

    However, when I use the plugin, the only 470.xxx one that it provides is the one at the bottom: v470.141.03

    image.thumb.png.4d52eae46136f6bcefad70adcf4e3755.png

    I want to be able to use this card with Docker for apps that use the "--runtime=nvidia" parameter like stable-diffusion etc. that detect the NVIDIA GPU and ask for its GPUID e.g. GPU-xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx.

     

    Is this something that can be supported?

     

     

     

     

     

  4. To get this to work on my Windows 10 (Enterprise) I had to set AllowInsecureGuestAuth to 1 in [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters] in the Registry Editor.

     

    Then I had to login with username "\" and no password.

     

    image.png.7f73704cf3b55fb688056fea5d58be46.png

  5. Can you please change the template to use br0 instead of eth0 by default? It doesn't work otherwise and that's the default interface for most Unraid users and I would never have known to change this without spending way too much time trying to figure out which interface (out of dozens) to use and if I had to change the network from host to bridge etc.

    This should work 'out-of-the-box' without any fuss.

  6. 56 minutes ago, ondono said:

    How do I debug/fix it?

     

    I don't know but a Google of the error message  took me to this forum discussion:

     

    >  Initializing to bash, running gitlab-ctl reconfigure (waiting for the db to fail, then start accepting connections, which took ~12 minutes for me) and then running reconfigure again allows it start.

     

     

  7. On 2/5/2022 at 8:35 PM, live4soccer7 said:

    Is it normal for this docker to create entries in the log every few seconds or so? I just worry about the log size and if there is a possible issue causing this.


    You can limit log file sizes by changing the environment variable in your Edit docker template page. Mine looks like this. I disabled prometheus because it's a giant hog.

     

    --log-opt max-size=10m --log-opt max-file=1 --env GITLAB_OMNIBUS_CONFIG="external_url 'http://MY-UNRAID-IP:9080/'; postgresql['shared_buffers'] = '256MB'; sidekiq['concurrency'] = 15; prometheus_monitoring['enable'] = false;"

     

    • Like 1
  8. Unfortunately, I'm not sure I can help with your specific setup as I have it configured very differently.  I use Cloudflare for my DNS and Let's Encrypt for the SSL certificate management within  NginxProxyManager. You may need to map my logic to your specific setup. 

     

    After some trial and error, I was able to get the external URL to work with SSL and have the Clone button in my repo point to the external URL instead of the local IP address:

     

    Browser Location bar:

    image.png.77aedc3f87b529ed59e36253ea50dee4.png

     

    Gitlab Clone panel:

    image.png.02b8b091b8566cdf0ea84b5086ed3563.png


    How come you are setting env variables manually?

    I put them all as one string under Extra Parameters:

    image.png.8d04ef10d8585a173140ae90e71ea941.png
    I changed external_url to https://mysite.com/

     

    I then made the following changes to gitlab.rb:

     

    external_url 'https://mysite.com'
    nginx['listen_port'] = 9080
    nginx['listen_https'] = false

    and ran gitlab-ctl reconfigure

     

    In Nginx Proxy Manager:

    image.png.798db07a19b1256c6ebe979dbb7adb32.png


    With the appropriate SSL certificate details for Let's Encrypt

     

    image.png.93dae1b5e6ccdba13c24660fd6ee11b8.png

     

    The problem I now have is that I am unable to do a git clone on either https or ssh without getting some authentication/SSL error. It used to work when I used the local server's IP address before I changed it to external URL. 

     

     

     

     

  9. I had a similar problem with localhost URL instead of my actual server when I clone.

     

    In the docker template page in Unraid, I had to add the external_url parameter to Extra Parameters and set it to my Gitlab WebUI IP:PORT. In your case, you may want to change it to your actual site URL.

     

    --log-opt max-size=10m --log-opt max-file=1 --env GITLAB_OMNIBUS_CONFIG="external_url 'http://MY-UNRAID-IP:9080/'; postgresql['shared_buffers'] = '256MB'; sidekiq['concurrency'] = 15; prometheus_monitoring['enable'] = false;"

     

    I use NginxProxyManager to manage the internet-facing URL.

  10. 5 hours ago, Squid said:

    you could determine the digest of the container you were running 

     

    Thank you for the definitive answer and suggestion.

     

    I don't understand where the previous container's digest would be. Doesn't the old container get blown away after an upgrade? The only "inspect" I can run is on the new container.

    I also thought that an upgrade explicitly removed the orphan image that was the previous "latest" tagged image. I remember seeing that in the logs as the last step of the upgrade process.

    So after an upgrade, both the old container and the old image are gone and all I have is the new image and the new container created from it. Am I missing something?

     

    Maybe there's a misunderstanding. I'm not trying to figure out what version the current "latest" tag corresponds to. Yes, I can compare digests to published values.

    I am trying to determine the version of the previous version of the app just before the failed upgrade. It was also tagged as "latest".

  11. 20 hours ago, wgstarks said:

    Typically you can view past releases on the dockerhub page for that docker.

    Unfortunately there is no way of knowing what the version I had running before the upgrade was. Was it the previous version? Was the it the one before that? etc.

    I don't upgrade as soon as a new release is made so it could be anything in the last year.

     

    Is there a log of the docker upgrade operations and associated output anywhere?

    @Squid

    It just seems wrong that if I didn't happen to take a screenshot of the docker upgrade popup then it's gone forever.

  12. I have a slightly different but related question.

     

    When I upgrade a docker app, there is a pop up with details about the upgrade. After the upgrade completes and I close that window and later find out that the upgrade failed, how do I know what the previous version of the docker image was? It's always set to xxx:latest in the template so there's no way of knowing after the operation completes what it was before. Is this information/log saved anywhere?

     

    When filing an issue/ticket against the app, I'd like to know what the source and destination versions where that caused the failure.

     

  13. Sorry, I misunderstood earlier. I didn't know there was a second 'official' app on Community Applications. 

    I'll have to try is out and get back to you later.

     

     

    UPDATE:


    Sorry, it's highly unlikely that I will revisit this on a different version of the app. It seems it was added after I started using the one from Grack's Repository. I updated my post to show which version I am using. You can use that one if you like.

     

    • Like 1
  14. 2 hours ago, hjaltioj said:

    Do you know how to do this with Nginx-Proxy-Manager-Official docker? Cant find the default.log file for that docker?

     

    I am using this docker jlesage/nginx-proxy-manager

     

    If you're talking about jc21/nginx-proxy-manager:latest

     

    Then its /etc/nginx/nginx.conf configuration has this line:

     

    access_log /data/logs/fallback_access.log proxy;

     

    Which mean you will need to map the /data/logs folder to a location that the goaccess container can also access.

    You will also need to change the goaccess configuration to look for that log file instead of the one currently configured

     

  15. 3 hours ago, andre4k14 said:

    How can I downgrade the docker container ? I tried the command in the terminal: docker pull gitlab/gitlab-ce:13.9.2-ce.0

    On 7/31/2021 at 4:09 AM, ScratchCat said:

     

    You do that by editing the docker template page. Goto the DOCKER tab, click on Gitlab-CE and select "Edit"

     

    image.png.a117c8c4f96841d06a1a85ffe03d7505.png

     

    Locate the field labeled Repository. It should be set to gitlab/gitlab-ce:latest

     

    image.png.22333075ed119a989dd887cf4463bbf4.png

     

    This is what controls what version of Gitlab-CE you are using.

     

    A quick breakdown of the components of this string is:

     

    gitlab: user on dockerhub

    gitlab-ce: name of the repository

    latest: version

     

    To change it to something else, first find out what the official tags are from the dockerhub page for that project here.

     

    Click on the Tags tab and search for the version that you want. For example, 13.9.2, would correspond to 13.9.2-ce.0

     

    image.png.a026c052113f4173f4f063fd36a0e5f9.png

     

    Now enter that version instead of latest in the Repository field of the Gitlab-CE docker template:

     

    Repository:   gitlab/gitlab-ce:13.9.2-ce.0

     

    Hope that helps!

    • Thanks 1
  16. On 7/8/2015 at 1:26 PM, sparklyballs said:

    seems to be working now, was an IPV6 related issue.

     

    it's in my private repo, PM me if you don't have it.

     

    Can you please share your private repo so I can try the tftp app?

    I tried to PM but it didn't work

  17. On 4/6/2021 at 11:19 AM, eds said:

    OP,

     

    This is probably a docker 101 question, but:  how to revert back to a previous version of mattermost?

     

    You can do that by modifying the repository that the docker template is using. It looks like it is currently using the "master" tag:

    image.png.1875316e3b17e9eace4906e56a375ee3.png

     

    To change it, head out to where it is hosted on docker hub:

    https://hub.docker.com/r/mattermost/mattermost-team-edition/tags?page=1&ordering=last_updated

     

    and pick the tag that you want and replace it. Example:

    mattermost/mattermost-team-edition:5.33.4-rc1

    • Like 1
  18. 4 hours ago, ljm42 said:

    Local SSL is not a feature of the plugin, it is built into the main Unraid OS. That is why it does not get disabled when you uninstall the plugin.

     

    If you would like to disable local SSL simply go to Settings -> Management Access and set "Use SSL/TLS" to "No".

     

    I'm not 100% sure what the original state of the "Use SSL/TLS" setting was but I think it was originally No and that installing the Unraid.net plugin enabled it.

    If I'm wrong and it was set to Yes already, then removing the plugin should remove the new Unraid.net certificate so that it would continue using the self-signed hostname certificate.

  19. 7 hours ago, Squid said:

    it doesn't redirect if you use https://ipAddress, only if you use http

     

    Thank you.

    I tried that solution but that wasn't satisfactory either. It was still using the new Unraid certificate. Uninstalling the plugin should really remove everything that it added.