Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On M1/M2 Mac, Exception while deploying the app [dataverse] : Filesystem WatchService is unavailable #85

Open
pdurbin opened this issue Apr 13, 2023 · 5 comments

Comments

@pdurbin
Copy link
Member

pdurbin commented Apr 13, 2023

I just cloned the repo (I'm on 8319b3d) and ran bash ./demostart.sh but the war file failed to deploy with the following error:

[#|2023-04-12T22:07:36.424+0000ESC[1;93m|WARNING|ESC[0mPayara 5.2021.1|ESC[1;94mfish.payara.boot.runtime.BootCommand|ESC[0m_ThreadID=1;_ThreadName=main;_TimeMillis=1681337256424;_LevelValue=900;|
Boot Command deploy failed PlainTextActionReporterFAILUREDescription: deploy AdminCommandError occurred during deployment: Exception while deploying the app [dataverse] : Filesystem WatchService is unavailable. Please see server.log for more details.
[name=dataverse
|#]

Here is the full log: logs.txt

I'm on an M2 Apple chip and these issues seem related:

@kitchenprinzessin3880
Copy link

same here (i am using Mac M1) have you managed to get the docker container running?

@pdurbin
Copy link
Member Author

pdurbin commented Jun 12, 2023

@kitchenprinzessin3880 nope but I was just hanging out with @4tikhonov and @poikilotherm at #dataverse2023 and I'm hoping we can switch dataverse-docker to the M1/M2-friendly images described here some day: https://preview.guides.gdcc.io/en/develop/container/app-image.html (note especially the "Processor Architecture and Multiarch" section).

@kitchenprinzessin3880 for now maybe you could give this a try: https://preview.guides.gdcc.io/en/develop/container/dev-usage.html

More info at https://ct.gdcc.io

@kitchenprinzessin3880
Copy link

@pdurbin fab! I will test it today..thanks ;)

@kitchenprinzessin3880
Copy link

@pdurbin I can run the instance now locally. however, i am getting two errors

  1. dev_bootstrap> 2023-06-14T03:13:31Z ERR Expectation failed error="failed to establish an http connection, caused by: Get "http://dataverse:8080/api/info/version\": dial tcp: lookup dataverse on 127.0.0.11:53: no such host" address=http://dataverse:8080/api/info/version
  2. when i upload the logo - Caused by: java.nio.file.AccessDeniedException: /opt/payara/../docroot. i check the container, the docroot folder is not created.

any idea?

@pdurbin
Copy link
Member Author

pdurbin commented Jun 15, 2023

@kitchenprinzessin3880 hi! Thanks for testing! The first error is probably just an annoyance. It's just the bootstrap container checking if Dataverse is up yet (over and over again). Then it does its thing. You're welcome to create an issue about this if you like, in the main repo: https://github.com/IQSS/dataverse/issues

The second issue is very real. These containers are still under development! Please feel free to create an issue about this too, also in the other repo. (Update: for now I started this thread: https://dataverse.zulipchat.com/#narrow/stream/375812-containers/topic/collection.20logos.2C.20AccessDeniedException)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants