Page 1 of 1

Problems occur when installing the git version

Posted: Thu Jun 30, 2022 3:57 am
by victorlim
Hello,
I have tried installing the project by executing the following commands:

git clone https://github.com/jamovi/jamovi.git
cd jamovi
git submodule update --init --recursive
docker-compose build
once built, it can be run with:

docker-compose up
```
Then I received a popup window reads "Connection Fault"; when debugging, it turns out that when sending the web request, the root URL in the config file includes a port number "41337"; then when I request a URL combination, the request URL became 127.0.0.1:41337:41337
After that I switched to current-dev branch, here is what I got:
http://127.0.0.1:41337/modules/lsj-data?v=1.0.1.0 not found
http://127.0.0.1:41337/modules/r-datasets?v=1.0.1.0 not found
My question is, if I want to run it under current-dev branch, is there any other configurations that I might have missed?

When I tried switching to branch 2.2, and ran " docker-compose build", I found that /tmp/jmv-build couldn't be found in the jamovi/jamovi-deps:latest image, and it led to a building interruption.

Thank you so much for any reply!
Victor

Re: Problems occur when installing the git version

Posted: Thu Jun 30, 2022 4:04 am
by jonathon
hi victor,

it sounds like you have jamovi running correctly. you can ignore the 'not found' messages.

jonathon

Re: Problems occur when installing the git version

Posted: Tue Jul 05, 2022 8:56 am
by victorlim
Hiļ¼ŒJonathon
Thank you for your reply, but unfortunately it seemed that I am still having trouble running the project. And here is what I encountered:
Image
Image
Image

Thank you so much for your attention.
Victor

Re: Problems occur when installing the git version

Posted: Tue Jul 05, 2022 10:18 am
by jonathon
hi victor,

that dockerfile looks old to me ... notice line 4:

FROM ubuntu:20.04 as intermediate

compare that to the version in current-dev: https://github.com/jamovi/jamovi/blob/current-dev/docker/jamovi-Dockerfile#L2

FROM ubuntu:22.04 AS base

i think you must be building from an old branch.

jonathon

Re: Problems occur when installing the git version

Posted: Fri Jul 08, 2022 6:35 am
by victorlim
Hi Jonathon,
I have tried building from the current-dev, and the problems never emerged, everything works fine now, thank you so much!
Victor