Problems occur when installing the git version

Everything related to development of the jamovi platform
Post Reply
victorlim
Posts: 3
Joined: Thu Jun 30, 2022 3:13 am

Problems occur when installing the git version

Post 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
User avatar
jonathon
Posts: 2752
Joined: Fri Jan 27, 2017 10:04 am

Re: Problems occur when installing the git version

Post by jonathon »

hi victor,

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

jonathon
victorlim
Posts: 3
Joined: Thu Jun 30, 2022 3:13 am

Re: Problems occur when installing the git version

Post 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
User avatar
jonathon
Posts: 2752
Joined: Fri Jan 27, 2017 10:04 am

Re: Problems occur when installing the git version

Post 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
victorlim
Posts: 3
Joined: Thu Jun 30, 2022 3:13 am

Re: Problems occur when installing the git version

Post 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
Post Reply