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

I clone the git i can face the issues Ethernal Run successfully frontened and backend so the result can show so data fatching loader Fetching the data that Data does not show #268

Open
MuneebAhamd opened this issue Aug 1, 2023 · 16 comments

Comments

@MuneebAhamd
Copy link

Screenshot from 2023-08-01 19-42-02
i can use this documentation of ethernal So frontenend and backenend run Successfyully But data does not show and loader loading the data I think i face the issues of env file You can send the Sample env files you can used the ethernal code

@MuneebAhamd
Copy link
Author

Screenshot from 2023-08-01 19-57-01

So you can see the iisues and how can solve this issues

@antoinedc
Copy link
Member

Hi,

One of the current constraints to self host is that you need to use a domain name and access the app through app.yourdomain.com.
For a local deployment, you can add an entry to your /etc/hosts file like this:
127.0.0.01 app.ethernal.local, and then access it through app.ethernal.local:8080

Don't forget to set APP_URL/VUE_APP_MAIN_DOMAIN in the env file accordingly

@MuneebAhamd
Copy link
Author

Screenshot from 2023-08-02 14-45-15
Someone Explain the issues and how can solve the isssues

@MuneebAhamd
Copy link
Author

Hi,

One of the current constraints to self host is that you need to use a domain name and access the app through app.yourdomain.com. For a local deployment, you can add an entry to your /etc/hosts file like this: 127.0.0.01 app.ethernal.local, and then access it through app.ethernal.local:8080

Don't forget to set APP_URL/VUE_APP_MAIN_DOMAIN in the env file accordingly

you sugguestion apply the code but problem does not solve

@antoinedc
Copy link
Member

Can you take a look at the console? it might be an adblocker preventing requests to localhost

@MuneebAhamd
Copy link
Author

i already allowed the localhost from addblocker, still getting 404
image

@antoinedc
Copy link
Member

It should request http://app.ethernal.local:8080/api, I'm not sure where this undefined is coming from.
What did you set APP_URL to?

@MuneebAhamd
Copy link
Author

APP_URL=app.ethernal.local

can you provide the documentation to setup the repo?

@antoinedc
Copy link
Member

antoinedc commented Aug 2, 2023

Can you put APP_URL=app.ethernal.local:8080?

The doc is here: https://doc.tryethernal.com/getting-started/self-hosted

@MuneebAhamd
Copy link
Author

Can you put APP_URL=app.ethernal.local:8080?

The doc is here: https://doc.tryethernal.com/getting-started/self-hosted

you can send me sample env.development run/.env/ file

@MuneebAhamd
Copy link
Author

Can be possible to send the sample env file like env.development and run/env

@antoinedc
Copy link
Member

antoinedc commented Aug 3, 2023 via email

@MuneebAhamd MuneebAhamd closed this as not planned Won't fix, can't repro, duplicate, stale Aug 3, 2023
@MuneebAhamd MuneebAhamd reopened this Aug 3, 2023
@MuneebAhamd
Copy link
Author

I use the env docs and follow the selfhost docs but show these issues
Screenshot from 2023-08-03 18-56-37
Screenshot from 2023-08-03 18-52-56

@MuneebAhamd
Copy link
Author

you share the env file i think some data missing of this file like this VUE_APP_API_ROOT and some other data missing So you can share the exact env file so you can continue the work

@MuneebAhamd
Copy link
Author

The sample env file is on the doc page

________________________________ From: MuneebAhmad @.> Sent: Thursday, August 3, 2023 3:45:07 PM To: tryethernal/ethernal @.> Cc: Antoine @.>; Comment @.> Subject: Re: [tryethernal/ethernal] I clone the git i can face the issues Ethernal Run successfully frontened and backend so the result can show so data fatching loader Fetching the data that Data does not show (Issue #268) Can be possible to send the sample env file like env.development and run/env — Reply to this email directly, view it on GitHub<#268 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAKEFI57PBKSWFWOPJPOB4LXTOTOHANCNFSM6AAAAAA274J4LM. You are receiving this because you commented.Message ID: @.***>

I show the some issues sir you can guide me to continue the work

@antoinedc
Copy link
Member

You don't need VUE_APP_API_ROOT, you should run docker-compose.prod.yml with only .env.prod, you don't need a .env.development file

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