UnraidNet5bb25 Posted March 23, 2023 Share Posted March 23, 2023 ERROR when try to get CA with DNS Chanllage Command failed: . /opt/certbot/bin/activate && pip install certbot-dns-cloudflare==$(certbot --version | grep -Eo '[0-9](\.[0-9]+)+') cloudflare && deactivate [app ] /bin/sh: .: line 0: can't open '/opt/certbot/bin/activate': No such file or directory Quote Link to comment
Fantucie Posted May 24, 2023 Author Share Posted May 24, 2023 On 3/23/2023 at 4:48 AM, UnraidNet5bb25 said: ERROR when try to get CA with DNS Chanllage Command failed: . /opt/certbot/bin/activate && pip install certbot-dns-cloudflare==$(certbot --version | grep -Eo '[0-9](\.[0-9]+)+') cloudflare && deactivate [app ] /bin/sh: .: line 0: can't open '/opt/certbot/bin/activate': No such file or directory Quote Link to comment
nik82 Posted June 1, 2023 Share Posted June 1, 2023 Hi, For some reason I cannot copy folders or files to the plugins directory Quote Link to comment
plantsandbinary Posted June 1, 2023 Share Posted June 1, 2023 I just installed Nginx-Proxy-Manager-Crowdsec and I am getting this in the logs when adding/removing SSL certs: [cert_cleanup] ---------------------------------------------------------- [cert_cleanup] Let's Encrypt certificates cleanup - 2023/06/01 22:44:04 [cert_cleanup] ---------------------------------------------------------- [cert_cleanup] 0 file(s) kept. [cert_cleanup] 0 file(s) deleted. [app ] [6/1/2023] [10:44:04 PM] [Migrate ] › ℹ info Current database version: none [app ] [6/1/2023] [10:44:04 PM] [Setup ] › ℹ info Logrotate Timer initialized [app ] [6/1/2023] [10:44:04 PM] [Setup ] › ℹ info Logrotate completed. [app ] [6/1/2023] [10:44:04 PM] [IP Ranges] › ℹ info Fetching IP Ranges from online services... [app ] [6/1/2023] [10:44:04 PM] [IP Ranges] › ℹ info Fetching https://ip-ranges.amazonaws.com/ip-ranges.json [app ] [6/1/2023] [10:44:04 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4 [app ] [6/1/2023] [10:44:04 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6 [app ] [6/1/2023] [10:44:04 PM] [SSL ] › ℹ info Let's Encrypt Renewal Timer initialized [app ] [6/1/2023] [10:44:04 PM] [SSL ] › ℹ info Renewing SSL certs close to expiry... [app ] [6/1/2023] [10:44:04 PM] [IP Ranges] › ℹ info IP Ranges Renewal Timer initialized [app ] [6/1/2023] [10:44:04 PM] [Global ] › ℹ info Backend PID 451 listening on port 3000 ... [supervisor ] all services started. [app ] [6/1/2023] [10:44:05 PM] [Nginx ] › ℹ info Reloading Nginx [app ] [6/1/2023] [10:44:05 PM] [SSL ] › ℹ info Renew Complete [app ] Duplicate relation "access_list" in a relation expression. You should use "a.[b, c]" instead of "[a.b, a.c]". This will cause an error in objection 2.0 [app ] [6/1/2023] [10:44:49 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf [app ] [6/1/2023] [10:44:49 PM] [Nginx ] › ⬤ debug Could not delete file: { [app ] "errno": -2, [app ] "syscall": "unlink", [app ] "code": "ENOENT", [app ] "path": "/data/nginx/proxy_host/1.conf" [app ] } [app ] [6/1/2023] [10:44:49 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf [app ] [6/1/2023] [10:44:49 PM] [Nginx ] › ⬤ debug Could not delete file: { [app ] "errno": -2, [app ] "syscall": "unlink", [app ] "code": "ENOENT", [app ] "path": "/data/nginx/proxy_host/1.conf" [app ] } [app ] [6/1/2023] [10:44:49 PM] [Nginx ] › ⬤ debug Deleting file: /data/nginx/proxy_host/1.conf.err [app ] [6/1/2023] [10:44:49 PM] [Nginx ] › ⬤ debug Could not delete file: { [app ] "errno": -2, [app ] "syscall": "unlink", [app ] "code": "ENOENT", [app ] "path": "/data/nginx/proxy_host/1.conf.err" [app ] } [app ] [6/1/2023] [10:44:49 PM] [Nginx ] › ℹ info Reloading Nginx I'm having numerous issues with this container. The above logs pertain to me using my own cert given to me by Cloudfare. I am not sure if it's a problem getting an error that it cannot delete those files. Quote Link to comment
plantsandbinary Posted June 1, 2023 Share Posted June 1, 2023 (edited) Now onto the real issue. The one which is completely breaking my NginxProxyManager container. Remember this is a fresh installation. I am trying to add this custom cert to NPM. I've done that successfully. You can see here in the logs: [app ] [6/1/2023] [10:55:43 PM] [SSL ] › ℹ info Writing Custom Certificate: { [app ] id: 3, [app ] expires_on: '2038-04-01 15:40:00', [app ] domain_names: [ '"CloudFlare,' ], [app ] meta: { [app ] certificate: '-----BEGIN CERTIFICATE-----\r\n' + [app ] blah blah blah [app ] '-----END CERTIFICATE-----', [app ] certificate_key: '-----BEGIN RSA PRIVATE KEY-----\r\n' + [app ] blah blah blah [app ] '-----END RSA PRIVATE KEY-----' [app ] }, [app ] modified_on: '2023-06-01 22:55:43', [app ] created_on: '2023-06-01 22:55:43', [app ] owner_user_id: 1, [app ] provider: 'other', [app ] nice_name: 'Cloudfare - xtu.icu' [app ] } [app ] Duplicate relation "access_list" in a relation expression. You should use "a.[b, c]" instead of "[a.b, a.c]". This will cause an error in objection 2.0 [app ] [6/1/2023] [10:56:02 PM] [Express ] › ⚠ warning Command failed: /usr/sbin/nginx -t [app ] nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-2/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/npm-2/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) [app ] nginx: configuration file /etc/nginx/nginx.conf test failed [app ] [6/1/2023] [10:56:03 PM] [Express ] › ⚠ warning Command failed: /usr/sbin/nginx -t [app ] nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-2/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/npm-2/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) [app ] nginx: configuration file /etc/nginx/nginx.conf test failed [app ] [6/1/2023] [10:56:05 PM] [Express ] › ⚠ warning Command failed: /usr/sbin/nginx -t [app ] nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-2/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/npm-2/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file) [app ] nginx: configuration file /etc/nginx/nginx.conf test failed You can see the errors here in color: This causes my entire container to crash continuously. This happens specifically when I go to a site on my list in NPM and select to use the custom cert I just added. I instead get those errors and this in the GUI: (excuse the blown out HDR screenshot) I have no idea what is causing this at all... Container is using just the normal settings... it seems the problem is that the certs are not being written to: "/etc/letsencrypt/live/npm-2/fullchain.pem" but I have no idea why... that's just my normal \\TOWER\appdata\NginxProxyManager-CrowdSec\letsencrypt folder... except for some reason it's completely empty??? This problem will allow me to start the container but it won't do anything and will just spam the logs with the errors in yellow. Edited June 1, 2023 by plantsandbinary Quote Link to comment
plantsandbinary Posted June 1, 2023 Share Posted June 1, 2023 I also just tried bypassing using Cloudfare's free SSL, and I tried to make a wildcard via NPM. Instead I now got this error: Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-6" --agree-tos --email "[email protected]" --domains "*.xtu.icu" --authenticator dns-cloudflare --dns-cloudflare-credentials "/etc/letsencrypt/credentials/credentials-6" usage: certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ... Certbot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing the certificate. certbot: error: unrecognized arguments: --dns-cloudflare-credentials /etc/letsencrypt/credentials/credentials-6 at ChildProcess.exithandler (node:child_process:402:12) at ChildProcess.emit (node:events:513:28) at maybeClose (node:internal/child_process:1100:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) Looks like it's running the wrong command. So it seems like this container isn't configured properly. Quote Link to comment
yarx Posted June 2, 2023 Share Posted June 2, 2023 Hi. Try to install filerun ofi and get this Unable to find image 'filerun/filerun:latest' locally docker: Error response from daemon: manifest for filerun/filerun:latest not found: manifest unknown: manifest unknown. Maybe somebody can help? Quote Link to comment
Fantucie Posted June 2, 2023 Author Share Posted June 2, 2023 18 hours ago, plantsandbinary said: I also just tried bypassing using Cloudfare's free SSL, and I tried to make a wildcard via NPM. Instead I now got this error: Error: Command failed: certbot certonly --config "/etc/letsencrypt.ini" --cert-name "npm-6" --agree-tos --email "[email protected]" --domains "*.xtu.icu" --authenticator dns-cloudflare --dns-cloudflare-credentials "/etc/letsencrypt/credentials/credentials-6" usage: certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ... Certbot can obtain and install HTTPS/TLS/SSL certificates. By default, it will attempt to use a webserver both for obtaining and installing the certificate. certbot: error: unrecognized arguments: --dns-cloudflare-credentials /etc/letsencrypt/credentials/credentials-6 at ChildProcess.exithandler (node:child_process:402:12) at ChildProcess.emit (node:events:513:28) at maybeClose (node:internal/child_process:1100:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) Looks like it's running the wrong command. So it seems like this container isn't configured properly. Please check the wiki before ... https://wiki.unraid.kalifondation.fr/en/unraid/NginxProxyManager-CrowdSec Quote Link to comment
Fantucie Posted June 2, 2023 Author Share Posted June 2, 2023 On 6/1/2023 at 11:37 AM, nik82 said: Hi, For some reason I cannot copy folders or files to the plugins directory Change the folder permission to 777 it's should fix your issue Quote Link to comment
Fantucie Posted June 2, 2023 Author Share Posted June 2, 2023 4 hours ago, yarx said: Hi. Try to install filerun ofi and get this Unable to find image 'filerun/filerun:latest' locally docker: Error response from daemon: manifest for filerun/filerun:latest not found: manifest unknown: manifest unknown. Maybe somebody can help? It same the docker image changed, I will update it right now, you can still use my template, but change the repo to that or wait for the update on the CA filerun/filerun:8.1 Quote Link to comment
learnin2walk Posted June 5, 2023 Share Posted June 5, 2023 Also trying to install filerun-ofi and getting the error below on the logs. Container won't start. + id -u user + echo 'The user user does not exist, creating...' + groupadd -f -g 1000 user + useradd -u 1000 -g user user + '[' '!' -e /var/www/html/index.php ']' + chown user:user /user-files + echo 'The next step is to download the latest FileRun installation zip from the FileRun client account and upload its contents inside the '\''html'\'' mounted folder.' + echo 'Then change ownership of the files like this:' + echo 'chown -R user:user /var/www/html' + echo 'Then open this server in your browser to complete the FileRun installation.' + exec /usr/bin/supervisord -c /filerun/supervisord.conf Error: The directory named as part of the path /var/www/html/system/data/temp/supervisord.log does not exist For help, use /usr/bin/supervisord -h The user user does not exist, creating... The next step is to download the latest FileRun installation zip from the FileRun client account and upload its contents inside the 'html' mounted folder. Then change ownership of the files like this: chown -R user:user /var/www/html Then open this server in your browser to complete the FileRun installation. Quote Link to comment
Fantucie Posted June 7, 2023 Author Share Posted June 7, 2023 On 6/5/2023 at 10:38 PM, learnin2walk said: Also trying to install filerun-ofi and getting the error below on the logs. Container won't start. + id -u user + echo 'The user user does not exist, creating...' + groupadd -f -g 1000 user + useradd -u 1000 -g user user + '[' '!' -e /var/www/html/index.php ']' + chown user:user /user-files + echo 'The next step is to download the latest FileRun installation zip from the FileRun client account and upload its contents inside the '\''html'\'' mounted folder.' + echo 'Then change ownership of the files like this:' + echo 'chown -R user:user /var/www/html' + echo 'Then open this server in your browser to complete the FileRun installation.' + exec /usr/bin/supervisord -c /filerun/supervisord.conf Error: The directory named as part of the path /var/www/html/system/data/temp/supervisord.log does not exist For help, use /usr/bin/supervisord -h The user user does not exist, creating... The next step is to download the latest FileRun installation zip from the FileRun client account and upload its contents inside the 'html' mounted folder. Then change ownership of the files like this: chown -R user:user /var/www/html Then open this server in your browser to complete the FileRun installation. In the mounted path can you see filerun file ? If yes then chmod the path permission to 777 then re run the container if no, please re message me and I will check on my side in the test server because for now I have no problem in the latest Quote Link to comment
lordvaderxiii Posted June 9, 2023 Share Posted June 9, 2023 (edited) On 6/8/2023 at 8:59 AM, Fantucie said: In the mounted path can you see filerun file ? If yes then chmod the path permission to 777 then re run the container if no, please re message me and I will check on my side in the test server because for now I have no problem in the latest I have the same problem, directories are created but chmod doesnt fix the issue. Directories are empty. The container is up for only a few seconds before it dies with that same error. Edited June 9, 2023 by lordvaderxiii Quote Link to comment
Fantucie Posted June 9, 2023 Author Share Posted June 9, 2023 3 hours ago, lordvaderxiii said: I have the same problem, directories are created but chmod doesnt fix the issue. Directories are empty. The container is up for only a few seconds before it dies with that same error. FileRun has stopped every free plans, and it same you canno't download it and even if you could, you wouldn't be able to use it without paying an license 2 Quote Link to comment
Bait Fish Posted July 13, 2023 Share Posted July 13, 2023 I had trouble viewing the GUI for the vnStat container. Defaults were left in the template during install except Network Type. I had set that to my custom network. The problem after first install was that clicking the WebUI link in Unraid would bring up a blank page using Chrome on my PC. This was the only machine/browser I tried. The URL listed was something link blocked/blank. Sorry. I did not capture the exact detail. This behaved differently from other containers. I tested using my machine's local IP and the container port. That too was not successful. I added this to the container and was able to reach the GUI. Click Add another Path, Port, Variable, Label or Device and set the port details. Config Type: Port Name: Host Port for 8685 Container Port: 8685 Host Port: 8685 Default Value: 8685 Connection Type: TCP Once that was done it worked for me. Note that I had changed one other container before this success. I adjusted the WebUI setting (under advanced view). The default was "http://[IP]:8685/". I changed it to "http://[IP]:[PORT:8685]" to match other functioning containers on my system. I'm not sure if that had any bearing on getting the GUI to show. One last change was it had an inactive interface as far as I can tell. So after issuing these commands, my only active interface, eth0, was left. The two command issued start with vnstat. / # vnstat --iflist Available interfaces: tunl0 eth0 (10000 Mbit) / # vnstat -i tunl0 --remove --force Interface "tunl0" removed from database. The interface will no longer be monitored. Use --add if monitoring the interface is again needed. / # Hope this helps others. Quote Link to comment
Fantucie Posted July 24, 2023 Author Share Posted July 24, 2023 On 7/13/2023 at 3:02 PM, Bait Fish said: I had trouble viewing the GUI for the vnStat container. Defaults were left in the template during install except Network Type. I had set that to my custom network. The problem after first install was that clicking the WebUI link in Unraid would bring up a blank page using Chrome on my PC. This was the only machine/browser I tried. The URL listed was something link blocked/blank. Sorry. I did not capture the exact detail. This behaved differently from other containers. I tested using my machine's local IP and the container port. That too was not successful. I added this to the container and was able to reach the GUI. Click Add another Path, Port, Variable, Label or Device and set the port details. Config Type: Port Name: Host Port for 8685 Container Port: 8685 Host Port: 8685 Default Value: 8685 Connection Type: TCP Once that was done it worked for me. Note that I had changed one other container before this success. I adjusted the WebUI setting (under advanced view). The default was "http://[IP]:8685/". I changed it to "http://[IP]:[PORT:8685]" to match other functioning containers on my system. I'm not sure if that had any bearing on getting the GUI to show. One last change was it had an inactive interface as far as I can tell. So after issuing these commands, my only active interface, eth0, was left. The two command issued start with vnstat. / # vnstat --iflist Available interfaces: tunl0 eth0 (10000 Mbit) / # vnstat -i tunl0 --remove --force Interface "tunl0" removed from database. The interface will no longer be monitored. Use --add if monitoring the interface is again needed. / # Hope this helps others. Hello there ! I just seen your message sorry for the *very very* late answern yeah the port [PORT:8685] was missing on the template, I just fixed it thanks for your message, new user shouldn't have to fix it now 😃 For the commands ect, you should take a look toward my wiki about VnStat everything is *normally* aleadry said on it ! https://wiki.unraid.kalifondation.fr/en/unraid/VnStat & https://wiki.unraid.kalifondation.fr/fr/unraid/VnStat Quote Link to comment
Keichi Posted August 16, 2023 Share Posted August 16, 2023 Hello, I use your Seafile docker for four months : I love it. Thanks ! Right now, i use "Backup/Restore Appdata" to make a backup of the container, which require to stop Seafile. As i am the only user and store small amount of data, it took less than 10min, which i do overnight : I think it is time to move forward. I would like to store more data, and also open it to my family, mainly to store photos/videos of my nephews, as no one in the family really understand the word "MAKE BACKUPS" or "A file in one place is a dead file". So, the total amount of data will grow, and i think stopping the container and make an archive of 1 Tb+ won't be a right solution. What is recommandation ? To give you some context : - appdata (and seafile container) is on a zfs pool : - I kept my Appdata backup on the array inside /mnt/disk5/Backup/UNRAID/appdata - Every day, a second UNRAID server is turn on and use this script to backup the main server : On the backup server, inside a array, i have a zfs disk waiting for some snapshots : I think i can manage something with that, but i don't know if zfs snapshot or rsync is a good solution, as Seafile data can be updated at any time. Thanks you for your time, and for the container ! K. Quote Link to comment
xco_Yoshi Posted September 28, 2023 Share Posted September 28, 2023 hi there i have a problem wirth the crowdsexnpm Container the nginx bouncer dose not conect to crowdsec after following your guid any idears Quote Link to comment
el_fredo Posted October 18, 2023 Share Posted October 18, 2023 NginxProxyManager-CrowdSec: I am having problems renewing the SSL certs. It always says "Internal Error". I read your Wiki: "When creating SSL, using the button "Use a DNS challenge" does not work ..." But I am not using this button. Port 80 and 443 are also forwarded correctly. Back in August I was able to create the certificates. Now, renewing or creation always fails. Quote Link to comment
Fantucie Posted November 7, 2023 Author Share Posted November 7, 2023 On 10/18/2023 at 11:35 AM, el_fredo said: NginxProxyManager-CrowdSec: I am having problems renewing the SSL certs. It always says "Internal Error". I read your Wiki: "When creating SSL, using the button "Use a DNS challenge" does not work ..." But I am not using this button. Port 80 and 443 are also forwarded correctly. Back in August I was able to create the certificates. Now, renewing or creation always fails. Hello sorry for the very late answer, I've been quite busy irl, I would like to see your log on container side when this error appear to see what concretly is the error if you still have it, feel free to join the discord there is more poeple to help and less latency for answer, I sadly don't have full time to check up here always unless than on discord ^^' Quote Link to comment
thedinz Posted February 22 Share Posted February 22 pigallery2 will not even start for me, it starts and stops and there are 0 logs so i really have no idea where to start. Quote Link to comment
Fantucie Posted May 20 Author Share Posted May 20 On 2/22/2024 at 8:12 PM, thedinz said: pigallery2 will not even start for me, it starts and stops and there are 0 logs so i really have no idea where to start. Hello ! Sorry for the late answer again I got sadly not a lot of time. For PiGallery check up the permission on the Appdata folder, time to time on the first install, he can't create the config files who make the docker crash without a warning. Quote Link to comment
jjbrunton Posted June 10 Share Posted June 10 Any idea on how to diagnose excessive disk usage in this container? I am finding the deamons container using a large amount of docker.img for only two servers running. I can't exec into the container because /bin/bash /bin/sh aren't available. Quote Link to comment
Ikeasofa Posted June 15 Share Posted June 15 (edited) I installed your Seafile template but I can't upload files locally. Is there anything that I need to do before? Edited June 15 by Ikeasofa Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.