ethernal icon indicating copy to clipboard operation
ethernal copied to clipboard

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

Open MuneebAhamd opened this issue 1 year ago • 16 comments

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 avatar Aug 01 '23 14:08 MuneebAhamd

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

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

MuneebAhamd avatar Aug 01 '23 14:08 MuneebAhamd

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

antoinedc avatar Aug 01 '23 16:08 antoinedc

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

MuneebAhamd avatar Aug 02 '23 09:08 MuneebAhamd

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

MuneebAhamd avatar Aug 02 '23 09:08 MuneebAhamd

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

antoinedc avatar Aug 02 '23 09:08 antoinedc

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

MuneebAhamd avatar Aug 02 '23 10:08 MuneebAhamd

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?

antoinedc avatar Aug 02 '23 10:08 antoinedc

APP_URL=app.ethernal.local

can you provide the documentation to setup the repo?

MuneebAhamd avatar Aug 02 '23 11:08 MuneebAhamd

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

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

antoinedc avatar Aug 02 '23 19:08 antoinedc

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 avatar Aug 03 '23 05:08 MuneebAhamd

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

MuneebAhamd avatar Aug 03 '23 13:08 MuneebAhamd

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 GitHubhttps://github.com/tryethernal/ethernal/issues/268#issuecomment-1664012538, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAKEFI57PBKSWFWOPJPOB4LXTOTOHANCNFSM6AAAAAA274J4LM. You are receiving this because you commented.Message ID: @.***>

antoinedc avatar Aug 03 '23 13:08 antoinedc

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 avatar Aug 03 '23 14:08 MuneebAhamd

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 avatar Aug 03 '23 14:08 MuneebAhamd

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

MuneebAhamd avatar Aug 04 '23 05:08 MuneebAhamd

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

antoinedc avatar Aug 04 '23 07:08 antoinedc