From 1148e524f0a80ec3a8f22c31c782ed4679b42c88 Mon Sep 17 00:00:00 2001 From: Keerthana Date: Wed, 30 Jul 2025 14:14:38 +0530 Subject: [PATCH 1/2] [docs] update FAQ for desktop and object storage --- docs/docs/photos/faq/desktop.md | 14 ++++++++++++++ .../self-hosting/administration/object-storage.md | 6 ------ docs/docs/self-hosting/troubleshooting/docker.md | 3 +-- server/config/example.yaml | 9 --------- 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/docs/docs/photos/faq/desktop.md b/docs/docs/photos/faq/desktop.md index c0ef805584..adac13bcc0 100644 --- a/docs/docs/photos/faq/desktop.md +++ b/docs/docs/photos/faq/desktop.md @@ -37,3 +37,17 @@ be specific to your distro (e.g. `xdg-desktop-menu forceupdate`). > > If you're using an AppImage and not seeing the icon, you'll need to > [enable AppImage desktop integration](/photos/troubleshooting/desktop-install/#appimage-desktop-integration). + +### Application reporting offline despite Internet connectivity + +Due to unreliability of usage of `navigator.onLine` in Linux, the app may report that you are offline, even though the internet connection is functional. + +You can resolve the issue by adding a dummy network interface using the following command: + +```shell +ip link add dummy0 type dummy +ip addr add 10.10.10.1/24 dev dummy0 +ip link set dummy0 up +``` + +Once the interface is up, Ente correctly detects that the system is online. \ No newline at end of file diff --git a/docs/docs/self-hosting/administration/object-storage.md b/docs/docs/self-hosting/administration/object-storage.md index caf83a1c46..f92d6eae40 100644 --- a/docs/docs/self-hosting/administration/object-storage.md +++ b/docs/docs/self-hosting/administration/object-storage.md @@ -63,17 +63,11 @@ It has no relation to Backblaze, Wasabi or Scaleway. Each bucket's endpoint, region, key and secret should be configured accordingly if using an external bucket. -Additionally, you can enable SSL and path-style URL for specific buckets, which -provides flexibility for storage. If this is not configured, top level -configuration (`s3.are_local_buckets` and `s3.use_path_style_urls`) is used. - A sample configuration for `b2-eu-cen` is provided, which can be used for other 2 buckets as well: ```yaml b2-eu-cen: - are_local_buckets: true - use_path_style_urls: true key: secret: endpoint: localhost:3200 diff --git a/docs/docs/self-hosting/troubleshooting/docker.md b/docs/docs/self-hosting/troubleshooting/docker.md index 030037abdd..cf4b36ccf2 100644 --- a/docs/docs/self-hosting/troubleshooting/docker.md +++ b/docs/docs/self-hosting/troubleshooting/docker.md @@ -134,8 +134,7 @@ There are 2 possibilities: ## MinIO provisioning error -You may encounter similar logs while trying to start the cluster if you are -using the older command (provided by default in `quickstart.sh`): +If you encounter similar logs while starting your Docker Compose cluster ``` my-ente-minio-1 -> | Waiting for minio... diff --git a/server/config/example.yaml b/server/config/example.yaml index 81d8d796f3..0fbd2f61b7 100644 --- a/server/config/example.yaml +++ b/server/config/example.yaml @@ -23,19 +23,12 @@ s3: # Only path-style URL works if disabling are_local_buckets with MinIO use_path_style_urls: true b2-eu-cen: - # You can uncomment the below 2 lines of configuration to - # configure SSL and URL style per bucket. - # If not configured, top-level configuration is used. - # are_local_buckets: true - # use_path_style_urls: true key: secret: endpoint: localhost:3200 region: eu-central-2 bucket: b2-eu-cen wasabi-eu-central-2-v3: - # are_local_buckets: true - # use_path_style_urls: true key: secret: endpoint: localhost:3200 @@ -43,8 +36,6 @@ s3: bucket: wasabi-eu-central-2-v3 compliance: false scw-eu-fr-v3: - # are_local_buckets: true - # use_path_style_urls: true key: secret: endpoint: localhost:3200 From 19979b4f619e8d3dd41edfbd734f2912ccfe0bdc Mon Sep 17 00:00:00 2001 From: Keerthana Date: Wed, 30 Jul 2025 14:18:08 +0530 Subject: [PATCH 2/2] [docs] push photos faq to troubleshooting for incorrect network status reporting --- docs/docs/photos/faq/desktop.md | 16 +--------------- .../troubleshooting/desktop-install/index.md | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/docs/photos/faq/desktop.md b/docs/docs/photos/faq/desktop.md index adac13bcc0..e513444b41 100644 --- a/docs/docs/photos/faq/desktop.md +++ b/docs/docs/photos/faq/desktop.md @@ -36,18 +36,4 @@ be specific to your distro (e.g. `xdg-desktop-menu forceupdate`). > [!NOTE] > > If you're using an AppImage and not seeing the icon, you'll need to -> [enable AppImage desktop integration](/photos/troubleshooting/desktop-install/#appimage-desktop-integration). - -### Application reporting offline despite Internet connectivity - -Due to unreliability of usage of `navigator.onLine` in Linux, the app may report that you are offline, even though the internet connection is functional. - -You can resolve the issue by adding a dummy network interface using the following command: - -```shell -ip link add dummy0 type dummy -ip addr add 10.10.10.1/24 dev dummy0 -ip link set dummy0 up -``` - -Once the interface is up, Ente correctly detects that the system is online. \ No newline at end of file +> [enable AppImage desktop integration](/photos/troubleshooting/desktop-install/#appimage-desktop-integration). \ No newline at end of file diff --git a/docs/docs/photos/troubleshooting/desktop-install/index.md b/docs/docs/photos/troubleshooting/desktop-install/index.md index 19ff875cc9..85e6cb5e62 100644 --- a/docs/docs/photos/troubleshooting/desktop-install/index.md +++ b/docs/docs/photos/troubleshooting/desktop-install/index.md @@ -99,3 +99,17 @@ If you do want to run it from the command line, you can do so by passing the For more details, see this upstream issue on [electron](https://github.com/electron/electron/issues/17972). + +### Application reporting offline despite Internet connectivity + +Due to unreliability of usage of `navigator.onLine` in Linux, the app may report that you are offline, even though the internet connection is functional. + +You can resolve the issue by adding a dummy network interface using the following command: + +```shell +ip link add dummy0 type dummy +ip addr add 10.10.10.1/24 dev dummy0 +ip link set dummy0 up +``` + +Once the interface is up, Ente correctly detects that the system is online. \ No newline at end of file