Jump to content

knex666

Members
  • Posts

    353
  • Joined

  • Last visited

Posts posted by knex666

  1. On 7/15/2022 at 10:40 PM, kri kri said:

    This is really neat, exactly what I am looking for. Can this thread be moved to Docker Containers? 

     

    Thank you so much for your feedback!

     

    On 7/15/2022 at 10:40 PM, kri kri said:

     

    Also, can you set the network type and port in the CA apps template? I can obviously set them but it would be nice for newer users. Bridge probably makes the most sense as the default type. 

     

    Good idea, I will update the template with the next release

     

    On 7/15/2022 at 10:40 PM, kri kri said:

     

    Also it might help to rename the folders, its a little confusing. Maybe a consume/import folder and a data repository, storage folder? 

     

    You mean the folder / folder description of the docker template?

    or instead of a root and a scan folder a import and a repository folder?

    maybe a screenshot would help to know what excatly you mean.

    I have got a scan folder and an archive folder, the archive folder is a already existing folder with subfolders.

     

    Cheers

  2. 5 hours ago, PicPoc said:

    Another problem :

    I want to user the same IP for Apache-PHP and IceCast.

    Same IP, but not the same port.

    Apache-PHP 192.0.2.100:80

    IceCast : 192.0.2.100:8000

     

    It's impossible to set the same IP.

    Is there any workaround ?

    Yes, use bridge instead of bro0

  3. 14 hours ago, WesleyL said:

    Thanks for you’re help. 
    So far it will not work, I’ll think the problem is that I am using nginx proxy manager and not the normal nginx

     

    when i’ll use the script above (also change the ip and Port) it doesn’t work, i’ll get also the 502 bad Gateway  error when opening the url.

     

    Maybe you’ve got the solution for this nginx version and openproject?

     

    cheers!

     

    Can you check if you can curl the openhab site from within the nginx proxy Manager by exec it into it? 

  4. Hi, 

     

    I am not using port forwarding, I prefer a ssh tunnel with reverse port forwarding, so my configurations looks a bit different but should work as well.

    I left out the redirection from http to https and the ssh certificates because that is self explaining.

     

    location /{
            proxy_pass http://IP:8877;
            proxy_set_header Host $host;
            proxy_set_header X-Forwarded-Proto $scheme;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_max_temp_file_size 16384m;
            client_max_body_size 0;
        }

     

    Give it a try, I hope we will find a solution for you.

     

    Cheers
     

  5. 17 hours ago, ijuarez said:

     I cannot, its greyed out.

     

     I might try to start from scratch with my current app folder so i don't lose data.

    Hi, I checked the template I did not use any port forwardings so you should delete that option and add a new one. I didnt get it.

    • Like 1
  6. 2 hours ago, ijuarez said:

    @knex666 Being using this docker for a long time. Did a switch up from swag to traefik and I am going thru the config and hit a snag with ports. This based on the official nextcloud docker and ports is 80:8080. However when editing the template it says port 80 but in fact in the container is set to 446. Was this on purpose or did I magically set that somehow? because i cannot edit it to the default 80.

     

     

    Capture.PNG

    You got some tricks that I cannot explain.

    can you just change that Port?

  7. 13 minutes ago, mjeshurun said:

    I tried. Unfortunately, it doesnt open properly.

     

     

    I installed UnRAID Cloudflare-DDNS and created a CNAME on Cloudflare to automatically update my external dynamic IP given by my ISP. I then configured the swag's docker app proxy-conf file for openhab.subfolder.conf with the DDNS CNAME address I created on Cloudflare. Is this what you meant I should do?

     

    Hi, I am using openHAB Cloud Connect, is there any reason not to do this and explore it directly? From my point of view its much more secure to use a relay. If you want to use it with https than you should just proxy pass it in your swag or nginx proxy manager. 

    Cheers

    • Like 1
  8. Hi,
     
    i´m trying to publish FileBrowser to web with nginx proxy manager, but only the shared urls. Wand to allow everything from my lan.
    Trying since some hours now to find the correct config for npm but seem not to work. Was anyone of you successful?
    This is my config at the moment:
    location / { client_max_body_size 0; proxy_pass http://192.168.2.122:80/;}

     
    Not my wanted solution, login is reachable from the internet. But in general working atm.
     
     
    This is what i already tried in different variations:

    location / { client_max_body_size 0; proxy_pass http://192.168.2.122:80/; allow 192.168.2.0/24; deny all;}location /api { client_max_body_size 0; proxy_pass http://192.168.2.122:80/; allow all;}location /static { client_max_body_size 0; proxy_pass http://192.168.2.122:80/; allow all;}location /share { client_max_body_size 0; proxy_pass http://192.168.2.122:80/; allow all;}

     
    Here the site is just not loading at all or i receive a message, that something went wrong.
     
    Does anyone have an idea how i can solfe this?
     
    Regards

    Hi,

    since this is not a filebrowser problem you should dig into nginx config.
    You are nearly there using a location / proxy pass and a rule to deny access.
    But you should go ahead and deny the access to the server and not to the location. Pasing through every location is not a solution.

    Cheers

    Gesendet von meinem Redmi Note 8 Pro mit Tapatalk

  9. How do I increase the upload file size?
     
    When uploading a file I get the following message:
    413 Request Entity to large
     
    I have already searched through the forum, but unfortunately found nothing about this.
    Can I get some help with this?
    Are you using a proxy?

    Than go ahead with this lines

    location / { client_max_body_size 0; proxy_pass http://backendserver:8080/; }

    Gesendet von meinem Redmi Note 8 Pro mit Tapatalk

  10. Terminal UnRaid:
    img_009.png.2ed63dd613f6e03bf11c49d0da2fbcaf.png
     
    So should work or am I still missing something?
     
    img_010.png.f680414ca491739df31b3b3316e7580f.png
     
    The instant name is taken over, but the IMG and the CSS are not. Browser cache already cleared hard several times.
     
    I'll try to define a different branding path.
     
     
    Hi,

    The path has to be

    /db/config/ for Markenverzeichnis

    Cheers

    Gesendet von meinem Redmi Note 8 Pro mit Tapatalk

    • Like 1
  11. 14 minutes ago, topaLE said:

    Is there any explanation or hint why a custom.css and img do not work although a path on the server was entered in the Global Settings?

    (Example : /mnt/user/appdata/filebrowser/custom/)
    The rights for this folder are users/nobody

     

    There is the custom.css with your own code.

     

    Also a folder /img with your logo.svg. Has anyone with current DockerVers 20.1 already got a custom CSS to work?

     

     

    Let me ask some questions and we will find the reason.

     

    did you volume mount /mnt/user/appdata/filebrowser/custom/ to the docker

    can you validate the path if you exec it into the docker?

    what did you add to the config for the custom css?

     

    Cheers

  12. Hey thanks for the quick reply. So first, I am sure my port forwardings and Nginx is working correctly on 10 other containers I have on proxy. Now, I haven't used custom configs much unless I am laying Authelia SSO on top of something so I am a bit wet behind the hears in this area.
    So in this case I have not input anything into the custom config area. Maybe this is my problem. I only have basic stuff like caching assets & block common exploits on. My SSL cert is a letsencrypt that blankets my domain (*.mydomain.com).
    I have remapped the OP container port to 3021 but I can try it with 8080.
    Okay, can you post your anon ngix proxy to Check that.
    Blank out Domains etc.

    Cheers

    Gesendet von meinem Redmi Note 8 Pro mit Tapatalk



  13. Hello, sorry to bother but I am having a hell of a time getting my reverse proxy to work. I am using cloudflare in conjunction with Nginx (GUI version). I read through the docs for Openproject but some of the configuration is over my head. I thought it would be as simple as forwarding the local ip:port (which I remapped with an env variable from 8080) with SSL in the Nginx container like all my other stuff but no dice. Ive played around with a bunch of combinations of setups and atm I have added the SERVER_HOSTNAME=project.mydomain.com & in Openproject > settings > hostname=project.mydomain.com & protocol=HTTP. I am not sure what to try next and any advice would be wonderful. Cheers


    There is always a solution ;)

    Did you follow some nginx config of this topic, because some users had postet theyr config?

    I am wondering if you try to use port 8080 for ssl that would be confusing.

    So my First step is to Check your Port forwardings, are you shure they do work?
    Second is to Check the config of nginx and last to Check the reverse proxy settings.
    So lets go step by step.

    Cheers

    Gesendet von meinem Redmi Note 8 Pro mit Tapatalk

  14.  Hi, I would like to see iputils-ping integrated into this docker in the next update. It's useful for network binding. Thanks!
    Just install it into the docker with apt update and apt get iputils it will not be Update stable but will be enough for network binding.

    Gesendet von meinem Redmi Note 8 Pro mit Tapatalk

  15. IMPORTANT:

     

    Since Log4j is used in openhab it is affected by CVE-2021-44228.

    Log4j versions prior to 2.16.0 are subject to a remote code execution vulnerability via the ldap JNDI parser.

     

    please add this extra parameter:

     

    -e "EXTRA_JAVA_OPTS=-Dlog4j2.formatMsgNoLookups=true"

    • Like 1
  16. 27 minutes ago, Nodiaque said:

    The only thing I got is from the log in the docker ui, where you press on a docker and click "log"

     

     

    oh and while it's stuck there, I can't stop the container. I must use the cli and run docker kill, which take another 10 minutes to comply

    You mounted your openhab somewhere like in appdata? there has to be a userdata folder inside with some log files.

    The log ist just saying thats it starts initializing openhab which will took some time at the first start.

  17. 1 hour ago, Nodiaque said:

    hello everyone,

     

    Might just be me but I'm unable to start that container. Well, it start, but it stay in starting state and openhab never launch. In the log, it's stuck at sync.. Any clue?

     

    Thank you

    I am running on openhab/openhab:3.1.0-debian with this options --tty --shm-size 2g and i´m not using bride mode for network, maybe that helps 

×
×
  • Create New...