Giter Site home page Giter Site logo

pi-hosted's Introduction

Pi-Hosted Portainer Template V2

Discord Youtube Twitter URL

This repository is a collection of tutorials for hosting a variety of server applications using Docker and Portainer.

App Template for Portainer

App Template Image

Apps List

See the list of apps included in this template here.

Installation

Run install-docker.sh, to install docker, and add the current user to the docker usergroup.

wget -qO- https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/install_docker.sh | bash

You need to reboot/logout for changes to take effect

Pi OS Buster

On Oct 30, 2021 Pi OS bullseye was released and this is no longer needed. Older Pi OS buster releases run an old version of libseccomp that is causing problems with many containers that are preventing them from running. To fix this we need to manually install a newer version of libseccomp. However we first need to check and see if you are running an older version. To check please run sudo dpkg-query -W libseccomp.

sudo dpkg-query -W libseccomp2

If you are running a version less that 2.5 you will need to run the upgrade script.

wget -qO- https://raw.githubusercontent.com/pi-hosted/pi-hosted/master//tools/update_libseccomp2.sh | bash
  • The upgrade script is for Pi OS 32bit. Pi OS 64 beta is untested and the upgrade script wont work with it.

Reboot for changes to take effect

sudo reboot

After a reboot, run install-portainer.sh, to install Portainer.io

wget -qO- https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/install_portainer.sh | bash
# to update portainer, run this command instead
wget -qO- https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/update_portainer.sh | bash

This does not work for ARM32 based systems. See below.

Login to Portainer to update the App Template.

Goto pi-ip:9000 and then login

Click Settings, in the bottom-left corner, and paste the Portainer v2 json file link from below into the "App Templates" box.

You're done! Now just click App Templates and deploy applications!

Portainer Architecture

Architecture Tested OS's URL
**Arm32 Pi OS, DietPi https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/template/portainer-v2-arm32.json
Arm64 Pi OS, Ubuntu, DietPi https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/template/portainer-v2-arm64.json
Amd64 Ubuntu, Debian https://raw.githubusercontent.com/pi-hosted/pi-hosted/master/template/portainer-v2-amd64.json
  • Amd64 should work on all distros with scripts written for Debian based distros

ARM32 support

ARM32 support is slowly getting dropped, we recommend you upgrade to ARM64 as soon as possible

The above script to install Portainer doesn't work, as the portainer/portainer-ce:latest Docker image doesn't support ARM32 any more. You can run the commands in the script directly and use portainer/portainer-cs:linux-arm-2.11.1-alpine instead.

Pi-Hosted YouTube series

Pi-Hosted Playlist

Channel Episode Additional Information
N.01 Novaspirit Tech Raspberry Pi 4 Server Setup, Docker Install, Portainer Install, Shell In A Box
N.02 Novaspirit Tech Installing and Configuring Homer Dashboard
N.03 Novaspirit Tech Manually Installing Guacamole on Portainer
N.04 Novaspirit Tech Installing JDownloader and File Browser On The Pi Docker Server
N.05 Novaspirit Tech Torrent with Docker and OPENVPN with Transmission and PIA
N.Extra1 Novaspirit Tech Portainer.io App Template for Raspberry Pi arm/arm64 I Need Your Help!
N.06 Novaspirit Tech Upgrading Portainer and Updating Containers
N.07 Novaspirit Tech Raspberry Pi Docker Monitoring Install Doc
N.08 Novaspirit Tech Installing Nextcloud on Raspberry Pi Docker
N.09 Novaspirit Tech Installing Nginx Proxy Manager on Docker Install Doc
N.10 Novaspirit Tech Setting up Raspberry Pi Samba Server For File Sharing on Docker
N.11 Novaspirit Tech How to Install Whoogle to replace using Google and repo notes
N.12 Novaspirit Tech Checking out Windows 2000 Docker
N.Extra2 Novaspirit Tech 3 Huge Announcements!! Discord Giveaway! Pi-Hosted!! & SBC Garage Sale!
N.13 Novaspirit Tech Beginners Guide to WireGuard Docker and Installing Pi-OS 64bit Install Doc
N.14 Novaspirit Tech My Most used container! Snippet Box
N.15 Novaspirit Tech Rust Desk Open Source Remote Desktop
N.16 Novaspirit Tech Route Docker Traffic Through VPN Container
N.17 Novaspirit Tech Building NAS with Container
N.18 Novaspirit Tech Reviewing Stats on 25+ containers on my Raspberry Pi
N.Extra3 Novaspirit Tech Biggest Update to Pi-Hosted Portainer.io Template!
N.Extra4 Novaspirit Tech Run Android In Docker with this Container!
N.19 Novaspirit Tech Control Multiple Dockers From One Location with Portainer Agent
N.20 Novaspirit Tech Your Personal Weather Station Docker Container
N.21 Novaspirit Tech Hosting Without The Need to Port Forward Using This Trick!

Aditional Documentation

You can find more tutorials and useful information in our GitHub Docs folder.

Included Scripts

Install, Update, Pre-Install and extra scripts can be found in our GitHub Tools folder.

Contributors

See the list of contributors who participated in this project.

Acknowledgment

  • template based on SelfHosted Portainer App Template branch on 2021/10/05

pi-hosted's People

Contributors

aaemon avatar andreasroither avatar benseventy9 avatar bigoudops avatar blenherr avatar blumberg avatar cj0206 avatar cristianeduardmihai avatar delight avatar doomboy2020 avatar github-actions[bot] avatar griffen8280 avatar hellotinh03 avatar iusedebianbtw avatar jesb1n avatar kelahas10 avatar macleykun avatar martadinata666 avatar monirzadeh avatar nomadelog avatar novaspirit avatar oijkn avatar paulwratt avatar rmiddle avatar ryanfortner avatar segocode avatar techcoder20 avatar tuta23 avatar twistedgrim avatar yuvanneko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pi-hosted's Issues

Invalid Data Source after Pi 4 reboots [ Grafana ]

Every time the Pi shutdowns or reboots, the IP address for the prometheus changes. As a result every time we need to update the IP in data source for Grafana. Is there any way to setup a static IP for the containers in raspberrypi-docker-monitor stack ?
image

Duplicate Ports Used in 64b JSON Template. On going project.

Question
There are several containers using duplicate ports across the 64b template. Please see details in the attached screenshots.

Context
I have built out an excel review workbook to catch a few port related issues in the JSON files for 32b and 64b
64b_Dupe_Ports_01_of_02

64b_Dupe_Ports_02_of_02

[Redmine] feature

Is your feature request related to a problem? Please describe.
another great way to document your own personal wikis and has other add in as well in the https://www.redmine.org

Ive pulled it from the base link in Portainer:
linking for reference
https://raw.githubusercontent.com/portainer/templates/master/templates-2.0.json

Describe the solution you'd like

Additional context

{
			"type":1,
			"title":"Redmine",
			"description":"Open-source project management tool",
			"note":"Default user and password are admin/admin",
			"categories":[
				"project-management"
			],
			"platform":"linux",
			"logo":"https://portainer-io-assets.sfo2.digitaloceanspaces.com/logos/redmine.png",
			"image":"redmine:latest",
			"ports":[
				"3000/tcp"
			],
			"volumes":[
				{
					"container":"/usr/src/redmine/files"
				}
			]
		}

[REQUEST] Add Unbound Templates to integrate with Pi-Hole

