#First User Creation Failure (CORS Issue?)

1 messages · Page 1 of 1 (latest)

solar lance
#

Hello,
I used the Quickstart script on a headless Linux container to install the server, and everything seems to be successful. However, once I attempt to log into the web application on port 3000 as the post-installation docs instruct, I receive the "Something went wrong" error. I have attached a screenshot of the browser console errors. Any advice would be great!

Some notes about my setup:

  • The server is setup on a headless container, meaning it is not possible to access http://localhost:3000
  • I only want local access to ente photos (no access to ente from the internet)
  • I have a local DNS domain, here listed as localdomain.lcl.
  • The IP address of the ente server has a local DNS record, meaning the ente IP address is accessible at ente.localdomain.lcl

In an attempt to solve the issue, I have attempted modifying the following in compose.yaml.

environment:
ENTE_API_ORIGIN: http://ente.localdomain.lcl:8080
ENTE_ALBUMS_ORIGIN: https://ente.localdomain.lcl:3002
ENTE_PHOTOS_ORIGIN: http://ente.localdomain.lcl:3000

winter quailBOT
#

It appears you're encountering a CORS issue when trying to create the first user. You can configure the origins in the compose.yaml file.

You'll need to modify the ENTE_API_ORIGIN, ENTE_ALBUMS_ORIGIN, and ENTE_PHOTOS_ORIGIN environment variables in your compose.yaml file to reflect your local DNS domain. For example:

environment:
      ENTE_API_ORIGIN: http://ente.localdomain.lcl:8080
      ENTE_ALBUMS_ORIGIN: http://ente.localdomain.lcl:3002
      ENTE_PHOTOS_ORIGIN: http://ente.localdomain.lcl:3000

You can find an example compose.yaml file at https://ente.io/help/self-hosting/guides/windows#docker-composeyaml.
-# If your issue is resolved, use </solved:1410327008973557843> to mark this thread as solved. Use </docsearch:1378409618417647708> if you want to ask something else.

Ente Help

A community guide with a Windows specific workflow for running the self-hosted version on Ente

solar lance
#

Solution was an issue with my smtp setup. Apparently if smtp port number is wrong, the entire user signup fails.

winter quailBOT
#

Solved. Auto closing <t:1767041350:R>.