empiricaly / empirica

Open source project to tackle the problem of long development cycles required to produce software to conduct multi-participant and real-time human experiments online.
https://empirica.ly/
Apache License 2.0
47 stars 8 forks source link

Trouble starting bundle on server -- ERR context: global scopeID not fetched: [GraphQL] Cannot query field "ephemeral" on type "Attribute" #573

Closed collinskatie closed 3 months ago

collinskatie commented 3 months ago

Is there an existing issue for this?

What happened?

Hi, I am trying to start our project bundle from an AWS EC2 instance; however, receive the following error when runningempirica start

ERR context: global scopeID not fetched: [GraphQL] Cannot query field "ephemeral" on type "Attribute"

We have tried re-curling empirica on the server.

Steps To Reproduce

Running

empirica serve [bundle]

on AWS EC2 instance

After having run:

curl -fsS https://install.empirica.dev/ | sh

Empirica Version

v1.11.4 on both the server and local machine where we bundled the project

What OS are you seeing the problem on?

Linux

What browser are you seeing the problem on?

Does not apply

Relevant log output

ERR context: global scopeID not fetched: [GraphQL] Cannot query field "ephemeral" on type "Attribute"

Anything else?

Thanks for any help!

Code of Conduct

npaton commented 3 months ago

This should not be possible, as this error indicates the server does not know the field called ephemeral. If the server is up to date, it has the field ephemeral.

Are you maybe using Docker to deploy your experiment? If so, you need to upgrade it too.

collinskatie commented 3 months ago

Ah! Interesting. The server may have been referencing an earlier version then? I had installed an older version previously [though did update]. I'm not using Docker.

For expedience, I just created a new EC2 instance and installed a fresh empirica there. Serving now works!! Thanks!