Commit Graph

142 Commits

Author SHA1 Message Date
f28b82db3f Update to version 0.4.3 with S3 configuration improvements
- Always regenerate Museum configuration on startup to enable runtime S3 credential changes
- Improve S3 configuration logging and validation for Cloudflare R2 endpoints
- Update SMTP configuration to use SMTPS port 2465 with TLS encryption
- Fix Caddy proxy headers to properly forward client information
- Add startup.log for enhanced troubleshooting
- Update build instructions and changelog for version 0.4.3
2025-10-30 08:57:37 -06:00
9d4849ee38 Add back SMTP authentication for port 2525
Restore SMTP username and password for authenticated relay on port
2525. According to Cloudron docs, this port should work with plain
SMTP and authentication without STARTTLS.
2025-10-22 09:18:02 -06:00
3e23a8b9d6 Revert to port 2525 without authentication for internal mail relay
The STARTTLS port 2587 requires TLS certificate verification, but
Cloudron's internal mail relay uses a wildcard cert for *.due.ren
which doesn't match the hostname 'mail'. Port 2525 is the internal
plain SMTP relay that doesn't require authentication or TLS for
connections from within the same container network.
2025-10-22 09:12:46 -06:00
626a5b5031 Use Cloudron STARTTLS port 2587 for SMTP
Switch from plain SMTP on port 2525 to STARTTLS on port 2587.
The Go smtp.SendMail function automatically handles STARTTLS
negotiation when encryption is empty, which is required by
Cloudron's sendmail addon on the STARTTLS port.
2025-10-22 09:05:28 -06:00
f0c225961a Add SMTP authentication using Cloudron sendmail credentials
Configure Museum to use CLOUDRON_MAIL_SMTP_USERNAME and
CLOUDRON_MAIL_SMTP_PASSWORD for authenticated SMTP relay.
This fixes the "550 I cannot deliver mail" error by properly
authenticating with the Cloudron sendmail addon.
2025-10-22 08:54:03 -06:00
212da52a7a Fix SMTP configuration to use Cloudron sendmail hostname
Change SMTP host from localhost/127.0.0.1 to 'mail' as per Cloudron
sendmail addon documentation. The sendmail addon provides a local SMTP
relay accessible via hostname 'mail' on port 2525.
2025-10-22 08:47:18 -06:00
50cc98abb2 Use localhost for SMTP instead of Docker bridge IP
Change SMTP host from 172.18.0.1 to localhost to properly connect
to Cloudron's sendmail relay running inside the container.
2025-10-22 08:38:12 -06:00
82ab3c25e9 Fix SMTP configuration to use Cloudron mail relay
Use Cloudron's internal mail relay at 172.18.0.1:2525 instead of
external SMTP server to fix email sending timeouts during registration.
2025-10-22 08:17:48 -06:00
f20a55768b Add Caddy handler for static image assets 2025-10-21 22:04:39 -06:00
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
98c8185655 Improve URL replacement strategy for frontend assets
- Enhanced rewrite_frontend_reference function to handle multiple URL encoding formats
- Now replaces plain URLs, backslash-escaped URLs, and double-backslash-escaped URLs
- Added https://ente.io -> BASE_URL replacement
- Version bump to 0.3.0
2025-10-21 19:58:39 -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
801ae12029 Auto-configure CLI endpoint 2025-09-30 09:34:25 -06:00
2ccc6bd65c Persist Museum configuration for manual edits 2025-09-29 22:36:37 -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
760a4ba44a Remove OTT log highlighter 2025-09-29 21:26:21 -06:00
5d62c2de4f Document S3 examples and refresh template 2025-09-29 21:18:19 -06:00
65717243a5 Allow runtime S3 configuration overrides 2025-09-29 20:59:57 -06:00
8f94e35bf5 Fix SPA asset routing for web apps 2025-09-29 20:47:07 -06:00
3785b3b4d1 Force rebuild: Update asset routing with version bump 2025-08-01 14:02:07 -06:00
7b1c28a8c9 Bump version to 0.1.81 for asset routing fix 2025-08-01 13:56:09 -06:00
762d594e80 Fix static asset routing for all web apps
- Add specific _next asset routes for accounts, auth, cast apps
- Add image asset routes for each app
- Ensure each app's assets are served from correct directory
- Keep photos app routing unchanged