Your project is awesome, and you've already incorporated Pi-hole. However, forwarding DNS requests to Unbound to act as a validating, recursive, caching DNS resolver would be awesome.

Describe the solution you'd like
Two primary options come to mind. Setting up Unbound as a unique container, or potentially in a Stack with Pi-Hole. Unbound can be used with other options such as Ad-Guard, so there is plenty of reason to have it separate, and using macvlan we could easily direct a standalone Pi-Hole to a standalone Unbound.

Describe alternatives you've considered
BIND also comes to mind, however seems to be aimed at a much large use case then Pi users.

Additional context
There are several Docker/Docker-Compose variations on DockerHub with unbound. I haven't learned enough yet how to create a portainer template for it myself, however plan to continue to work on it until someone more competent then I does it.

Thanks for any consideration on this.

[BUG] Unable to retrieve templates?

Question
Getting Unable to retrieve templates when using https://github.com/novaspirit/pi-hosted/blob/master/template/portainer-v2-arm64.json

Context
When using the 64 bit version of the templates I am getting the following error -

Unable to retrieve templates

2021-11-28_16-28

Template:
https://github.com/novaspirit/pi-hosted/blob/master/template/portainer-v2-arm64.json

It seems as though the json file is not surrounded by [ ] but I'm not sure if that is the cause of the error.

Template type

As taken Portainer templating guide , there is two type of template need consider for.

  • "type:" 2
  • "type:" 3

Both of them valid but got different function.
Valid values: "1" = container; "2" = Swarm stack; "3" = Compose stack
Other information: Type "3" is limited to using the version "2" stack format (this is a docker/libcompose limitation).

As template encourage to use "type": 3 than mean the stack need overhaul, every existed stack yml file will renamed to docker-compose.yml , version: "2" at the top, and separate folder each.

Sample
Before

"name": "nginx-proxy-manager",
			"platform": "linux",
			"ports": [
				"80:8080/tcp",
				"81:8181/tcp",
				"443:4443/tcp"
			],
			"env": [
				{
					"default": "password",
					"label": "DATABASE_PASSWORD",
					"name": "DATABASE_PASSWORD"
				},
				{
					"default": "password",
					"label": "MYSQL_ROOT_PASSWORD",
					"name": "MYSQL_ROOT_PASSWORD"
				}
				
			],
			"restart_policy": "unless-stopped",
			"title": "Proxy Ngnix Manager",
			"type": 3,
			"repository": {
				"stackfile": "pi-hosted_template/stack/nginx-proxy-manager.yml",
				"url": "https://github.com/novaspirit/pi-hosted"
			}
		},		

This will not listed in web gui. As "type": 3 looking for docker-compose.yml but if set as "type": 2 this will listed at web gui because swarm type can use custom name.
Solution if gonna use "type": 3 consistently is separate each stack to separte folder such as:

  • stack/nginx-proxy-manager/docker-compose.yml
  • stack/raspberry-pi-monitor/docker-compose.yml
    And update template json accordingly.

Also the stack yml file need to change from version 3 to version 2


version: "3.8"
services:
  wg-easy:
    environment:
      # ⚠️ Required:
      # Change this to your host's public address
      - WG_HOST=raspberrypi.local

      # Optional:
      - PASSWORD=foobar123
      - WG_PORT=51820
      - WG_DEFAULT_ADDRESS=10.8.0.x
      - WG_DEFAULT_DNS=1.1.1.1
      - WG_ALLOWED_IPS=192.168.15.0/24, 10.0.1.0/24
 

to


version: "2"
services:
  wg-easy:
    environment:
      # ⚠️ Required:
      # Change this to your host's public address
      - WG_HOST=raspberrypi.local

      # Optional:
      - PASSWORD=foobar123
      - WG_PORT=51820
      - WG_DEFAULT_ADDRESS=10.8.0.x
      - WG_DEFAULT_DNS=1.1.1.1
      - WG_ALLOWED_IPS=192.168.15.0/24, 10.0.1.0/24
      

In simple that is portainer confusion naming type,

compose ver 2 is the old one and portainer called "type": 3 for standlone stack
compose ver 3 the new one in portainer called "type": 2 for swarm type

refs:

[REQUEST] feature Raspberry Pi Docker Monitor all file systems

Is it possible to include all file systems in then panel "Used disk space"?

I recently install the stack "raspberrypi-docker-monitor" and saw that the mention panel only include data related to root fs (/).

I wish see other fs in then panel, such as root, boot and some externals disks

Mylar -- 32b image has been deprecated

When trying to spin up the Mylar container on the 32b side -- the logs revealed that the image is being deprecated and to use this branch instead:

linuxserver/mylar3

tt-rss not running

tt-rss not running i get bellow error

standard_init_linux.go:228: exec user process caused: exec format error

Bug - slickgear - No permission error

Slickgear installation is broken ( at least it seems )
Since the is a permission issue as stated by the install guide ( could be that it does not apply though )

https://github.com/SickGear/SickGear/wiki/Install-SickGear-%5B11%5D-RaspberryPi

Install on RPi Install Snap on the latest version of Raspbian... sudo apt update sudo apt install snapd Reboot your system, sudo reboot Install and run SickGear (you must sudo)... sudo snap install sickgear sudo /snap/bin/sickgear (use which sickgear to find path, e.g. /snap/bin/sickgear) SickGear will exit with a data directory write permission fail message if you do not use sudo All done, you can access SickGear at http://localhost:8081

Logs from sickgear

2021-11-13 05:48:45 ADDSHOWS^WEB_0 :: Unable to add show because can't create folder: /tv/Dragon Quest The Adventure of Dai

logs from doozle

