Everything posted by ebnerjoh
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Hi, I have reverted back now the letsencrypt version, and I was able to fix all errors and warnings, except the last 4 warnings. But the certs are still not updated. Br, Johannes
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Hi, was there recently a change on Letsencrypt? Today my websites were broken, because the certificate was not renewed. Last Renewal was in April. In the Logs I cannot find an relating error, of course there are warnings, but I do not think they are responsible for the issue. ------------------------------------- _ () | | ___ _ __ | | / __| | | / \ | | \__ \ | | | () | |_| |___/ |_| \__/ Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/donate/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] 20-config: executing... [cont-init.d] 20-config: exited 0. [cont-init.d] 30-keygen: executing... using keys found in /config/keys [cont-init.d] 30-keygen: exited 0. [cont-init.d] 50-config: executing... Variables set: PUID=99 PGID=100 TZ=Europe/Berlin URL=familie-ebner.at SUBDOMAINS=cloud,tauchen,solar,ha,solar2,nr,nr2,wetter,wetter2,mqtt, EXTRA_DOMAINS=cloud.ff-metnitz.at,slideshow.ff-metnitz.at,backup.ff-metnitz.at, ONLY_SUBDOMAINS=true DHLEVEL=2048 VALIDATION=http DNSPLUGIN= [email protected] STAGING= 2048 bit DH parameters present SUBDOMAINS entered, processing SUBDOMAINS entered, processing Only subdomains, no URL in cert Sub-domains processed are: -d cloud.familie-ebner.at -d tauchen.familie-ebner.at -d solar.familie-ebner.at -d ha.familie-ebner.at -d solar2.familie-ebner.at -d nr.familie-ebner.at -d nr2.familie-ebner.at -d wetter.familie-ebner.at -d wetter2.familie-ebner.at -d mqtt.familie-ebner.at EXTRA_DOMAINS entered, processing Extra domains processed are: -d cloud.ff-metnitz.at -d slideshow.ff-metnitz.at -d backup.ff-metnitz.at E-mail address entered: [email protected] http validation is selected Certificate exists; parameters unchanged; starting nginx [cont-init.d] 50-config: exited 0. [cont-init.d] 99-custom-files: executing... [custom-init] no custom files found exiting... [cont-init.d] 99-custom-files: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /config/nginx/site-confs/ha.familie-ebner.at:42 nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /config/nginx/site-confs/mqtt.familie-ebner.at:42 nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /config/nginx/site-confs/nr.familie-ebner.at:42 nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /config/nginx/site-confs/nr2.familie-ebner.at:42 nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /config/nginx/site-confs/wetter.familie-ebner.at:42 nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /config/nginx/site-confs/wetter2.familie-ebner.at:42 nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html) nginx: [error] lua_load_resty_core failed to load the resty.core module from https://github.com/openresty/lua-resty-core; ensure you are using an OpenResty release from https://openresty.org/en/download.html (rc: 2, reason: module 'resty.core' not found: no field package.preload['resty.core'] no file './resty/core.lua' no file '/usr/share/luajit-2.1.0-beta3/resty/core.lua' no file '/usr/local/share/lua/5.1/resty/core.lua' no file '/usr/local/share/lua/5.1/resty/core/init.lua' no file '/usr/share/lua/5.1/resty/core.lua' no file '/usr/share/lua/5.1/resty/core/init.lua' no file '/usr/share/lua/common/resty/core.lua' no file '/usr/share/lua/common/resty/core/init.lua' no file './resty/core.so' no file '/usr/local/lib/lua/5.1/resty/core.so' no file '/usr/lib/lua/5.1/resty/core.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './resty.so' no file '/usr/local/lib/lua/5.1/resty.so' no file '/usr/lib/lua/5.1/resty.so' no file '/usr/local/lib/lua/5.1/loadall.so') nginx: [warn] conflicting server name "wetter.familie-ebner.at" on 0.0.0.0:80, ignored nginx: [warn] conflicting server name "wetter2.familie-ebner.at" on 0.0.0.0:80, ignored nginx: [warn] conflicting server name "wetter.familie-ebner.at" on 0.0.0.0:443, ignored nginx: [warn] conflicting server name "wetter2.familie-ebner.at" on 0.0.0.0:443, ignored Server ready
-
[Support] Linuxserver.io - Nextcloud
Hi, is this docker supporting redis? Br, Johannes
-
[Plugin] CA Appdata Backup / Restore v2
Hi, I am using this script now for long time to backup my Appdata as well as my docker-image and flash-drive. On Saturday I had an issue with my Home Assistant installation. By mistake I have removed it from my Dockers so I though, no problem - I have a backup. I went to the Backup/Restore tool, took the backup from the last day (doing every week a backup) and restored it. BIG MISTAKE. I know it was for sure my mistake, but I am not sure, if the backup/restore couldnt be better. So what happened: 1) I am using a Nextcloud Docker for syncing files 2) The restore didnt allow me to select only e.g. home-assistant, I had to restore everything 3) I am 95% sure I took the backup from the day before, but the restore was done on the oldest available backup (end of Jan). But yes, here I could have made an mistake and select the wrong file After restoring the backup file from more then one month I had big issues with my Nextcloud Installation. So I disconnected Nextcloud and tried to recover the Nextcloud-Server. I had no luck and at the end I had to reinstall the nextcloud server. What I didnt expected was, that Nextcloud removed the newer files from my clients after I restored the backup. So I lost all files for one month. I had a second time no luck, because normaly I am doing also an offline Backup of my files on a monthly basis, but this was also one month ago...
-
[support] Spants - NodeRed, MQTT, Dashing, couchDB
Hi, Can someone tell me if I can use the Letsencrypt Docker together with the MQTT Docker to have MQTT with SSL from public?
-
Docker template for Home Assistant - Python 3 home automation
I want to run as less as possible on the RPi, therefore I have the unraid server ? With the range extenders I had no good experience, for me the wall plugs are working better in terms of signal repeating, but also for them I would need additional 4 to 5 devices to setup a proper coverage. Br, Johannes
-
Docker template for Home Assistant - Python 3 home automation
Hi, I need to move my Z-Wave stick away from my unRaid server more centrally (with an Raspberry Pi). This should be possible with ser2net (on PI) and socat (on the HA Server). Unfortunatly I have not seen any solution for Socat on Unraid, but I saw that there are dockers available with HomeAssistant + Socat: https://github.com/vladbabii/homeassistant-socat Any chance to get such a thing to the unRaid Docker? Br, Johannes
-
[Support] GitLab-CE
Hi, I need more info about @thomast_88 SOCAT Docker: I want to share an USB-Device from a Raspberry to a Home-Assistant Docker within Unraid. Will this work with this Docker? If yes, is there somewhere an example available? Br, Johannes
-
[Support] Linuxserver.io - MariaDB
I had the issue again. I am using the Backup/Restore Tool which is shutting down also the dockers. After starting up I had again the issue with MariaDB. Br, Johannes
-
[support] Spants - NodeRed, MQTT, Dashing, couchDB
I tried now to create the keys within the docker, still the same result. Do I need a special program that Node Red is able to read the certificate? I need to uncoment this "fs" setting, maybe it is this? Br, Johannes
-
[support] Spants - NodeRed, MQTT, Dashing, couchDB
I created the pem and cert-file in the /data directory (which is in my case /mnt/user/apdata/nodered). But I am getting this error, after enabling "fs" and "https". > [email protected] start /usr/src/node-red > node $NODE_OPTIONS node_modules/node-red/red.js -v $FLOWS "--userDir" "/data" Error loading settings file: /data/settings.js { Error: ENOENT: no such file or directory, open 'privkey.pem' at Object.fs.openSync (fs.js:646:18) at Object.fs.readFileSync (fs.js:551:33) at Object.<anonymous> (/data/settings.js:141:17) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Module.require (module.js:596:17) at require (internal/module.js:11:18) errno: -2, code: 'ENOENT', syscall: 'open', path: 'privkey.pem' } The filename is correct... Br, Johannes
-
Docker template for Home Assistant - Python 3 home automation
Hi, One request for the Docker. Would it be possible to add pip3 install networkx to the docker? I am using it to print a graphical layout of my z-wave network. Br, Johannes
-
[support] Spants - NodeRed, MQTT, Dashing, couchDB
Hi, I was able to get the Node-Red docker running with my Home Assistant docker. But I am unsure about securing Node Red with HTTPS. Are there certificates included? If I just uncommend "fs" and the "https" options I am getting an certificate error and node red is not starting. Br, Johannes
-
[Support] Linuxserver.io - MariaDB
Many thanks, you saved me a lot of time. I am not sure what exactly happened, I am running unraid since 1 year incl. Nextcloud and MariaDB. Today I restarted the UnRaid-Server via the Frontend and then MariaDB didnt came back anymore. I tired the options from Page1, but without success. Your hint was then the solution! Br, Johannes
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Hi, I am running the LetsEncrypt Container with NextCloud and an apache-Container without issues. Now I have some questions:: 1) The Apache Container is not working anymore. Should I move to an NGINX-Container or could I run it on the LetsEncrypt-Docker? 2) If I could run it on the LetsEncrypt-Docker, do you have an example vhost config? 3) I have some webapps which still need PHP5 and not working with PHP7. What option do I have here? As far as I know NGINX (and LetsEncrpyt) is based on PHP7? Br, Johannes
-
Docker template for Home Assistant - Python 3 home automation
Hi, It was an issue with the pyblnet-component. There is now a new version available and it is working. Br, Johannes
-
Docker template for Home Assistant - Python 3 home automation
@balloob: Do you have an idea in my issue? I think I may need to install the PyBLNET within the docker, but I do not know how to do. If I run pip3 install PyBLNET within the Docker, then I am getting the following error: r root@UnRaid:/usr/src/app# pip install PyBLNET==0.4.2 Collecting PyBLNET==0.4.2 Using cached https://files.pythonhosted.org/packages/73/72/668f8ab18ed0291bd89430bc39784ffd19ffa0cacbc5dda30151b1a627bf/PyBLNET-0.4.2-py2.py3-none-any.whl Collecting html (from PyBLNET==0.4.2) Using cached https://files.pythonhosted.org/packages/4a/df/0e3d22d50ee43274eb5116f49972a164d853bb3ab305a69a0540b6292252/html-1.16.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/local/lib/python3.6/site-packages/setuptools/__init__.py", line 14, in <module> from setuptools.dist import Distribution, Feature File "/usr/local/lib/python3.6/site-packages/setuptools/dist.py", line 24, in <module> from setuptools.depends import Require File "/usr/local/lib/python3.6/site-packages/setuptools/depends.py", line 7, in <module> from .py33compat import Bytecode File "/usr/local/lib/python3.6/site-packages/setuptools/py33compat.py", line 11, in <module> from setuptools.extern.six.moves import html_parser File "/usr/local/lib/python3.6/site-packages/setuptools/_vendor/six.py", line 92, in __get__ result = self._resolve() File "/usr/local/lib/python3.6/site-packages/setuptools/_vendor/six.py", line 115, in _resolve return _import_module(self.mod) File "/usr/local/lib/python3.6/site-packages/setuptools/_vendor/six.py", line 82, in _import_module __import__(name) ModuleNotFoundError: No module named 'html.parser'; 'html' is not a package ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-rzjxgfdy/html/ Best Regards, Johannes
-
Docker template for Home Assistant - Python 3 home automation
Ok, still struggeling with one component (BLNET for Home Assistant). If I start home assistant I am getting the following error: 2018-05-10 08:20:46 ERROR (SyncWorker_4) [homeassistant.util.package] Unable to install package pyblnet==0.4.2: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-goivl1cr/html/ 2018-05-10 08:20:46 ERROR (MainThread) [homeassistant.requirements] Not initializing blnet because could not install requirement pyblnet==0.4.2 2018-05-10 08:20:46 ERROR (MainThread) [homeassistant.setup] Setup failed for blnet: Could not install all requirements. I have installed html and pyblnet via pip3: root@UnRaid:/mnt/user/appdata# pip3 install html==1.0 Requirement already satisfied: html==1.0 in /usr/lib64/python3.6/site-packages root@UnRaid:/mnt/user/appdata# pip3 install pyblnet==0.4.2 Requirement already satisfied: pyblnet==0.4.2 in /usr/lib64/python3.6/site-packages Requirement already satisfied: requests in /usr/lib64/python3.6/site-packages (from pyblnet==0.4.2) Requirement already satisfied: htmldom in /usr/lib64/python3.6/site-packages (from pyblnet==0.4.2) Requirement already satisfied: html in /usr/lib64/python3.6/site-packages (from pyblnet==0.4.2) Requirement already satisfied: idna<2.7,>=2.5 in /usr/lib64/python3.6/site-packages (from requests->pyblnet==0.4.2) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib64/python3.6/site-packages (from requests->pyblnet==0.4.2) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib64/python3.6/site-packages (from requests->pyblnet==0.4.2) Requirement already satisfied: urllib3<1.23,>=1.21.1 in /usr/lib64/python3.6/site-packages (from requests->pyblnet==0.4.2)
-
Docker template for Home Assistant - Python 3 home automation
Hi, I have two questions regarding this docker: 1) Where can I store custom components? On an RPi Installation I can create a folder "custom_components" in the home directory of home-assistant 2) If I need pip3 packages: do I need to install them on the base unraid system or within the docker? Br, Johannes Ok, It seems I was able to figure it out by try-and-error: 1) custom_components: placed them in the appdata-folder of the app 2) pip3 packages installed as user root
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
My mistake. I somehow removed the Portforwarding for Port 80 and only allowed 443. Added 80 and now it is working again. Br, Johannes
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Hi, I have some troubles with LetsEncrypt. I got now several times an email, that my certs are expiring soon. So I checked the logs on LetsEncrypt and noticed the follwoing warning: Attempting to renew cert (xxx.yyy.com) from /etc/letsencrypt/... produced and unexpected error: Failed authorization procedure xxx.yyy.com (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain. In the past I had issues after a LetsEncrypt-Update and I had to add the HTTPVAL Key with setting true. Regardless if I set it to false or true, it is still not working. Br, Johannes
-
[SUPPORT] pihole for unRaid - Spants repo
Hi, I am still not sure if SafeSearch is possible on PiHole Docker? On my PiHole RPi3 installation I was able to get it working. Br, JOhannes
-
[SUPPORT] pihole for unRaid - Spants repo
Regarding the missing graphs: I had this issue as well, but not with the unraid docker but directly on a Raspberry Pi. I tried to do several tasks, eg. restarting Pi, updating, reinstalling. Somehow nothing helped. PiHole was working correctly but no graphs at all. Finally I reinstalled the RPi completley and since then everything is working. Maybe there was an update of PiHole between my tries and the reinstall. Br, Johannes
-
[SUPPORT] pihole for unRaid - Spants repo
Hi, One Question: Currently I have PiHole running on a RPI3 and thinking of migrating it to UnRaid. On my RPI Setup I am using dnsmasq-config files for SafeSearch options. Is this also possible with the Docker version? Best Regards, Johannes
-
[Support] Linuxserver.io - SWAG - Secure Web Application Gateway (Nginx/PHP/Certbot/Fail2ban)
Hi, I have a special question regarding letsencrypt together with nextcloud. I have a Static IP with a Domain for letsencrpyt. This IP I am mapping on my Router to letsencrypt. Letsencrpyt is then proxying to the nextcloud container. If I now setup the Nextcloud-App on my internal client to the domain, then everything works fine and I am not getting any (certificate)-error. The big disadvantage is that any traffic from the client to nexcloud (via letsencrypt) is going via the Router instead directly. The router is a USG from Unifi with enabled IDS/IPS which limits the troughput to 80Mbit/s which is more then enough for the internet but not for the internal Gigabit Connection. So If I transfer big files via nextcloud the Router will hit his maximum throughbut. I could use internaly the IP Adress of the nextcloud container, but then I will always get an Security Warning... Any other ideas? Br, Johannes