Episode 18: Portainer CE, Arcane, Dockge and Komodo measured next to a running stack
This commit is contained in:
parent
55b2fe7646
commit
76a3132a17
42 changed files with 1639 additions and 0 deletions
21
managers/measurements/11-portainer-first-login.txt
Normal file
21
managers/measurements/11-portainer-first-login.txt
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Portainer: Erstanmeldung ohne und mit Setup-Token, Sat Oct 17 12:12:11 PM UTC 2026
|
||||
# Container gestartet 12:12:02 UTC
|
||||
$ curl -sk -X POST https://127.0.0.1:9443/api/users/admin/init -d {"Username":"admin","Password":"<12+ Zeichen>"} # ohne Token, wie ein Fremder
|
||||
{"message":"Invalid or missing setup token. Provide the X-Setup-Token header with the token printed in the server logs at startup.","details":"Invalid or missing setup token"} HTTP 403
|
||||
$ dasselbe mit falschem X-Setup-Token
|
||||
{"message":"Invalid or missing setup token. Provide the X-Setup-Token header with the token printed in the server logs at startup.","details":"Invalid or missing setup token"} HTTP 403
|
||||
|
||||
# 12:17:15 UTC, 5 min 13 s nach dem Start, noch kein Admin angelegt
|
||||
$ curl -sk https://127.0.0.1:9443/api/users/admin/check
|
||||
{"message":"Administrator initialization timeout","details":"Administrator initialization timeout"} HTTP 303
|
||||
$ POST /api/users/admin/init jetzt MIT richtigem X-Setup-Token
|
||||
{"message":"Administrator initialization timeout","details":"Administrator initialization timeout"} HTTP 303
|
||||
$ docker logs portainer | grep timed
|
||||
2026/10/17 12:17PM INF github.com/portainer/portainer/api/adminmonitor/admin_monitor.go:60 > the Portainer instance timed out for security purposes, to re-enable your Portainer instance, you will need to restart Portainer |
|
||||
|
||||
# 12:17:20 docker restart portainer, danach neuer Token im Log
|
||||
UI reachable after 0.29 s
|
||||
$ POST /api/users/admin/init mit X-Setup-Token aus docker logs
|
||||
{"Id":1,"Username":"opsadmin","Password":"REDACTED","Role":1,"TokenIssueAt":0,"ThemeSettings":{"color":""},"UseCache":false,"PortainerAuthorizations":null,"EndpointAuthorizations":null} HTTP 200
|
||||
$ GET /api/endpoints
|
||||
[]
|
||||
Loading…
Add table
Add a link
Reference in a new issue