sickgear linuxserver/sickgear:latest
RUNNING
MEM 121.63 MB
LOAD 0%
0
%
today at 9:44:12 PM [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
today at 9:44:12 PM [s6-init] ensuring user provided files have correct perms...exited 0.
today at 9:44:12 PM [fix-attrs.d] applying ownership & permissions fixes...
today at 9:44:12 PM [fix-attrs.d] done.
today at 9:44:12 PM [cont-init.d] executing container initialization scripts...
today at 9:44:12 PM [cont-init.d] 01-envfile: executing...
today at 9:44:12 PM [cont-init.d] 01-envfile: exited 0.
today at 9:44:12 PM [cont-init.d] 10-adduser: executing...
today at 9:44:12 PM
today at 9:44:12 PM -------------------------------------
today at 9:44:12 PM _ ()
today at 9:44:12 PM | | ___ _ __
today at 9:44:12 PM | | / | | | /
today at 9:44:12 PM | | _
\ | | | () |
today at 9:44:12 PM || |
/ || __/
today at 9:44:12 PM
today at 9:44:12 PM
today at 9:44:12 PM Brought to you by linuxserver.io
today at 9:44:12 PM -------------------------------------
today at 9:44:12 PM
today at 9:44:12 PM To support LSIO projects visit:
today at 9:44:12 PM https://www.linuxserver.io/donate/
today at 9:44:12 PM -------------------------------------
today at 9:44:12 PM GID/UID
today at 9:44:12 PM -------------------------------------
today at 9:44:12 PM
today at 9:44:12 PM User uid: 1000
today at 9:44:12 PM User gid: 44
today at 9:44:12 PM -------------------------------------
today at 9:44:12 PM
today at 9:44:12 PM [cont-init.d] 10-adduser: exited 0.
today at 9:44:12 PM [cont-init.d] 30-config: executing...
today at 9:47:00 PM [cont-init.d] 30-config: exited 0.
today at 9:47:00 PM [cont-init.d] 90-custom-folders: executing...
today at 9:47:00 PM [cont-init.d] 90-custom-folders: exited 0.
today at 9:47:00 PM [cont-init.d] 99-custom-files: executing...
today at 9:47:00 PM [custom-init] no custom files found exiting...
today at 9:47:00 PM [cont-init.d] 99-custom-files: exited 0.
today at 9:47:00 PM [cont-init.d] done.
today at 9:47:00 PM [services.d] starting services
today at 9:47:00 PM [services.d] done.
today at 9:47:25 PM /app/sickgear/lib/tzlocal/unix.py:158: UserWarning: Can not find any timezone configuration, defaulting to UTC.
today at 9:47:25 PM warnings.warn('Can not find any timezone configuration, defaulting to UTC.')
today at 9:47:25 PM 05:47:25 INFO TORNADO :: Starting SickGear on http://0.0.0.0:8081/
today at 9:47:25 PM 05:47:25 INFO MAIN :: Upgrading
today at 9:47:28 PM 05:47:28 INFO MAIN :: Removed orphaned data from allowlist
today at 9:47:28 PM 05:47:28 INFO MAIN :: Removed orphaned data from blocklist
today at 9:47:28 PM 05:47:28 INFO MAIN :: Adding TV info support to history table
today at 9:47:29 PM 05:47:29 INFO MAIN :: Adding TV info support to scene_exceptions table
today at 9:47:29 PM 05:47:29 INFO MAIN :: Removed orphaned data from scene_exceptions
today at 9:47:29 PM 05:47:29 INFO MAIN :: Adding TV info support to scene_numbering
today at 9:47:29 PM 05:47:29 INFO MAIN :: Adding TV info support to imdb_info
today at 9:47:29 PM 05:47:29 INFO MAIN :: Changing/Re-Creating Indexes
today at 9:47:31 PM 05:47:31 INFO MAIN :: Adding rls_global_exclude_ignore, rls_global_exclude_require to tv_shows
today at 9:47:31 PM 05:47:31 INFO MAIN :: Adding new data columns to tv_shows
today at 9:47:31 PM 05:47:31 INFO MAIN :: Adding new data columns to tv_episodes
today at 9:47:31 PM 05:47:31 INFO MAIN :: Adding new data columns to imdb_info
today at 9:47:32 PM 05:47:32 INFO MAIN :: Adding Character and Persons tables
today at 9:47:33 PM 05:47:33 INFO MAIN :: Finished
today at 9:47:33 PM 05:47:33 INFO MAIN :: Checking database structure...
today at 9:47:33 PM 05:47:33 INFO MAIN :: Initial Schema
today at 9:47:33 PM 05:47:33 INFO MAIN :: Database upgrade required: Initial Schema
today at 9:47:33 PM 05:47:33 INFO MAIN :: Consolidate Providers
today at 9:47:33 PM 05:47:33 INFO MAIN :: Database upgrade required: Consolidate Providers
today at 9:47:33 PM 05:47:33 INFO MAIN :: Add Backlog Parts
today at 9:47:33 PM 05:47:33 INFO MAIN :: Database upgrade required: Add Backlog Parts
today at 9:47:33 PM 05:47:33 INFO MAIN :: Add Provider Failure Handling
today at 9:47:33 PM 05:47:33 INFO MAIN :: Database upgrade required: Add Provider Failure Handling
today at 9:47:33 PM 05:47:33 INFO MAIN :: Add Indexer To Tables
today at 9:47:33 PM 05:47:33 INFO MAIN :: Database upgrade required: Add Indexer To Tables
today at 9:47:33 PM 05:47:33 INFO MAIN :: Add Generic Failure Handling
today at 9:47:33 PM 05:47:33 INFO MAIN :: Database upgrade required: Add Generic Failure Handling
today at 9:47:33 PM 05:47:33 INFO MAIN :: Add Save Queues
today at 9:47:33 PM 05:47:33 INFO MAIN :: Database upgrade required: Add Save Queues
today at 9:47:33 PM 05:47:33 INFO MAIN :: Finished
today at 9:47:33 PM 05:47:33 INFO MAIN :: Checking database structure...
today at 9:47:33 PM 05:47:33 INFO MAIN :: Initial Schema
today at 9:47:33 PM 05:47:33 INFO MAIN :: Database upgrade required: Initial Schema
today at 9:47:33 PM 05:47:33 INFO MAIN :: Size And Provider
today at 9:47:33 PM 05:47:33 INFO MAIN :: Database upgrade required: Size And Provider
today at 9:47:33 PM 05:47:33 INFO MAIN :: History
today at 9:47:33 PM 05:47:33 INFO MAIN :: Database upgrade required: History
today at 9:47:33 PM 05:47:33 INFO MAIN :: History Status
today at 9:47:33 PM 05:47:33 INFO MAIN :: Database upgrade required: History Status
today at 9:47:33 PM 05:47:33 INFO MAIN :: Add Indexer To Tables
today at 9:47:33 PM 05:47:33 INFO MAIN :: Database upgrade required: Add Indexer To Tables
today at 9:47:34 PM 05:47:34 INFO MAIN :: Finished
today at 9:47:34 PM 05:47:34 INFO MAIN :: Updating TV Episode table with index idx_tv_ep_ids
today at 9:47:34 PM 05:47:34 INFO MAIN :: No orphan episodes, check passed
today at 9:47:34 PM 05:47:34 INFO MAIN :: No UNAIRED episodes, check passed
today at 9:47:35 PM /app/sickgear/lib/dateutil/zoneinfo/init.py:32: UserWarning: Falling back to included zoneinfo file
today at 9:47:35 PM warnings.warn('Falling back to included zoneinfo file')
today at 9:47:35 PM 05:47:35 INFO MAIN :: Updating timezone info with new one: zoneinfo-2021e.tar.gz
today at 9:47:37 PM 05:47:37 INFO MAIN :: Loading initial show list
today at 9:47:37 PM 05:47:37 INFO MAPPINGSUPDATER :: Start loading TV info mappings...
today at 9:47:37 PM 05:47:37 INFO MAPPINGSUPDATER :: TV info mappings loaded
today at 9:47:37 PM 05:47:37 INFO XEMUPDATER :: Fetching show ids with xem scene mappings for origin TheTVDB
today at 9:47:37 PM 05:47:37 INFO UPGRADE-HISTORY-ACTION :: Updating history items with status Snatched Proper in a background process...
today at 9:47:38 PM 05:47:38 INFO XEMUPDATER :: Finished fetching show ids with 1216 xem scene mappings for origin TheTVDB
today at 9:48:45 PM 05:48:45 ERROR ADDSHOWS^WEB_0 :: Unable to add show because can't create folder: /tv/Dragon Quest The Adventure of Dai

Duplicate Ports Used in 32b JSON Template

Question
There are several containers using duplicate ports across the 32b template. Please see details in the attached screenshots.

Context
I have built out an excel review workbook to catch a few port related issues in the JSON files for 32b and 64b
32b_Dupe_Ports_01_of_02

32b_Dupe_Ports_02_of_02

[QUESTION / BUG] Docker Monitoring station using Grafana

I set up the Docker Monitoring, all fine as per your video, and it all worked great, (other than a couple of minnor statistics which I mentioned below). A day later I restarted my Pi and suddently all the statistics in Grafana showed N/A. After looking and the logs and doing some investigating it appears that the 4 containers (Cadvisor, Prometheus, Grafana, Node-Exporter) all have a DHCP assigned IP. However, Grafana is expecting to get data from a certain IP (in my case xxx.xxx.xxx.2) the Prometheus container. Therefore if when all the containers start up and Prometheus isn't on .2, Grafana fails.

I'm very new to all of this, and not sure how you've got them containers to be on their own seperate network. Thus I'm not sure how to fix their internal IP addresses. Hence, I'm not sure whether this is a bug in the setup or some other issue.

The following are bugs, relating to getting some of the statistics working, which although not connected, thought I would mention.

I found that the "Used Memory per Coantiner" table and graph always showed 0 for all containers. As per the information on https://issueexplorer.com/issue/stefanprodan/dockprom/228 I set cgroup_memory=1 cgroup_enable=memory in \boot\cmdline.txt and the used memory is now working. Note, I still get 0 for Limit memory and RSS Memory Usage per Container, but I suspect the former is due to me now setting a limit and I don't know about the later.

The number of containers also shows N/A from the very start. I had to change the Metric to count(rate(container_last_seen{id=~"/system.slice/docker.*"}[5m]))-2 to give the correct value. The minus two, is due to the count including docker.socket and docket.service which in my opinion weren't containers.

Thanks for all the great work, it is much appreciated.

Mealie - Incorrect tag

Hey attempting to install the mealie application results in error , I have updated the json file on my for

From latest
To v0.4.3

This solved the installation issue

App Templates

It appears that the "App Templates" link is not working.

Thank you for the pi-hosted series of videos, they have been very educational and helpful. Keep up the good work.

Raspberry Pi Monitoring grafana pwd

I figured I must being doing something wrong but I can't figure it out. When I initialy bring up the stack and try to log into Grafana, it doesn't ask me to create a new password. It's like it was already running. I've tried everything I can think of and I even found an article that shows you how to reset the admin pass from inside the docker container. That appears to have run w/o an error but I still can't login.

I completely deleted the containers and stack then started from scratch. Same issue. Not sure what the heck I am doing wrong

qbittorrent login credentials

Hi, after the deploy of "qbittorrent" I cannot pass the authentication screen using the credentials:
Username: admin
Password: adminadmin

But also didn't give me any error, unless I try another random combination.
I tested with Safari, Chrome and Firefox, same result.

Bookstack Redirect me to my wan ip and another port

Question
Why is this happening
Context
Here is the log from Bookstack

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.,
[s6-init] ensuring user provided files have correct perms...exited 0.,
[fix-attrs.d] applying ownership & permissions fixes...,
[fix-attrs.d] done.,
[cont-init.d] executing container initialization scripts...,
[cont-init.d] 01-envfile: executing... ,
[cont-init.d] 01-envfile: exited 0.,
[cont-init.d] 10-adduser: executing... ,
,
-------------------------------------,
_ (),
| | ___ _ _,
| | / | | | / ,
| | _
\ | | | () |,
|| |
/ || _/,
,
,
Brought to you by linuxserver.io,
-------------------------------------,
,
To support LSIO projects visit:,
https://www.linuxserver.io/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid: 1001,
User gid: 1001,
-------------------------------------,
,
[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... ,
New container detected. Setting up app folder and fixing permissions.,
App Key found - setting variable for seds,
Running config - db_user set,
**** Docker env var APP_URL is not set, setting it to http://..*.210:6875 ****, ## the local ip of my Rpi4 is 192.168.31.202 and the port that i define for Bookstack when i deploy the stack :3101
/var/run/s6/etc/cont-init.d/50-config: line 97: warning: command substitution: ignored null byte in input,
/var/run/s6/etc/cont-init.d/50-config: line 97: warning: command substitution: ignored null byte in input,
Nothing to migrate.,
[cont-init.d] 50-config: exited 0.,
[cont-init.d] 90-custom-folders: executing... ,
[cont-init.d] 90-custom-folders: 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.

Failure json: cannot unmarshal object into Go value of type []portainer.Template

I'm running into this error after using the raw json URL.
Running Portainer 1.24.2 with portainer:linux-arm on RPi 4 8 GB (Raspbian GNU/Linux 10 (buster)) Raspberry Pi OS with desktop and recommended software

I've tried updating portainer to portainer-ce:linux-arm and portainer-ce:linux-arm-2.9.0

I'd appreciate any help.
And thanks for the videos, great job !

Feature request to automatically make cloud backups

as part of IOTstack there is also the possibility to automatically make cloud backups. This would be good. This can also be combined with as docker image refresh as a backuo requires some containers using databases to be down...

Getting mounting issue in raspberry pi monitoring

Hi, I am getting the following error


Failure
OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "/portainer/Files/AppData/Config/grafana/grafana.ini" to rootfs at "/etc/grafana/grafana.ini" caused: mount through procfd: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

All the containers have been spawned from stack, only monitoring-grafana is throwing this error. Please help :(

Delugue Container requests unknowned password to access

Can you please provide me with the password that the DELUGE (no VPN) container requires?

Context
After not being able to set Transmision nor Deluge with my Surfshark vpn, I've deployed the Deluge container succesfully, but it requires a password that I hanot being able to get through the documentation.

I'll like to thank Don an the rest of the team for this extraordinary tutorial/series. Very usefull for newbies like myself.

[REQUEST] feature freqtrade

Is your feature request related to a problem? Please describe.
I would like automated cryptocurrency trader included in the project
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
freqtrade

Describe the solution you'd like
A clear and concise description of what you want to happen.
freqtrade
add this as a docker in the project - would be nice is Don could have a look as well, since he is oalso interested in crypto.
This can also be combined with a twitter "mood" checker:
https://github.com/lotdcotw/CATSA

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Snibox app does not include ARM support portainer-v2-arm32.json

Attempted to use snibox from portainer-v2-arm32.json a and failed

I managed to install updating the tool with a similiar one that does have arm support

	{
		"categories": [
			"Other",
			"Tools"
		],
		"description": "Snippet Box is a simple self-hosted app for organizing your code snippets.",
		"image": "pawelmalak/snippet-box:arm",
		"logo": "https://raw.githubusercontent.com/novaspirit/pi-hosted/master/images/snibox.png",
		"name": "Snippet-box",
		"note": "Label-oriented interface with search. Supports various programming languages, markdown, plain text.",
		"platform": "linux",
		"ports": [
			"5000:5000/tcp"
		],
		"restart_policy": "unless-stopped",
		"title": "Snippet-box",
		"type": 1,
		"volumes": [
			{
				"bind": "/portainer/Files/AppData/Config/snippet-box",
				"container": "/app/data"
			}
		]
	},

[QUESTION] Failure to retrieve template?

Question
I recently got the error 'Failure to retrieve template', what could be the cause?

Context
I have been following along don's tutorial on Pi Hosted and today I got the error 'Failure to retrieve template' while pointing to:

https://raw.githubusercontent.com/novaspirit/pi-hosted/master/pi-hosted_template/template/portainer-v2.json

However, I can access the following:

https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/portainer-2.0/Template/template.json

I'm running Portainer 2.9.2 on a Raspberry Pi 4 (Ubuntu 20.04.3), I upgraded to Portainer 2.9.2.

Samba Share Portainer Port Issue

I'm trying to set up Samba using the app in Portainer but i'm getting a port 445 already in use error. I do have a NAS set up on the pi already so would this be the reason for the error??

Docker monitoring not showing up in portainer App templates

I've followed the tutorial for installing the rpi docker monitor using the docs , but the "Raspberry Pi Docker Monitor" doesn't show up in the App templates tab. There aren't any errors showing up see the output below.
RPIMON

I'm using portainer.io version 2.11.0
Raspbian GNU/ Linux 11 (bullseye)

What could be causing this issue?

Chowdown - not installing arm version ( RPI4 2gb 32bit Lite OS

Quick question about the apps that are in the App template ( using https://raw.githubusercontent.com/novaspirit/pi-hosted/master/template/portainer-v2-arm32.json)

Some of them are not installing with the proper arm version and I keep getting this error on console
standard_init_linux.go:228: exec user process caused: exec format error

Is there something that Im not doing right? ( select the package and deploy is all that im doing )

Rpi4 2 gb
Raspbian 32bit Lite
OpenMediaVault 5-6.19 ( Docker 5:20.10.103-0debian-buster and Portainer 2.9.2 installed from there )

portainer-v2-arm32.json

Question
Right version lunik1/tt-rss:latest?
Context
I think it is 64bit and it wont work because of that.

[ISSUE] Some internal tasks failing when enforcing certbot certificate in nginx-proxy-manager

Doubt
I am facing the following issue when I am trying to enforce a new certificate on my proxy host


Connection Error: Error: read ECONNRESET

[11/5/2021] [12:52:36 PM] [Nginx    ] › ℹ  info      Reloading Nginx

[11/5/2021] [12:52:36 PM] [SSL      ] › ℹ  info      Requesting Let'sEncrypt certificates for Cert #1: proxy.shubhank.codes

[11/5/2021] [12:52:36 PM] [SSL      ] › ℹ  info      Command: certbot certonly --non-interactive --config "/etc/letsencrypt.ini" --cert-name "npm-1" --agree-tos --authenticator webroot --email "[email protected]" --preferred-challenges "dns,http" --domains "proxy.shubhank.codes" 

[11/5/2021] [12:52:44 PM] [Nginx    ] › ℹ  info      Reloading Nginx

[11/5/2021] [12:52:44 PM] [Express  ] › ⚠  warning   Command failed: certbot certonly --non-interactive --config "/etc/letsencrypt.ini" --cert-name "npm-1" --agree-tos --authenticator webroot --email "[email protected]" --preferred-challenges "dns,http" --domains "proxy.shubhank.codes" 

Saving debug log to /var/log/letsencrypt/letsencrypt.log

Some challenges have failed.

Evidences
My domain name is proxy.shubhank.codes and here is the output of the log files -

2021-11-05 12:55:06,766:DEBUG:certbot._internal.main:certbot version: 1.20.0
2021-11-05 12:55:06,768:DEBUG:certbot._internal.main:Location of certbot entry point: /opt/certbot/bin/certbot
2021-11-05 12:55:06,768:DEBUG:certbot._internal.main:Arguments: ['--non-interactive', '--quiet', '--config', '/etc/letsencrypt.ini', '--preferred-challenges', 'dns,http', '--disable-hook-validation']
2021-11-05 12:55:06,768:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2021-11-05 12:55:06,827:DEBUG:certbot._internal.log:Root logging level set at 40
2021-11-05 12:55:06,831:DEBUG:certbot._internal.display.obj:Notifying user: 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2021-11-05 12:55:06,831:DEBUG:certbot._internal.display.obj:Notifying user: No renewals were attempted.
2021-11-05 12:55:06,831:DEBUG:certbot._internal.display.obj:Notifying user: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2021-11-05 12:55:06,831:DEBUG:certbot._internal.renewal:no renewal failures
[root@docker-67aadbe1511f:/var/log/letsencrypt]# cat letsencrypt.log.1
2021-11-05 12:52:38,723:DEBUG:certbot._internal.main:certbot version: 1.20.0
2021-11-05 12:52:38,724:DEBUG:certbot._internal.main:Location of certbot entry point: /opt/certbot/bin/certbot
2021-11-05 12:52:38,724:DEBUG:certbot._internal.main:Arguments: ['--non-interactive', '--config', '/etc/letsencrypt.ini', '--cert-name', 'npm-1', '--agree-tos', '--authenticator', 'webroot', '--email', '[email protected]', '--preferred-challenges', 'dns,http', '--domains', 'proxy.shubhank.codes']
2021-11-05 12:52:38,725:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2021-11-05 12:52:38,784:DEBUG:certbot._internal.log:Root logging level set at 30
2021-11-05 12:52:38,787:DEBUG:certbot._internal.plugins.selection:Requested authenticator webroot and installer None
2021-11-05 12:52:38,797:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * webroot
Description: Place files in webroot directory
Interfaces: Authenticator, Plugin
Entry point: webroot = certbot._internal.plugins.webroot:Authenticator
Initialized: <certbot._internal.plugins.webroot.Authenticator object at 0x7fb44cd3c8>
Prep: True
2021-11-05 12:52:38,798:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot._internal.plugins.webroot.Authenticator object at 0x7fb44cd3c8> and installer None
2021-11-05 12:52:38,798:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator webroot, Installer None
2021-11-05 12:52:39,143:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory.
2021-11-05 12:52:39,218:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org:443
2021-11-05 12:52:40,370:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 658
2021-11-05 12:52:40,372:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Fri, 05 Nov 2021 12:52:39 GMT
Content-Type: application/json
Content-Length: 658
Connection: keep-alive
Cache-Control: public, max-age=0, no-cache
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800

{
  "ghYcB3yzFck": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417",
  "keyChange": "https://acme-v02.api.letsencrypt.org/acme/key-change",
  "meta": {
    "caaIdentities": [
      "letsencrypt.org"
    ],
    "termsOfService": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf",
    "website": "https://letsencrypt.org"
  },
  "newAccount": "https://acme-v02.api.letsencrypt.org/acme/new-acct",
  "newNonce": "https://acme-v02.api.letsencrypt.org/acme/new-nonce",
  "newOrder": "https://acme-v02.api.letsencrypt.org/acme/new-order",
  "revokeCert": "https://acme-v02.api.letsencrypt.org/acme/revoke-cert"
}
2021-11-05 12:52:40,375:DEBUG:acme.client:Requesting fresh nonce
2021-11-05 12:52:40,375:DEBUG:acme.client:Sending HEAD request to https://acme-v02.api.letsencrypt.org/acme/new-nonce.
2021-11-05 12:52:40,745:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "HEAD /acme/new-nonce HTTP/1.1" 200 0
2021-11-05 12:52:40,748:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Fri, 05 Nov 2021 12:52:39 GMT
Connection: keep-alive
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: 0001k2zs5Nl50Hq0k36xwxOCUCpW_R6PYdyt6W-pz_UpTvI
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800


2021-11-05 12:52:40,749:DEBUG:acme.client:Storing nonce: 0001k2zs5Nl50Hq0k36xwxOCUCpW_R6PYdyt6W-pz_UpTvI
2021-11-05 12:52:40,750:DEBUG:acme.client:JWS payload:
b'{\n  "contact": [\n    "mailto:[email protected]"\n  ],\n  "termsOfServiceAgreed": true\n}'
2021-11-05 12:52:40,775:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/new-acct:
{
  "protected": "eyJhbGciOiAiUlMyNTYiLCAiandrIjogeyJuIjogInF0a0JVbUZhMWRhZlY2ckpvRlhkcjA5akF1c1U3UGdGYlFqWWlnbmRFcjhoZEFpTWYtNDlPeXFwd2FncE9rLUlSNlFpdFZFR3VHLWZBYU5QUHh2aFEtOU1GNkljUy1IajRiSld0cE8zVnE4QjNqOUZPbVBac3o4VUQwTmlGbDd0Y0JtM1hYN1lSMllNVlhLMjFjWGtvOU1CZUQ5ZlVaSEFaMEhWVVBxbi1nV0xhSmVsdV9ZX3k0eDJVVHlBU18tVzRnb2NpV0dXRllEMGJ4cjVQOEdXdThzREljcW5QOGNFZTY3OVdtVTFMOEE3U2czMHZFRUJRSmsyODVfbTJaTVRoWldubzU2dnE3amh4UWhvNEw0ZF9jSjNTQVZzbnFVSWt6dW1MSkxBV1JST0VnZnRKb0hsclhVTXpwVnlJQXNiY21KZEJEckhhelc2Z1FzUE1neDN4dyIsICJlIjogIkFRQUIiLCAia3R5IjogIlJTQSJ9LCAibm9uY2UiOiAiMDAwMWsyenM1Tmw1MEhxMGszNnh3eE9DVUNwV19SNlBZZHl0NlctcHpfVXBUdkkiLCAidXJsIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL25ldy1hY2N0In0",
  "signature": "DRlZ-oGeGVttM6PI4fzu1H0a7k-nLWVCHi_-7ZRAaQCYdERondmZ7VNAjcTnoTiOTUkNZKmjAu7W8tM6ytY8aQtAV_dluCC0PmUyrdh4mG9wo2LlfGEwb1QTI5golpe6JegRv2S6cbVTRunc7E2OKwcfz2OkSN7OI4075m9npuepaYCQy5qJ67ZDyZEiyiVshjpeQK--Pu70o9ir_8H88VSemyaVTRJzPmjUDFHgRB0YEfWM0Af7jCOeJ1VbSodDeOFSitlqRZH139wLf_kSqATwqJSbge43k4GHas-2DvbDTQ2h2L81WDuOtj-JNA7xBDigFBnjxwaRsjUB5fWMQA",
  "payload": "ewogICJjb250YWN0IjogWwogICAgIm1haWx0bzpzYXhlbmEuc2h1YmhhbmsuMTlAZ21haWwuY29tIgogIF0sCiAgInRlcm1zT2ZTZXJ2aWNlQWdyZWVkIjogdHJ1ZQp9"
}
2021-11-05 12:52:41,152:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/new-acct HTTP/1.1" 201 571
2021-11-05 12:52:41,155:DEBUG:acme.client:Received response:
HTTP 201
Server: nginx
Date: Fri, 05 Nov 2021 12:52:40 GMT
Content-Type: application/json
Content-Length: 571
Connection: keep-alive
Boulder-Requester: 268955690
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index", <https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf>;rel="terms-of-service"
Location: https://acme-v02.api.letsencrypt.org/acme/acct/268955690
Replay-Nonce: 0001zWpPjnUtHLcuMPgiIgo3he4j-1ngmQ_lOJC47hYwQvU
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800

{
  "key": {
    "kty": "RSA",
    "n": "qtkBUmFa1dafV6rJoFXdr09jAusU7PgFbQjYigndEr8hdAiMf-49OyqpwagpOk-IR6QitVEGuG-fAaNPPxvhQ-9MF6IcS-Hj4bJWtpO3Vq8B3j9FOmPZsz8UD0NiFl7tcBm3XX7YR2YMVXK21cXko9MBeD9fUZHAZ0HVUPqn-gWLaJelu_Y_y4x2UTyAS_-W4gociWGWFYD0bxr5P8GWu8sDIcqnP8cEe679WmU1L8A7Sg30vEEBQJk285_m2ZMThZWno56vq7jhxQho4L4d_cJ3SAVsnqUIkzumLJLAWRROEgftJoHlrXUMzpVyIAsbcmJdBDrHazW6gQsPMgx3xw",
    "e": "AQAB"
  },
  "contact": [
    "mailto:[email protected]"
  ],
  "initialIp": "49.36.239.237",
  "createdAt": "2021-11-05T12:52:40.026954386Z",
  "status": "valid"
}
2021-11-05 12:52:41,156:DEBUG:acme.client:Storing nonce: 0001zWpPjnUtHLcuMPgiIgo3he4j-1ngmQ_lOJC47hYwQvU
2021-11-05 12:52:41,167:DEBUG:certbot._internal.display.obj:Notifying user: Account registered.
2021-11-05 12:52:41,168:DEBUG:certbot._internal.main:Picked account: <Account(RegistrationResource(body=Registration(key=JWKRSA(key=<ComparableRSAKey(<cryptography.hazmat.backends.openssl.rsa._RSAPublicKey object at 0x7fb43f3320>)>), contact=('mailto:[email protected]',), agreement=None, status='valid', terms_of_service_agreed=None, only_return_existing=None, external_account_binding=None), uri='https://acme-v02.api.letsencrypt.org/acme/acct/268955690', new_authzr_uri=None, terms_of_service='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf'), f5ed3c25619090b9cfa831af57f03a96, Meta(creation_dt=datetime.datetime(2021, 11, 5, 12, 52, 41, tzinfo=<UTC>), creation_host='67aadbe1511f', register_to_eff=None))>
2021-11-05 12:52:41,172:DEBUG:certbot._internal.display.obj:Notifying user: Requesting a certificate for proxy.shubhank.codes
2021-11-05 12:52:41,191:DEBUG:certbot.crypto_util:Generating ECDSA key (2048 bits): /etc/letsencrypt/keys/0000_key-certbot.pem
2021-11-05 12:52:41,317:DEBUG:certbot.crypto_util:Creating CSR: /etc/letsencrypt/csr/0000_csr-certbot.pem
2021-11-05 12:52:41,322:DEBUG:acme.client:JWS payload:
b'{\n  "identifiers": [\n    {\n      "type": "dns",\n      "value": "proxy.shubhank.codes"\n    }\n  ]\n}'
2021-11-05 12:52:41,343:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/new-order:
{
  "protected": "eyJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2FjY3QvMjY4OTU1NjkwIiwgIm5vbmNlIjogIjAwMDF6V3BQam5VdEhMY3VNUGdpSWdvM2hlNGotMW5nbVFfbE9KQzQ3aFl3UXZVIiwgInVybCI6ICJodHRwczovL2FjbWUtdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvYWNtZS9uZXctb3JkZXIifQ",
  "signature": "dHg8ig_YKzygsN2eAXtXCreC4L82Tp0j6AEzzcPj-UQgrY3n8MpYvXoco38D2oOkQdrd_UoRYVuM9OXbONbLfbuA6hH_f5EC54pRqX0Wx5iiV80YH_PHMH1oHiTZ4Df03mXY0ijLi-8fbcYE06eXo5qofb-KbjTpY_RIQItyfg718W_CdxSlrFXXG7O_fONUx7B98DdSTQsI3x7XCh6EKSkJ8qtlgD74i16das235Lps7Cum0XuP5YXlsQNONeOYR-KaKAQzCaaA8eyArjR_5kcvzZalycUvkhsEWg_AjRHjCAIaoL-kgZGyAKs8Nnfr4Iygaf3bPUHQD8rPSF_DOA",
  "payload": "ewogICJpZGVudGlmaWVycyI6IFsKICAgIHsKICAgICAgInR5cGUiOiAiZG5zIiwKICAgICAgInZhbHVlIjogInByb3h5LnNodWJoYW5rLmNvZGVzIgogICAgfQogIF0KfQ"
}
2021-11-05 12:52:41,742:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/new-order HTTP/1.1" 201 343
2021-11-05 12:52:41,744:DEBUG:acme.client:Received response:
HTTP 201
Server: nginx
Date: Fri, 05 Nov 2021 12:52:40 GMT
Content-Type: application/json
Content-Length: 343
Connection: keep-alive
Boulder-Requester: 268955690
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Location: https://acme-v02.api.letsencrypt.org/acme/order/268955690/37322798340
Replay-Nonce: 00016p5ZnLkNGPtmpb4ovc6z94ntU8wKhpQEPadxZYu1gRM
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800

{
  "status": "pending",
  "expires": "2021-11-12T12:52:40Z",
  "identifiers": [
    {
      "type": "dns",
      "value": "proxy.shubhank.codes"
    }
  ],
  "authorizations": [
    "https://acme-v02.api.letsencrypt.org/acme/authz-v3/46451286710"
  ],
  "finalize": "https://acme-v02.api.letsencrypt.org/acme/finalize/268955690/37322798340"
}
2021-11-05 12:52:41,745:DEBUG:acme.client:Storing nonce: 00016p5ZnLkNGPtmpb4ovc6z94ntU8wKhpQEPadxZYu1gRM
2021-11-05 12:52:41,751:DEBUG:acme.client:JWS payload:
b''
2021-11-05 12:52:41,766:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/authz-v3/46451286710:
{
  "protected": "eyJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2FjY3QvMjY4OTU1NjkwIiwgIm5vbmNlIjogIjAwMDE2cDVabkxrTkdQdG1wYjRvdmM2ejk0bnRVOHdLaHBRRVBhZHhaWXUxZ1JNIiwgInVybCI6ICJodHRwczovL2FjbWUtdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvYWNtZS9hdXRoei12My80NjQ1MTI4NjcxMCJ9",
  "signature": "o9bwufzJYXWBEjUcS0dlfI9_QF3zqDT-HytQcOYq36kEpEupTm8l4fy6CFzm_nIYQmd-8Pntmq76SB5aVwVZjRJoEZ1XmiVTk4vWgQfdsDF_iPFpNwP0YYHxGHFs7GrpMGfNO1JDjfnGteMYbrUzD9yUvraBy2iFtoZEaheuUqy-EDIinq6cbg8JN7l0OqTffhL9kw0hhwYwgSubMiLPFkbkfkmXLoc_RPerycPJTsIA_stCVC2OXSY6CR5z5SOOJUhwuprhLBfLsKrTIVEqiOc1e7BVCkl989uNYx7nG8lKCkQODUg9p8MoyA_Fhztqf9ImnErObZ1UllmN268PTg",
  "payload": ""
}
2021-11-05 12:52:42,136:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/authz-v3/46451286710 HTTP/1.1" 200 801
2021-11-05 12:52:42,139:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Fri, 05 Nov 2021 12:52:41 GMT
Content-Type: application/json
Content-Length: 801
Connection: keep-alive
Boulder-Requester: 268955690
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: 0002GwYzxW5DLq_OTAmSJq-bnehc5t_pMInpY0nUBR6vQ0A
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800

{
  "identifier": {
    "type": "dns",
    "value": "proxy.shubhank.codes"
  },
  "status": "pending",
  "expires": "2021-11-12T12:52:40Z",
  "challenges": [
    {
      "type": "http-01",
      "status": "pending",
      "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/46451286710/quzcsQ",
      "token": "D6DQ0mlUhIolpBxuUcDzWnXGDBjDkalzHjl5q1Ui_Bc"
    },
    {
      "type": "dns-01",
      "status": "pending",
      "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/46451286710/bgTz8g",
      "token": "D6DQ0mlUhIolpBxuUcDzWnXGDBjDkalzHjl5q1Ui_Bc"
    },
    {
      "type": "tls-alpn-01",
      "status": "pending",
      "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/46451286710/HY5kqQ",
      "token": "D6DQ0mlUhIolpBxuUcDzWnXGDBjDkalzHjl5q1Ui_Bc"
    }
  ]
}
2021-11-05 12:52:42,140:DEBUG:acme.client:Storing nonce: 0002GwYzxW5DLq_OTAmSJq-bnehc5t_pMInpY0nUBR6vQ0A
2021-11-05 12:52:42,142:INFO:certbot._internal.auth_handler:Performing the following challenges:
2021-11-05 12:52:42,143:INFO:certbot._internal.auth_handler:http-01 challenge for proxy.shubhank.codes
2021-11-05 12:52:42,144:INFO:certbot._internal.plugins.webroot:Using the webroot path /data/letsencrypt-acme-challenge for all unmatched domains.
2021-11-05 12:52:42,145:DEBUG:certbot._internal.plugins.webroot:Creating root challenges validation dir at /data/letsencrypt-acme-challenge/.well-known/acme-challenge
2021-11-05 12:52:42,169:DEBUG:certbot._internal.plugins.webroot:Attempting to save validation to /data/letsencrypt-acme-challenge/.well-known/acme-challenge/D6DQ0mlUhIolpBxuUcDzWnXGDBjDkalzHjl5q1Ui_Bc
2021-11-05 12:52:42,171:DEBUG:acme.client:JWS payload:
b'{}'
2021-11-05 12:52:42,190:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/chall-v3/46451286710/quzcsQ:
{
  "protected": "eyJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2FjY3QvMjY4OTU1NjkwIiwgIm5vbmNlIjogIjAwMDJHd1l6eFc1RExxX09UQW1TSnEtYm5laGM1dF9wTUlucFkwblVCUjZ2UTBBIiwgInVybCI6ICJodHRwczovL2FjbWUtdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvYWNtZS9jaGFsbC12My80NjQ1MTI4NjcxMC9xdXpjc1EifQ",
  "signature": "IfRLJFaR0jaqEMvAciXsAFWpIx3Xeo76M4pa1fbsGrosPOOfDjMUS5FLirESJgYcmXwguZ322T01ZkFv4O5t9P08B5sAXpxmIVpt7smLNrtAiOyVpVvoFv09XKXzWqoI9kDHaHvR_aA_OUHui-sCtzE8_euwYYgxKml6YdgPfho9Azv3Vwn-fT7I_WN0kAC6Bw-3e83ivONhfHesC7xApohgYJSjB3FFUSt9IxoI2xOElSQnys16UdNmyifvc2SQc8YzIzYxrZxeqqxXljtwQ7-ANwUlKTvRV2Bj06zm1dBZlWjvyvwLnH1YmeMujxam8p7FpohVQuHVMOuCn0LOLQ",
  "payload": "e30"
}
2021-11-05 12:52:42,564:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/chall-v3/46451286710/quzcsQ HTTP/1.1" 200 186
2021-11-05 12:52:42,566:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Fri, 05 Nov 2021 12:52:41 GMT
Content-Type: application/json
Content-Length: 186
Connection: keep-alive
Boulder-Requester: 268955690
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index", <https://acme-v02.api.letsencrypt.org/acme/authz-v3/46451286710>;rel="up"
Location: https://acme-v02.api.letsencrypt.org/acme/chall-v3/46451286710/quzcsQ
Replay-Nonce: 0002-zlfA39z2YsKLquWm2D0WexA4neex9S7V12-uZervU0
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800

{
  "type": "http-01",
  "status": "pending",
  "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/46451286710/quzcsQ",
  "token": "D6DQ0mlUhIolpBxuUcDzWnXGDBjDkalzHjl5q1Ui_Bc"
}
2021-11-05 12:52:42,567:DEBUG:acme.client:Storing nonce: 0002-zlfA39z2YsKLquWm2D0WexA4neex9S7V12-uZervU0
2021-11-05 12:52:42,569:INFO:certbot._internal.auth_handler:Waiting for verification...
2021-11-05 12:52:43,571:DEBUG:acme.client:JWS payload:
b''
2021-11-05 12:52:43,589:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/authz-v3/46451286710:
{
  "protected": "eyJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2FjY3QvMjY4OTU1NjkwIiwgIm5vbmNlIjogIjAwMDItemxmQTM5ejJZc0tMcXVXbTJEMFdleEE0bmVleDlTN1YxMi11WmVydlUwIiwgInVybCI6ICJodHRwczovL2FjbWUtdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvYWNtZS9hdXRoei12My80NjQ1MTI4NjcxMCJ9",
  "signature": "JbiS4hPHYasfBHYBZNbHIxwkCL3c1XD2kdalmn_cn-dMtrsQZIQZmzV9-0i2PR7PgjHhxJRjFZhKsS2DbUFtlZo5WCmC0aEWdYrC_9fb_-tUBMF_Wz6V1OWT6TcLdBdNx3Vsi0V69Z-CETJaic6YIc2g5NBLxJnuop2AgDxtjqGEm9rtAatBZ6F4Mcz4r97KSizjagpCCBwhcrArvC_p3aWxY_FwA8tyhYL0l2VBFslMLHk1HRED972PngdBhALCnq_YrxjadQzWO4luBYXOZdiaPG-4FTJSlvKRJx39ULmk3WnbDfPc8lxi44UTNQffrZaPj5x69IC5qvWKU1_NmQ",
  "payload": ""
}
2021-11-05 12:52:43,964:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/authz-v3/46451286710 HTTP/1.1" 200 645
2021-11-05 12:52:43,967:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Fri, 05 Nov 2021 12:52:42 GMT
Content-Type: application/json
Content-Length: 645
Connection: keep-alive
Boulder-Requester: 268955690
Cache-Control: public, max-age=0, no-cache
Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
Replay-Nonce: 00015ozUYfRsk4v6reffTQCHznGet5G6IHOY0cJyw9MZPFA
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800

{
  "identifier": {
    "type": "dns",
    "value": "proxy.shubhank.codes"
  },
  "status": "invalid",
  "expires": "2021-11-12T12:52:40Z",
  "challenges": [
    {
      "type": "http-01",
      "status": "invalid",
      "error": {
        "type": "urn:ietf:params:acme:error:dns",
        "detail": "DNS problem: NXDOMAIN looking up A for proxy.shubhank.codes - check that a DNS record exists for this domain",
        "status": 400
      },
      "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/46451286710/quzcsQ",
      "token": "D6DQ0mlUhIolpBxuUcDzWnXGDBjDkalzHjl5q1Ui_Bc",
      "validated": "2021-11-05T12:52:41Z"
    }
  ]
}
2021-11-05 12:52:43,969:DEBUG:acme.client:Storing nonce: 00015ozUYfRsk4v6reffTQCHznGet5G6IHOY0cJyw9MZPFA
2021-11-05 12:52:43,971:INFO:certbot._internal.auth_handler:Challenge failed for domain proxy.shubhank.codes
2021-11-05 12:52:43,971:INFO:certbot._internal.auth_handler:http-01 challenge for proxy.shubhank.codes
2021-11-05 12:52:43,972:DEBUG:certbot._internal.display.obj:Notifying user: 
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
  Domain: proxy.shubhank.codes
  Type:   dns
  Detail: DNS problem: NXDOMAIN looking up A for proxy.shubhank.codes - check that a DNS record exists for this domain

Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.

2021-11-05 12:52:44,076:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 90, in handle_authorizations
    self._poll_authorizations(authzrs, max_retries, best_effort)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 178, in _poll_authorizations
    raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.

2021-11-05 12:52:44,077:DEBUG:certbot._internal.error_handler:Calling registered functions
2021-11-05 12:52:44,077:INFO:certbot._internal.auth_handler:Cleaning up challenges
2021-11-05 12:52:44,078:DEBUG:certbot._internal.plugins.webroot:Removing /data/letsencrypt-acme-challenge/.well-known/acme-challenge/D6DQ0mlUhIolpBxuUcDzWnXGDBjDkalzHjl5q1Ui_Bc
2021-11-05 12:52:44,079:DEBUG:certbot._internal.plugins.webroot:All challenges cleaned up
2021-11-05 12:52:44,080:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
  File "/opt/certbot/bin/certbot", line 8, in <module>
    sys.exit(main())
  File "/opt/certbot/lib/python3.7/site-packages/certbot/main.py", line 15, in main
    return internal_main.main(cli_args)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 1574, in main
    return config.func(config, plugins)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 1434, in certonly
    lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 133, in _get_and_save_cert
    lineage = le_client.obtain_and_enroll_certificate(domains, certname)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/client.py", line 454, in obtain_and_enroll_certificate
    cert, chain, key, _ = self.obtain_certificate(domains)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/client.py", line 384, in obtain_certificate
    orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/client.py", line 434, in _get_order_and_authorizations
    authzr = self.auth_handler.handle_authorizations(orderr, self.config, best_effort)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 90, in handle_authorizations
    self._poll_authorizations(authzrs, max_retries, best_effort)
  File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 178, in _poll_authorizations
    raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
2021-11-05 12:52:44,097:ERROR:certbot._internal.log:Some challenges have failed.

whoogle-search Fatal Python error

Hello,

Getting error after installing whoogle using Portainer

whoogle-search Fatal Python error: pyinit_main: can't initialize time Python runtime state: core initialized PermissionError: [Errno 1] Operation not permitted

How to properly mount storage? [NextCloudPi]

Hi Don,

I followed you youtube series on the pi-hosted topic, now I stand before a big set back.

Did you manage to setup the nextcloud external storage inside docker?

I've successfully mounted two ntfs HDDs to my pi 4 8g. They're working just fine on the pi itself.
Then I tried to attach these to my NextCloudPi instance, which seems to not be working properly.

I added the Volume as a bind inside Portainer, and I set up the external storage inside my nc settings panel.
When I now open the "folder" it is displayed as empty, although there are directories in it.

Is this a permission issue on the pi? (I do not think so, as it doesn't work even if I set chmod to 777 for all the directories inside)

How did you accomplish this, if you've even tried to do so?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.