Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install correctly Oro #5

Open
FabienSalles opened this issue Feb 20, 2021 · 2 comments
Open

Can't install correctly Oro #5

FabienSalles opened this issue Feb 20, 2021 · 2 comments

Comments

@FabienSalles
Copy link
Contributor

FabienSalles commented Feb 20, 2021

Hi,

I created a PR #4 with fixes but I have a last one that I can't solve :
When I try to access to the front controller with my browser wit the url locahost:8085 I'm redirected to the domain https://orocommerce.companyname.org/ that isn't accessible.
I added this domain in my /etc/hosts file but the problem is the same.

The application works fine in CLI with my fixes. I have logs with the redirection in nginx due to the index.php file but I don't understand what I have to do to use this domain.

Could you help me ?

@DRoppelt
Copy link

Not the maintainer, but I can tell you that the redirect happens based on what is configured within your database.

If you want to change it, you will have to change following values (and clear cache)

SELECT * FROM oro_config_value c WHERE text_value LIKE 'htt%'

oro_config_value

id config_id name section text_value object_value array_value type created_at updated_at
1 1 application_url oro_ui http://localhost:8080 Tjs= Tjs= scalar 2021-01-05 20:46:02 2021-01-05 20:46:24
5 1 url oro_website http://localhost:8080 Tjs= Tjs= scalar 2021-01-05 20:46:13 2021-01-05 20:46:36
6 1 secure_url oro_website http://localhost:8080 Tjs= Tjs= scalar 2021-01-05 20:46:13 2021-01-05 20:46:36

@FabienSalles
Copy link
Contributor Author

FabienSalles commented Feb 20, 2021

Thanks a lot !

I should have this domain at the beginning and the PostgreSQL database was never removed because of the volume in my docker-composer file :

volumes:
        - .docker/db:/var/lib/postgresql/data

I deleted the folder, created again the database with default hostname localhost and now I access to the app !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants