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

Docker compatility for Raspberry Pi 4 ? (linux/arm64/v8) #10

Open
Tchiimy opened this issue Jul 22, 2023 · 7 comments
Open

Docker compatility for Raspberry Pi 4 ? (linux/arm64/v8) #10

Tchiimy opened this issue Jul 22, 2023 · 7 comments

Comments

@Tchiimy
Copy link

Tchiimy commented Jul 22, 2023

Hello,

I've just found out about your project and I wanted to give it a try and host it on my raspberry pi 4 NAS.

While running the docker I got:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 9b9887fb0e7d5603acfec01bc36f05d9263e0db27d5c9798f62a4eff08b4dcf4

If I understood the system is runnning with httpd which seems to be compatible with the arm64v8 . Do you think it could be possible to make the docker available for this architecture ? Or is there something I could try to solve this problem ?

Or could I use the Nextcloud on my NAS as a Webdav for hosting ?

I really like the idea of yout project by the way !

@MakisChristou
Copy link
Owner

Hello Tchiimy, from what you are saying, it seems like that docker image I used in the example is only available for x86. You are right, you could use nextcloud or run webdav without docker (you could use Apache directly for example). Just google Webdav Raspberry Pi and you should find plenty of ways to do it.

@Tchiimy
Copy link
Author

Tchiimy commented Jul 23, 2023

Hello Tchiimy, from what you are saying, it seems like that docker image I used in the example is only available for x86. You are right, you could use nextcloud or run webdav without docker (you could use Apache directly for example). Just google Webdav Raspberry Pi and you should find plenty of ways to do it.

Okay I tried to use the webdav from Nextcloud and I got:

javax.net.ssl.SSL.HandshakeExecption: java.security.cert.CertPathValidatorException

I suppose this is linked with SSL certificate, but I don't have this on my setup. In general I use the option "ignore the certificate" on some apps but I don't know if it's the case for this one ?

@MakisChristou
Copy link
Owner

There is no “ignore the certificate” option in Verifit so maybe you can use an http link instead or get a valid certificate for your nextcloud instance.

@Tchiimy
Copy link
Author

Tchiimy commented Jul 23, 2023

There is no “ignore the certificate” option in Verifit so maybe you can use an http link instead or get a valid certificate for your nextcloud instance.

I see ! I'm running Nextcloud with a docker on a Raspberry Pi locally (I access it via VPN) so it's not published on internet (because I don't really need to). And I don't really have the knowledge to setup a SSL certificate on a nextcloud docker container.

Maybe something to do with the verifit\src\main\java\com\example\verifit\webdav\CheckWebdavThread.java that I coudl try to play with ?

@Tchiimy
Copy link
Author

Tchiimy commented Jul 23, 2023

There is no “ignore the certificate” option in Verifit so maybe you can use an http link instead or get a valid certificate for your nextcloud instance.

I see ! I'm running Nextcloud with a docker on a Raspberry Pi locally (I access it via VPN) so it's not published on internet (because I don't really need to). And I don't really have the knowledge to setup a SSL certificate on a nextcloud docker container.

Maybe something to do with the verifit\src\main\java\com\example\verifit\webdav\CheckWebdavThread.java that I coudl try to play with ?

Okay I may have found a solution:

  • I use the autoupload function of the nextcloud app to send the manually exported data from verifit app to my NAS

@MakisChristou
Copy link
Owner

Ideally (if Sardine supports it of course) I should add an "ignore certificate" option. But I am not actively working on Verifit at the moment so cannot promise anything.

@Tchiimy
Copy link
Author

Tchiimy commented Jul 23, 2023

Ideally (if Sardine supports it of course) I should add an "ignore certificate" option. But I am not actively working on Verifit at the moment so cannot promise anything.

Totally understandable ! The apps still seem really cool so I'm happy to give it a try like this ! : )

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