Files
ProxmoxVEDHelperScripts/json/ente.json
CanbiZ (MickLesk) 4fe1d95c81 fix(ente): auto-whitelist admin by user_id from database
The admin CLI requires the user to be whitelisted via their numeric
user_id in museum.yaml's internal.admin field. The helper script
ente-upgrade-subscription now:
1. Looks up user_id from PostgreSQL by email
2. Adds internal.admin to museum.yaml if not present
3. Restarts museum
4. Runs the subscription upgrade

This replaces the previous approach that incorrectly assumed the
first user was auto-admin (that fallback only works when internal
section is completely absent AND was unreliable).
2026-03-27 15:41:05 +01:00

60 lines
2.1 KiB
JSON

{
"name": "Ente",
"slug": "ente",
"categories": [
11
],
"date_created": "2025-11-22",
"type": "ct",
"updateable": false,
"privileged": false,
"config_path": "/opt",
"interface_port": 3000,
"documentation": "https://github.com/ente-io/ente",
"website": "https://ente.io/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/ente-photos.webp",
"description": "Ente is a service that provides a fully open source, end-to-end encrypted platform for you to store your data in the cloud without needing to trust the service provider. On top of this platform, we have built two apps so far: Ente Photos (an alternative to Apple and Google Photos) and Ente Auth (a 2FA alternative to the deprecated Authy).",
"install_methods": [
{
"type": "default",
"script": "ct/ente.sh",
"resources": {
"cpu": 4,
"ram": 4096,
"hdd": 10,
"os": "debian",
"version": "12"
}
}
],
"default_credentials": {
"username": null,
"password": null
},
"notes": [
{
"text": "First-Start: Create your first user account via the web UI at port 3000",
"type": "warning"
},
{
"text": "First-Start: Check museum logs for the email verification code: `journalctl -u ente-museum -n 100 | grep -i 'verification'`",
"type": "warning"
},
{
"text": "First-Start: Add your account to the CLI first: `ente account add` (export dir: any path, e.g. /photos)",
"type": "warning"
},
{
"text": "First-Start: Whitelist admin and remove subscription limit: `ente-upgrade-subscription <email>`",
"type": "warning"
},
{
"text": "For CLI admin docs see https://ente.io/help/self-hosting/administration/cli",
"type": "info"
},
{
"text": "Museum config: `cat /opt/ente/server/museum.yaml`",
"type": "info"
}
]
}