Commit Graph

23 Commits

Author SHA1 Message Date
aaee86823e Fix redirect loop by using dummy albums domain
Instead of trying to match the albums host with current host
(which always fails in path-based routing), use a dummy domain
'albums.localhost.invalid' that will never match the actual host.
This prevents the automatic redirect to /shared-albums.

Version bump to 0.3.2
2025-10-21 20:56:27 -06:00
6d3aaf7277 Fix redirect loop by setting NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT
The app was redirecting to /shared-albums because albumsAppOrigin()
returned the same host as the current URL after runtime replacement.
By setting NEXT_PUBLIC_ENTE_ALBUMS_ENDPOINT at build time to a
placeholder and replacing it at runtime with the full path-based URL,
the host comparison will fail and prevent the redirect loop.

Version bump to 0.3.1
2025-10-21 20:29:46 -06:00
00d7269e00 Fix Ente Cloudron packaging issues
- Fixed admin-helper.sh to use correct Museum binary path (/app/museum-bin/museum)
- Updated start.sh to handle missing S3 configuration gracefully
  - App now starts in configuration mode when S3 is not configured
  - Shows helpful configuration page instead of failing health checks
  - Properly starts Museum server once S3 is configured
- Updated CloudronManifest.json to version 0.2.2
- All web frontends (photos, accounts, auth, cast, albums, family) verified working
- Museum API server running successfully with S3 storage
2025-10-21 19:20:15 -06:00
5d2e5919b1 Make Ente CLI usable out of the box 2025-09-29 22:05:24 -06:00
1d16c17c35 Bundle Ente CLI for Cloudron console 2025-09-29 21:37:33 -06:00
8f94e35bf5 Fix SPA asset routing for web apps 2025-09-29 20:47:07 -06:00
bc5013f160 Fix web app endpoint configuration
- Use relative /api endpoint in Dockerfile build
- Remove complex runtime replacement logic
- Simplify start.sh to avoid read-only filesystem issues
- Restore working Caddy configuration

Version 0.1.78 ready for deployment
2025-07-26 20:28:15 -06:00
1df089cd21 Implement comprehensive web app API endpoint fix
- Patch origins.ts during Docker build to use window.location.origin + '/api'
- Update version to 0.1.69 to force rebuild
- Add browser compatibility check for server-side rendering
- Fix both API and uploader endpoint redirections

This addresses the root cause where web apps were hardcoded to use
https://api.ente.io instead of the local Museum server.
2025-07-25 19:27:11 -06:00
1e2cc6c64a Add comprehensive API documentation to Cloudron setup instructions
- Added detailed API endpoint information in SETUP-INSTRUCTIONS.md
- Documented API usage with Ente CLI
- Enhanced routing configuration for auth/cast/accounts apps
- Updated to version 0.1.64
2025-07-25 11:02:06 -06:00
4af60e1c64 Fix JavaScript URL construction error for API endpoint
- Change NEXT_PUBLIC_ENTE_ENDPOINT from "/api" to "https://example.com/api" during build to satisfy URL constructor requirements
- Add runtime replacement in start.sh to replace placeholder with actual domain endpoint
- This resolves the "TypeError: Failed to construct 'URL': Invalid URL" error in the frontend
2025-07-22 08:58:53 -06:00
4cb24ede92 Add Caddy webserver implementation 2025-03-17 00:13:38 +01:00
70ace7fc9a Remove web server references from Dockerfile 2025-03-16 23:53:07 +01:00
d777a26ab7 Update Cloudron app configuration and setup 2025-03-16 22:17:41 +01:00
8f54d8aeb2 Fix permission issues with go.mod by using a writable copy 2025-03-14 23:41:56 +01:00
3cebe5d5df Update Go version to 1.24.1 to satisfy dependency requirements 2025-03-14 23:37:34 +01:00
b902505524 Fix Go version compatibility issues and prevent automatic toolchain downloads 2025-03-14 23:35:14 +01:00
d2a19463b2 Make scripts more robust to handle various repository structures 2025-03-14 21:59:22 +01:00
df6aa7cdc4 Update to include both Museum server and web apps in single package 2025-03-14 21:45:09 +01:00
b492849666 Update Dockerfile to include Go and dependencies for Museum server 2025-03-14 21:42:45 +01:00
87ce90b9e7 Finalize Dockerfile 2025-03-14 21:31:41 +01:00
435e3af06a Update Dockerfile to examine ente repository structure 2025-03-14 21:27:55 +01:00
1d01c51099 Optimize build: remove embedded repositories from source and clone during Docker build 2025-03-14 21:03:47 +01:00
a8858657dc Initial commit for Ente Cloudron package 2025-03-14 21:01:18 +01:00