π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[docs] Add FAQ for content blockers blocking videos and improve formatting
anandbaburajand8885e69d75b
diff --git a/docs/docs/auth/troubleshooting/windows-login.md b/docs/docs/auth/troubleshooting/windows-login.mdindex 7459874cec..6e76c96e76 100644--- a/docs/docs/auth/troubleshooting/windows-login.md+++ b/docs/docs/auth/troubleshooting/windows-login.md@@ -16,7 +16,6 @@ To update the Trusted Root Certificates on Windows, you can use the `certutil`command. Here are the steps to do so:1. **Open Command Prompt as Administrator**:-- Press `Windows + X` and select `Command Prompt (Admin)` or`Windows PowerShell (Admin)`.diff --git a/docs/docs/photos/faq/backup-and-sync.md b/docs/docs/photos/faq/backup-and-sync.mdindex f06edd4bdd..02c12ad80d 100644--- a/docs/docs/photos/faq/backup-and-sync.md+++ b/docs/docs/photos/faq/backup-and-sync.md@@ -427,7 +427,6 @@ This ensures smooth operation and prevents conflicts.Yes! On desktop, you have two options:1. **Watch folders**: Automatically sync specific folders (recommended for ongoing backup)-- Continuous monitoring and automatic uploads- See watch folders section abovediff --git a/docs/docs/photos/faq/storage-and-plans.md b/docs/docs/photos/faq/storage-and-plans.mdindex 8dc980a4c1..40a96fdcce 100644--- a/docs/docs/photos/faq/storage-and-plans.md+++ b/docs/docs/photos/faq/storage-and-plans.md@@ -429,7 +429,6 @@ When your subscription expires, you enter a **30-day grace period** before your**To avoid losing your data:**1. **Renew your subscription** before the grace period ends:-- All your data will be immediately accessible again- Uploads will resume automatically- No data lossdiff --git a/docs/docs/photos/faq/troubleshooting.md b/docs/docs/photos/faq/troubleshooting.mdindex 38c70637be..a59b231fcd 100644--- a/docs/docs/photos/faq/troubleshooting.md+++ b/docs/docs/photos/faq/troubleshooting.md@@ -159,12 +159,10 @@ The desktop/web app tries to detect if a particular file is a video or image. If**On Android:**1. **Disable battery optimization for Ente:**-- Open device `Settings > Apps > Ente > Battery`- Select "Unrestricted" or "Don't optimize"2. **Check storage permissions:**-- Open device `Settings > Apps > Ente > Permissions`- Ensure "Photos and videos" or "Files and media" is allowed@@ -175,7 +173,6 @@ The desktop/web app tries to detect if a particular file is a video or image. If**On iOS:**1. **Check Background App Refresh:**-- Open device `Settings > Ente > Background App Refresh`- Ensure it's enabled@@ -243,12 +240,10 @@ Ente will automatically skip files that have already been uploaded, so you can dIf watch folders aren't uploading new files automatically:1. **Check the watch folders list:**-- Click "Watch folders" in the sidebar- Verify the correct folders are being watched2. **Check upload status:**-- Look for the sync status indicator in the bottom right- Expand it to see any errors@@ -418,7 +413,6 @@ Mobile browsers cannot handle the computationally intensive password derivation**Solutions:**1. **Use the native mobile app instead** (recommended):-- Install Ente Photos from the [App Store (iOS)](https://apps.apple.com/app/id1542026904) or [Play Store (Android)](https://play.google.com/store/apps/details?id=io.ente.photos)- Mobile apps are optimized for phones and tablets- Full feature support including machine learning@@ -449,6 +443,16 @@ Click on each section to see the specific files and error messages.**On mobile:**Open `Settings > Backup` to see the backup status and any errors.+### Why aren't videos playing on web? {#content-blocker-videos}++If videos aren't playing on web.ente.io, browser content blockers or ad blockers may be blocking video playback.++**Solution:**++Disable your content blocker or add `web.ente.io` to your allowlist. Wait 15-20 seconds for changes to take effect before trying again.++**Known issue with AdGuard:** AdGuard's basic filter blocks videos in Ente when using AdGuard Mini on Safari. This has been [reported to AdGuard filter developers](https://github.com/AdguardTeam/AdguardFilters/issues/216424).+## Performance Issues### Why is the app slow to load my photos? {#app-slow-loading}diff --git a/docs/docs/self-hosting/administration/users.md b/docs/docs/self-hosting/administration/users.mdindex de0e4b1caa..413cffc64b 100644--- a/docs/docs/self-hosting/administration/users.md+++ b/docs/docs/self-hosting/administration/users.md@@ -37,7 +37,6 @@ can achieve this the following steps:3. Edit `internal.admins` or `internal.admin` (if you wish to whitelist onlysingle user) in `museum.yaml` to add the user ID you wish to whitelist.-- For multiple admins:```yamldiff --git a/docs/docs/self-hosting/guides/windows.md b/docs/docs/self-hosting/guides/windows.mdindex 8c565fbcbb..60962938d9 100644--- a/docs/docs/self-hosting/guides/windows.md+++ b/docs/docs/self-hosting/guides/windows.md@@ -8,6 +8,7 @@ description: A community guide with a Windows specific workflow for running theWhile this setup was tested on Windows, the concepts are not OS-specific and will apply to any containerized deployment, including Linux and MacOS. If you are struggling with self-hosting, I recommend you read this guide.The key differences are:+- Docker Desktop/Engine installation- File path formatting for container volume mounts- Startup service automation@@ -15,11 +16,11 @@ The key differences are:## PrerequisitesYou will need Docker Desktop or Docker Engine. Follow the installation instructions for your system:+- [Docker Desktop for Windows](https://docs.docker.com/desktop/setup/install/windows-install/)- [MacOS](https://docs.docker.com/desktop/setup/install/mac-install/) (or install [docker-desktop Homebrew cask](https://formulae.brew.sh/cask/docker-desktop))- [Linux](https://docs.docker.com/desktop/setup/install/linux/)-## ArchitectureTo troubleshoot, you'll need an understanding of the components at play. Start by memorizing the diagram here (there will be a quiz): https://github.com/ente-io/ente/tree/main/server/README.md@@ -49,7 +50,6 @@ extra_hosts:- localhost:host-gateway```-## Secrets**DO NOT** store secrets in plaintext. Let Docker handle them for you. Docker secrets are only available to swarm services, so we will be deploying using `docker stack` instead of `docker compose`.@@ -60,7 +60,7 @@ You will need 6 secrets stored in your favorite password manager (any will do, I2. `minio_user`: random password3. `minio_password`: random password4. `encryption_key`: 32-char, base64-5. `hash_key`: 64-char, base64+5. `hash_key`: 64-char, base646. `jwt_secret`: 32-char, base64, URL-safeI generated the passwords using my password manager and the base64 values using bash:@@ -72,11 +72,11 @@ I generated the passwords using my password manager and the base64 values usingIf you don't have access to a unix shell, you can find an equivalent powershell command.For each key, store it as a docker secret:+```"Kx7v..." | docker secret create encryption_key -```-## ConfigurationPostgres and minio require dedicated folders on your Windows machine that will be mounted inside their respective containers. These folders can live anywhere in your file system. My tree looks like this:@@ -116,7 +116,7 @@ s3:bucket: b2-eu-cenapps:- public-albums: http://localhost:3002+ public-albums: http://localhost:3002# public-albums: http://192.168.1.42:3002# public-albums: https://albums.mydomain.comcast: http://localhost:3004@@ -230,7 +230,6 @@ Modify the volume mappings for museum, postgres, and minio to target the corresp- `./relative/windows/path:/container/path/do/not/modify`- `D:/absolute/windows/path:/container/path/do/not/modify`-## DeploymentFrom the directory containing `docker-compose.yaml` run:@@ -250,54 +249,58 @@ Follow https://ente.io/help/self-hosting/installation/post-install and enjoy the- I recommend using Docker Desktop UI to view logs and run container commands.- On shutdown (`docker stack rm ente`), docker will wait for postgres to terminate before deleting the default network. The startup command (`docker stack deploy -d -c docker-compose.yaml ente`) will fail until all resources are deleted.- Minio **will not** auto-create the bucket. I feel like museum should be doing this, but at the time of testing, this was not handled automatically. Additionally, if you don't allowlist CORS, your uploads will not complete. Run the following commands to fix both issues:- 1. In Docker Desktop, open the `ente_minio` container Exec tab, or run the following powershell command:- ```- docker exec -it $(docker ps -q -f name=ente_minio) sh- ```- 2. Log in, create the default bucket, and allowlist CORS:- ```- printf '%s\n%s\n' "$(cat /run/secrets/minio_user)" "$(cat /run/secrets/minio_password)" | mc alias set admin http://localhost:9000- mc mb -p admin/b2-eu-cen- mc admin config set admin api cors\_allow\_origin="\*"- ```- 3. Restart your minio container and you should be ready to upload!+ 1. In Docker Desktop, open the `ente_minio` container Exec tab, or run the following powershell command:+ ```+ docker exec -it $(docker ps -q -f name=ente_minio) sh+ ```+ 2. Log in, create the default bucket, and allowlist CORS:+ ```+ printf '%s\n%s\n' "$(cat /run/secrets/minio_user)" "$(cat /run/secrets/minio_password)" | mc alias set admin http://localhost:9000+ mc mb -p admin/b2-eu-cen+ mc admin config set admin api cors\_allow\_origin="\*"+ ```+ 3. Restart your minio container and you should be ready to upload!- In case you missed it, use the ente CLI to increase your storage limits: https://ente.io/help/self-hosting/administration/cli#step-4-increase-storage-and-account-validity-## Next steps1. Start ente automatically with Windows Task Scheduler. Create a basic task to run on login using `powershell.exe` with the following flags:+```-WindowStyle Hidden -ExecutionPolicy Bypass -File "D:\ente\ente_deploy.ps1"```+Then add `ente_deploy.ps1` to your `ente` directory:- ```- param(- [string]$LogFile = "$PSScriptRoot\ente-deploy.log"- )-- function Log($msg) {- "[$(Get-Date -Format 'yyyy-MM-dd HH:mm:ss')] $msg" | Add-Content $LogFile- }-- do {- $ok = try { docker node ls 2>$null } catch { $null }- if ($ok) { break }- Start-Sleep -Seconds 5- } while ($true)-- Set-Location $PSScriptRoot- $output = docker stack deploy -d -c docker-compose.yaml ente 2>&1- $exitCode = $LASTEXITCODE-- if ($exitCode -ne 0) {- Log $output- exit $exitCode- }-- exit 0- ```++ ```+ param(+ [string]$LogFile = "$PSScriptRoot\ente-deploy.log"+ )++ function Log($msg) {+ "[$(Get-Date -Format 'yyyy-MM-dd HH:mm:ss')] $msg" | Add-Content $LogFile+ }++ do {+ $ok = try { docker node ls 2>$null } catch { $null }+ if ($ok) { break }+ Start-Sleep -Seconds 5+ } while ($true)++ Set-Location $PSScriptRoot+ $output = docker stack deploy -d -c docker-compose.yaml ente 2>&1+ $exitCode = $LASTEXITCODE++ if ($exitCode -ne 0) {+ Log $output+ exit $exitCode+ }++ exit 0+ ```+- For non-Windows setups, find the recommended service manager for your OS (e.g. `systemd`), and configure it to use the following startup command: `cd /path/to/ente && docker stack deploy -c docker-compose.yaml ente`+2. To expose ente on your local network or custom domain, update the three endpoints in `museum.yamls` and two ORIGIN values in `docker-compose.yaml` (if you want web support).- For custom domains, I use a Cloudflare tunnel. Cloudflare client comes with a reverse proxy.- If you don't want to use a custom domain, but still want your ente service exposed publicly, Tailscale is a good choice. However, their "funnel" only routes to a single port, so you will need to set up your own reverse proxy. Caddy and Nginx are both great options which can be deployed as part of your existing `docker-compose.yaml`.@@ -306,10 +309,8 @@ Follow https://ente.io/help/self-hosting/installation/post-install and enjoy the4. You're self-hosting, so you have to worry about replication! Be sure to periodically back up either your postgres+minio databases or photos export to local disk. See https://ente.io/help/self-hosting/administration/backup for recommendations.- For example, my setup uses ente's continuous export and sync to an external drive, which is then uploaded daily to B2 using Kopia.-## Troubleshooting tips1. Most errors will be network misconfigurations. Use your browser (or desktop app) developer tools console to see where a request is being sent. For example, if you're connecting from a different device or through a custom domain, and you see `localhost:8080` domain being hit in the networking logs, you know you forgot to update the web UI's `ENTE_API_ORIGIN` value. If your uploads aren't starting, your `s3.b2-eu-cen.endpoint` may be misconfigured. If your uploads are getting stuck at 97%, look for symptoms of a `403` and follow the CORS allowlist instructions.2. Secrets are finicky when reading from files. You have to worry about trimming newlines and carriage returns. The configuration I shared should handle this, but if you see key authentication errors, you're in for a treat.3. If you have lots of disk I/O (like a large copy) happening in the background, Windows will prioritize the Windows process over containers. This means containers will be slow to start up and may be terminated on startup. Wait for the copy to finish or increase the container `healthcheck.start_period`.-diff --git a/docs/docs/self-hosting/installation/post-install/index.md b/docs/docs/self-hosting/installation/post-install/index.mdindex 93cac90f74..bf24dc2aee 100644--- a/docs/docs/self-hosting/installation/post-install/index.md+++ b/docs/docs/self-hosting/installation/post-install/index.md@@ -61,7 +61,6 @@ If running Museum without Docker, the code should be visible in the terminal3. Edit `internal.admins` or `internal.admin` (if you wish to whitelist onlysingle user) in `museum.yaml` to add the user ID you wish to whitelist.-- For multiple admins:```yaml