Closed Nayru12 closed 1 year ago
Hi @Nayru12
This happens if the app cant be reached, meaning it probably isnt running properly.
Are you able to connect to it via the frontend, and did you monitor the logs when you ran make run
using make log
to see what was going on?
I think you might have not completed the "starting the app" part yet.
It was exactly what I was going to add in my Issue : when i run make run
using make log
, I obtain this error in the
make log
[17:29:54 app_3] Could not connect to migration manager on port [64501] [17:29:54 app_3] Database not migrated, or could not verify; trying again in 8s
Moreover, we saw with Céline and Laura that when I run service postgresql status
, I obtain "active (exited)",
postgre postgresql.service - PostgreSQL RDBMS Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor pr> Active: active (exited) since Wed 2022-10-26 16:42:49 EDT; 48min ago Main PID: 18873 (code=exited, status=0/SUCCESS)
This error is pretty irrelevant here. Its an error regarding the service used to migrate the db (when the db schema has changed and needs to be updated). We'll talk about that in the future, but it does not necessarily mean that your app has an issue connecting to the db (i have it all the time too, and it does not cause any issue).
Just send me a .zip of your logs so I can have a look at them.
I only had a quick look on my phone (not very practical lol) caus its late here, but actually your app did start correctly multiple times!
So I'm wondering why make load_demo_data isn't working for you.
Best thing would be to do some live debugging (on zoom) one of these days if the error persists.
Please dont forget to be patient. You can only run make load_demo_data WHILE the app the running ok? So run the app in a terminal, keep it open so to not kill the app , wait few minutes (anywhere between 2 and 5 depending on your pc) and run make load_demo_data in a seperate terminal.
If you still cant get it to work, please tell me when you would be available for a zoom call.
Good luck!
Hi @Nayru12, any updates/progress? Please have a look at other people's issues too (including closed issues, which are not shown by default but you can change that easily) as they might have ran into the same issues as you did.
Hi @Theodlz, I have tried several more times to get sp to work, but I'm still at the same point, even with the help of others. As you suggested last time, if it's ok with you, I would like to make a zoom call to help get things work. As I am on vacation, I am available every day of the week at any time.
Sure thing! What about tomorrow or this weekend during your morning in France? Maybe others need help too. If they do, please coordinate yourself with them so we can have a grouped call.
Thanks ! For the moment, Manon also wants to participate in the call and I am asking the others to see who is also interested !
Manon and I are both available this Saturday at 11 am FR time, is it good for you?
Yes @Nayru12 ! Sorry I didn't confirm here on git only during our meeting 2 days ago.
Is it still ok for you guys?
Hi @Theodlz, yes it is still ok for us ! :)
Hi @Nayru12 . Let me know when you make any progress. And also which option you choose in the end: WSL2 or DUAL BOOT (i recommend dual boot which your machine specs)
Hi @Theodlz. In the end, I choose WSL2.
Right now, I am the make db_init
command, but suddenly I have encoutered a new issue : my pip
command does not work anymore, I have the error : TypeError: deprecated() got an unexpected keyword argument name
https://github.com/aws/aws-cli/issues/7325
Looks like a pyOpenSSL issue.
You could try their suggestion:
pip uninstall pyOpenSSL
or similar? And see if you can get it to build?
Thank you Michael ! I tried it and it did not work (still the same Error)
Hmmm maybe @Theodlz has particular thoughts here. It's definitely a weird one!
I consistently get that error when my version of pip is inferior to the one required by SkyPortal. Please verify that you are in the virtualenv and yry upgrading pip. If that doesnt do the trick, delete your virtualenv and create a new one (it should be pretty quick).
If the error persists, please tell me and I'll do some more research in the morning.
That was the problem. I was in my virtualenv but my pip was not upgraded (and when I upgraded it I was not in my virtualenv...).
So, everything is working now ! I tried to run make load_demo_data
and also to change users and it works !
Thank you @Theodlz and Michael ! :) 🥳
(And for now, my computer seems to support quite well the demo version of sp : it doesn't lag at all with WSL unlike with the VM)
Hi ! :smiley:
I am currently still trying to install SkyPortal and I am stuck as the
make load_demo_data
part, which give me the error :expected HTTP 200, received 503. Trying again.
I haven't give up yet and it is a new error, so maybe I will find my answer by myself soon ahah.Otherwise, I didn't run into noticeable issues while following the beginning of the tutorial : I had a lot of errors at every step, but it was mostly packages that I didn't have on my computer and had to install.
Thank you for your help @Theodlz ! :fire: