Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Update GHCR image references for the ente org rename

Manav Rathi7386bc6a0a6f
diff --git a/.github/workflows/server-publish-ghcr.yml b/.github/workflows/server-publish-ghcr.yml
index 641ad62a0d..acb6003309 100644
--- a/.github/workflows/server-publish-ghcr.yml
+++ b/.github/workflows/server-publish-ghcr.yml
@@ -38,6 +38,6 @@ jobs:
--file server/Dockerfile \
--platform linux/amd64,linux/arm64 \
--build-arg GIT_COMMIT="${museum_commit}" \
- --tag ghcr.io/ente-io/server:${museum_commit} \
- --tag ghcr.io/ente-io/server:latest \
+ --tag ghcr.io/ente/server:${museum_commit} \
+ --tag ghcr.io/ente/server:latest \
server
diff --git a/.github/workflows/web-publish-ghcr.yml b/.github/workflows/web-publish-ghcr.yml
index bd0efca14f..b00b566e93 100644
--- a/.github/workflows/web-publish-ghcr.yml
+++ b/.github/workflows/web-publish-ghcr.yml
@@ -29,6 +29,6 @@ jobs:
docker buildx build --push \
--file web/Dockerfile \
--platform linux/amd64,linux/arm64 \
- --tag ghcr.io/ente-io/web:${GITHUB_SHA} \
- --tag ghcr.io/ente-io/web:latest \
+ --tag ghcr.io/ente/web:${GITHUB_SHA} \
+ --tag ghcr.io/ente/web:latest \
.
diff --git a/docs/docs/.vitepress/sidebar.ts b/docs/docs/.vitepress/sidebar.ts
index c0f1dfadef..96bfe67385 100644
--- a/docs/docs/.vitepress/sidebar.ts
+++ b/docs/docs/.vitepress/sidebar.ts
@@ -745,6 +745,10 @@ export const sidebar = [
text: "Docker / quickstart",
link: "/self-hosting/troubleshooting/docker",
},
+ {
+ text: "Updated images",
+ link: "/self-hosting/troubleshooting/ghcr",
+ },
{
text: "Uploads",
link: "/self-hosting/troubleshooting/uploads",
diff --git a/docs/docs/self-hosting/guides/tailscale.md b/docs/docs/self-hosting/guides/tailscale.md
index 63e40f8e99..b9ebf69f84 100644
--- a/docs/docs/self-hosting/guides/tailscale.md
+++ b/docs/docs/self-hosting/guides/tailscale.md
@@ -168,7 +168,7 @@ Now `cd docker/ente` and run `sudo nano docker-compose.yaml` and populate it wit
```
services:
museum:
- image: ghcr.io/ente-io/server
+ image: ghcr.io/ente/server
ports:
- 9080:8080 # 9080 because tsdproxy is running on 8080:8080
# - 2112:2112 # Prometheus metrics
diff --git a/docs/docs/self-hosting/guides/windows.md b/docs/docs/self-hosting/guides/windows.md
index a80c5fdc7a..498bbe567e 100644
--- a/docs/docs/self-hosting/guides/windows.md
+++ b/docs/docs/self-hosting/guides/windows.md
@@ -146,7 +146,7 @@ secrets:
services:
museum:
- image: ghcr.io/ente-io/server
+ image: ghcr.io/ente/server
ports:
- 8080:8080
extra_hosts:
@@ -175,7 +175,7 @@ services:
start_period: 120s # First time bootstrapping will take longer, so tell the container environment to ignore the first 120s of failed health checks.
web:
- image: ghcr.io/ente-io/web
+ image: ghcr.io/ente/web
ports:
- 3000:3000 # Photos
- 3002:3002 # Albums
diff --git a/docs/docs/self-hosting/installation/upgrade.md b/docs/docs/self-hosting/installation/upgrade.md
index 6215099962..efc5736874 100644
--- a/docs/docs/self-hosting/installation/upgrade.md
+++ b/docs/docs/self-hosting/installation/upgrade.md
@@ -7,6 +7,10 @@ description: Upgrading self-hosted Ente
Upgrading Ente depends on the method of installation you have chosen.
+> [!IMPORTANT]
+>
+> If your compose file references `ghcr.io/ente-io/`, replace it with `ghcr.io/ente/`, then run `docker compose pull && docker compose up -d`.
+
## Quickstart
> [!TIP]
diff --git a/docs/docs/self-hosting/troubleshooting/ghcr.md b/docs/docs/self-hosting/troubleshooting/ghcr.md
new file mode 100644
index 0000000000..382846f851
--- /dev/null
+++ b/docs/docs/self-hosting/troubleshooting/ghcr.md
@@ -0,0 +1,46 @@
+---
+title: Updated images - Self-hosting
+description:
+ Fixing container image pull errors after Ente's GitHub organization was
+ renamed from ente-io to ente
+---
+
+# Updated images
+
+---
+
+**tldr; If your compose file references `ghcr.io/ente-io/`, replace it with `ghcr.io/ente/`, then run `docker compose pull && docker compose up -d`.**
+
+---
+
+We renamed our GitHub organization from `ente-io` to `ente`, so our repository
+now lives at [github.com/ente/ente](https://github.com/ente/ente). Learn more
+about the move on [our blog](https://ente.com/blog/ente-ente).
+
+Web links to the old `ente-io` URLs continue to redirect, so most things keep
+working unchanged. The GitHub Container Registry (GHCR) is the exception: it does
+**not** redirect renamed paths, so our prebuilt images have moved.
+
+| Old (no longer works) | New |
+| ------------------------ | --------------------- |
+| `ghcr.io/ente-io/server` | `ghcr.io/ente/server` |
+| `ghcr.io/ente-io/web` | `ghcr.io/ente/web` |
+
+## Symptom
+
+If your Compose file still references the old paths, `docker compose pull` fails
+with a `denied` error, since `ghcr.io/ente-io/server` and `ghcr.io/ente-io/web`
+no longer exist.
+
+## Fix
+
+Update the `image` references in your Compose file (for a quickstart setup, this
+is the `compose.yaml` in your `my-ente` directory) from `ghcr.io/ente-io/` to
+`ghcr.io/ente/`, then pull the new images and recreate your cluster:
+
+```sh
+docker compose pull && docker compose up -d
+```
+
+If you build from source instead of using the prebuilt images, there is nothing
+to change here; pull the latest `main` and rebuild as usual.
diff --git a/server/RUNNING.md b/server/RUNNING.md
index 89d2900753..7c951de47f 100644
--- a/server/RUNNING.md
+++ b/server/RUNNING.md
@@ -91,18 +91,18 @@ Each time museum gets rebuilt from source, a new image gets created but the old
## server
-If you have setup the database and object storage externally and only want to run Ente's server, you can just pull and run the image from **`ghcr.io/ente-io/server`**.
+If you have setup the database and object storage externally and only want to run Ente's server, you can just pull and run the image from **`ghcr.io/ente/server`**.
```sh
-docker pull ghcr.io/ente-io/server
+docker pull ghcr.io/ente/server
```
## web
-Similarly, there is a pre-built Docker image containing all the web apps which you can just pull and run the from **`ghcr.io/ente-io/web`**.
+Similarly, there is a pre-built Docker image containing all the web apps which you can just pull and run the from **`ghcr.io/ente/web`**.
```sh
-docker pull ghcr.io/ente-io/web
+docker pull ghcr.io/ente/web
```
For details about configuring the web image, see [web/docs/docker.md](../web/docs/docker.md).
diff --git a/server/docs/publish.md b/server/docs/publish.md
index 23ab5b41a9..3f64743711 100644
--- a/server/docs/publish.md
+++ b/server/docs/publish.md
@@ -24,4 +24,4 @@ gh workflow run server-publish.yml
> It uses the commit that is deployed on production museum instances. We can publish from any arbitrary commit really, but by using the commit that's already seen production, we avoid externally publishing images with issues.
-Once the workflow completes, the resultant image will be available at `ghcr.io/ente-io/server`. The image will be tagged by the commit SHA. The latest image will also be tagged, well, "latest".
+Once the workflow completes, the resultant image will be available at `ghcr.io/ente/server`. The image will be tagged by the commit SHA. The latest image will also be tagged, well, "latest".
diff --git a/server/quickstart.sh b/server/quickstart.sh
index 643c1b2ee7..ab66f6dbaa 100755
--- a/server/quickstart.sh
+++ b/server/quickstart.sh
@@ -70,7 +70,7 @@ sleep 1
cat <<EOF >compose.yaml
services:
museum:
- image: ghcr.io/ente-io/server
+ image: ghcr.io/ente/server
ports:
- 8080:8080 # API
depends_on:
@@ -94,7 +94,7 @@ services:
command: "TCP-LISTEN:3200,fork,reuseaddr TCP:minio:3200"
web:
- image: ghcr.io/ente-io/web
+ image: ghcr.io/ente/web
# Uncomment what you need to tweak.
ports:
- 3000:3000 # Photos web app
diff --git a/web/README.md b/web/README.md
index c1d2237473..1022fc10be 100644
--- a/web/README.md
+++ b/web/README.md
@@ -67,7 +67,7 @@ You might also find this [overview of dependencies](docs/dependencies.md) useful
## Docker images
-A Docker image containing the self-hosting web apps is available from `ghcr.io/ente-io/web`. See [docs/docker.md](docs/docker.md) for more details.
+A Docker image containing the self-hosting web apps is available from `ghcr.io/ente/web`. See [docs/docker.md](docs/docker.md) for more details.
## Attributions
diff --git a/web/docs/docker.md b/web/docs/docker.md
index 41405ddad9..a3b5268430 100644
--- a/web/docs/docker.md
+++ b/web/docs/docker.md
@@ -1,6 +1,6 @@
# Docker
-Automated Docker images for the self-hosting web apps are created every Wednesday. You can fetch them from `ghcr.io/ente-io/web`.
+Automated Docker images for the self-hosting web apps are created every Wednesday. You can fetch them from `ghcr.io/ente/web`.
These images expose 10 web apps on the following ports:
@@ -18,7 +18,7 @@ These images expose 10 web apps on the following ports:
For example, for selectively exposing only the photos web app on your port 8000, you could:
```sh
-docker run -it --rm -p 8000:3000 ghcr.io/ente-io/web
+docker run -it --rm -p 8000:3000 ghcr.io/ente/web
```
These images accept one environment variable:
@@ -28,7 +28,7 @@ These images accept one environment variable:
For example, if your API server is running at `https://api.example.org`, you can configure your Docker image to connect to it:
```sh
-docker run -it --rm -e ENTE_API_ORIGIN=https://api.example.org ghcr.io/ente-io/web
+docker run -it --rm -e ENTE_API_ORIGIN=https://api.example.org ghcr.io/ente/web
```
> [!TIP]
@@ -37,7 +37,7 @@ docker run -it --rm -e ENTE_API_ORIGIN=https://api.example.org ghcr.io/ente-io/w
### Dockerfile
-If you're manually building the Docker image using `web/Dockerfile` instead of using prebuilt `ghcr.io/ente-io/web` image, remember to run the build from the repo root since the context requires both the `web` and `rust` folders.
+If you're manually building the Docker image using `web/Dockerfile` instead of using prebuilt `ghcr.io/ente/web` image, remember to run the build from the repo root since the context requires both the `web` and `rust` folders.
```sh
docker build -f web/Dockerfile .