New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Puter Docker - No login via browser (intermittent wallpaper display) #350
Comments
This looks like the same as #230, you could try this solution from there:
Originally posted by @KernelDeimos in #230 (comment) |
Thank you. This has fixed the login issue. |
App Centre, Dev Center, and Browser being missing is expected, we don't include those now, but we will do later. Can you explain what issues you're having with the Terminal? |
Thanks. I'm a bit confused. The errors that I'm going to spend some time today setting up Docker to see if I can reproduce this. |
Issue Description
puter is started via docker and is active at http://192.168.0.152:4100
however fancy wallpaper intermittently appears in browser (mostly, not at all unless I clear cache - otherwise plain dark-blue background),
and more importantly, NO login appears at all so I cannot enter the default credentials provided to continue configuration.
Container shows as healthy, via the health-check so it is responding to the wget's
Steps to Reproduce
mount docker container via docker-compose.yml
[docker-compose.yml]
puter:
image: ghcr.io/heyputer/puter:latest
container_name: puter
restart: unless-stopped
pull_policy: always
environment:
- 'PUID=${PUID}'
- 'PGID={PGID}'
- 'TZ=${TZ}'
- 'CONFIG_PATH=/etc/puter'
ports:
- '${PUTER}:4100'
volumes:
- '${DATA}/puter/config:/etc/puter'
- '${DATA}/puter/data:/var/puter'
healthcheck:
test: wget --no-verbose --tries=1 --spider http://puter.localhost:4100/test || exit 1
interval: 30s
timeout: 3s
retries: 3
start_period: 30s
.env variables
PUTER=4100
PGID=1000
PUID=1000
TZ=Africa/Johannesburg
DATA=/home/iwadmin/docker/appdata
Expected & Actual Behavior
Login screen where default user credentials provided by the container can be captured and configuration/setup can continue/complete.
Addition Information or Screenshots (if applicable)
[config.json]
{
"config_name": "generated default config",
"env": "dev",
"nginx_mode": true,
"server_id": "ISENGARD",
"http_port": "4100",
"domain": "192.168.0.152",
"protocol": "http",
"contact_email": "[email protected]",
"services": {
"database": {
"engine": "sqlite",
"path": "puter-database.sqlite"
},
"thumbnails": {
"engine": "purejs"
},
"file-cache": {
"disk_limit": 16384,
"disk_max_size": 16384,
"precache_size": 16384,
"path": "./file-cache"
}
},
"cookie_name": "b302d23a-2cc1-48e8-b3c7-de3638c26e08",
"jwt_secret": "ce90b02f-38b5-430e-84e8-444430c7e08f",
"url_signature_secret": "6363a124-c639-48aa-886a-1a90063fadc9",
"": null
}
Deployment
npm run start
)docker run
)docker-compose
)Puter version (if accessible)
** DEV CONSOLE Docker Output**
puter>
[INFO::morgan] method="GET" url="/test?" status=200 responseTime=5.226 trace_request="846499a1-5623-4bf4-831f-2b8c7edcd2e1" (8230.099s) GET /test? 200 5.226
[ Dev Console ]
*** WARNING ** WARNING ** WARNING ***
[alarm] bold-wallet-1101 (INVALID SYSTEM STATE...): failed to initialize services (1)
*** WARNING ** WARNING ** WARNING ***
*** SYSTEM IS IN AN INVALID STATE ***
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ ┃
┃ Puter is now live at: �]8;;http://192.168.0.152:4100�\http://192.168.0.152:4100�]8;;�\ ┃
┃ Type web:dismiss to dismiss this message ┃
┃ ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Your default user has been created! ┃
┃ username: default_user ┃
┃ password: 33c7b6a7 ┃
┃ (change the password to remove this message) ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
The text was updated successfully, but these errors were encountered: