Closed Carla802 closed 1 year ago
@Carla802 Looks like it is working, you just need to run
make db_clear
since your database already has information in it.
Then you can run
make load_demo_data
Thank you for your quick response @mcoughlin !
I had already tried make db_clear, then make db_init and finally run & make load_demo_data, but it still wasn't working.
I just tried make db_clear, run and make load_demo_data and this error still appears :
Everything else seems to be working fine, I don't know what the problem is.
@Carla802 Ah yeah indeed. What does
make log
say at the same time? Looks like the gcn_events are giving particular issues.
Here are the logs when make load_demo_data fails :
@Carla802 But further up I assume there are failures (maybe)? Usually we see long stack traces.
No from what I see it is mostly warnings and other stuffs... The only weird message I see is the SQL one on the last screenshot :
@Carla802 super interesting... so what does the home page look like? I wonder if its a weird issue where you just run out of memory at some point.
Hi @Carla802 . Well at least SkyPortal does start up, so that's not too bad of a problem!
Out of curiosity. What happens if you re run make load_demo_data right after if failed? You will naturally see a bunch of errors saying that stuff already exists in the DB, but you might succeed in uploading the rest that failed the first time. (No you dont do any make db_clear or whatever in between, no restarting the app, just giving it a second to finish what it was doing an you rerun the command again)
@mcoughlin The home page of SkyPortal looks like this :
@Theodlz When I try to re run make load demo data after it failed, my logs look like this at the same time :
And the make load demo data fails again but this time with more listed files... 😢
I don't know what to try anymore...
Hi @Carla802 ! Sorry I didn't get the chance to look at your issue yet. I'll have a good luck at it in an hour from now!
@Carla802 and if you click on the google login?
Ok so. Looking at your first failure:
Second failure (when you do it again right after it failed, without restarting the app or anything):
Now, could you share with me your config? CPU, RAM, GPU, SSD, or HDD? Your setup too (VM, WSL, Proper Linux install aka Dual BOOT)
Last but not least, please discuss this with @Nayru12 and @ManonFlt which I talked with on Zoom today. They might be able to help you, especially Manon who successfully started SkyPortal.
Also, they need to share details about the tutorial (errors and missing steps) that I told them about.
Maybe we could find a day to have a quick zoom (sooner the better, tomorrow maybe?) so I can help you more easily?
@mcoughlin @Theodlz To respond to both of you, when I click on the google login of the home page, it changes to a complete blank page.
Then, for the second failure, it seems that the gcn_events and earthquake couldn't be added, as you can see here.
Here is my config : CPU : AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx 2.10 GHz Installed RAM : 8,00 Go (5,94 Go usable) GPU : AMD Radeon(TM) Vega 8 Graphics SSD : 117 Go and 19,6 Go free
I am running SkyPortal on a WSL(2).
Great to hear that you helped them finish the installation ! They told us about the zoom meeting but I wasn't available at 11am. I will explain my issue to them to see if they can help me. They also explained to us what was wrong about the Adding features tutorial.
Yes it would be great to have a quick meeting, maybe you will see more clearly my issue. Tomorrow morning sounds good to me ! At 11am (french time) ?
Sounds good to me @Carla802 . I'll send you a zoom link at 11AM.
Don't hesitate to tell others that need help to join
My SkyPortal is running and the make load demo data finally worked ! It was mostly a RAM issue, I increased it and now it is working again. Thanks again for all your help, I can move on to the tutorial now. 😄
Hi @Theodlz !
I know this issue is surprising because I completed the installation, but I now have a new problem. 😫 Looking at your response under @lydie10's last opened issue, I found out that we weren't supposed to clone the skyportal repository, but our own fork instead. However, as it was asked in the Setup tutorial,
I had cloned the skyportal repository and launched my local SkyPortal on it. Other members from the team are also concerned by this mistake. I then deleted my old clone and its virtual environment, and created a new one (of my fork this time).
I thought I simply had to redo the Launch steps to run SkyPortal on this new git clone, so that's what I did, but I now have errors occuring on the
make load_demo_data
command. However, themake run
andmake log
commands are working fine, and the Welcome page of SkyPortal is displayed on my localhost page.Here are my logs : log.zip
And here is the error I get when I run![image](https://user-images.githubusercontent.com/113369817/200071367-93860565-01a3-449c-92fb-4de6190976fa.png)
make load_demo_data
.It upsets me a little bit to struggle again on the installation, as I already had a functional SkyPortal on my old git clone, and I don't understand why it won't work on the new on...
I am really hoping you can help me with this error so I can get back as soon as possible at the Adding new features tutorial, which I was almost finished with !
Thank you for your help 🙏