Should fix accounts/auth/cast apps loading issues.
2025-08-01 13:55:53 -06:00
0f80f13d50 Resolve merge conflicts with updated version 0.1.79 2025-08-01 13:46:59 -06:00
e60248cf80 Fix API endpoint configuration and domain references
- Change NEXT_PUBLIC_ENTE_ENDPOINT to relative /api for domain flexibility
- Remove runtime JS endpoint replacement (fragile, now unnecessary)
- Fix all domain references to use CLOUDRON_APP_DOMAIN consistently
- Add /ping health check endpoint to Caddy configuration
- Update placeholder server to use dynamic domain

Photos app now working, other apps may need additional fixes.
2025-08-01 13:46:17 -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
c688f894d8 Remove large ente-source directory to fix build uploads 2025-07-25 19:47:47 -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
c4c674b4d0 Fix static asset routing and path handling for auth/accounts/cast apps
- Fixed Next.js static asset (_next/*) routing for each app separately
- Updated app path handling to work with both /app and /app/* patterns
- Resolved 404 errors for static assets from auth, accounts, and cast apps
- Updated to version 0.1.66
2025-07-25 11:12:27 -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
94dac7a7b3 Add OTP email monitor to handle Museum skipped emails
- Implement comprehensive OTP email monitoring service
- Monitor Museum logs for "Skipping sending email" pattern
- Send verification emails using Cloudron email addon
- Add specific regex pattern for Museum's skip email format
- Version bump to 0.1.62

The monitor captures OTP codes from logs when Museum skips sending
emails and sends them via Cloudron's email system. This ensures
users receive their verification codes even when Museum's email
configuration is not sending directly.
2025-07-22 12:27:44 -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
9f89dd330f Fix S3 configuration - set are_local_buckets to true
- Changed are_local_buckets from false to true (required for external S3)
- Simplified S3 configuration to only use b2-eu-cen bucket
- Removed unnecessary replication buckets for single bucket setup

This aligns with Ente's documentation where are_local_buckets=true
is used for external S3 services like Wasabi.
2025-07-21 20:44:19 -06:00
89fd59f6a3 Hardcode Wasabi S3 configuration with proper Ente format
- Remove dynamic S3 configuration loading
- Hardcode Wasabi credentials as requested
- Use proper Ente S3 configuration format with datacenter names
- Configure all three storage buckets (b2-eu-cen, wasabi-eu-central-2-v3, scw-eu-fr-v3)
- Set are_local_buckets to false for external S3
- Add compliance flag for Wasabi bucket

This should fix the MissingRegion error by properly configuring S3 storage
according to Ente's expected format.
2025-07-21 20:41:58 -06:00
435a0568b4 Update CloudronManifest version to 1.0.1
Increment version after multiple iterations of S3 configuration fixes and port conflict resolution.
2025-07-21 20:37:07 -06:00
b849e1d41a Fix port conflict between Museum server and Caddy
- Changed Museum server to run on port 8080 instead of 3080
- Updated all health check URLs to use port 8080
- Updated Caddy reverse proxy to forward API requests to port 8080
- Added clarifying comment about port usage

This resolves the circular reference where both Caddy and Museum were trying to use port 3080.
2025-07-21 17:18:51 -06:00
7986a0a58b Complete rewrite of Ente Cloudron app with cleaner architecture 2025-03-20 17:52:23 +01:00
5abfa15d93 Fix syntax error in validate_binary function 2025-03-20 17:38:20 +01:00
af89daf278 Fix Museum binary validation and add Node.js fallback server 2025-03-20 17:29:12 +01:00
f2116a5dbf Remove Node.js placeholder server completely and use actual Museum server 2025-03-20 17:14:12 +01:00
fbfcb82f2c Enhance Node.js placeholder server with more API endpoints and improve user experience 2025-03-20 17:07:47 +01:00
c5f631043b Fix Museum server binary issues using Docker approach 2025-03-20 16:35:30 +01:00
f267b44f63 Fix Museum server binary issues and add Node.js fallback 2025-03-20 16:19:31 +01:00
ec0950463b Replace Node.js placeholder with actual Museum server 2025-03-20 16:10:30 +01:00
321556f611 Fix infinite loop and implement reliable Node.js placeholder server 2025-03-20 16:03:16 +01:00
58a6d329be Fix infinite loop and implement reliable Node.js placeholder server 2025-03-20 15:59:51 +01:00
8fe05f6c47 Fix Go build environment and frontend URLs 2025-03-20 15:52:35 +01:00
20fe2bc96f Fix GitHub download URLs and implement placeholder server on port 3080 2025-03-20 15:41:24 +01:00
415be71ecf Fix GitHub download issues and provide fallback servers 2025-03-20 15:37:05 +01:00