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

Add support for ARM64 #28

Closed
7 of 9 tasks
Tracked by #127
szaimen opened this issue Dec 2, 2021 · 25 comments · Fixed by #167
Closed
7 of 9 tasks
Tracked by #127

Add support for ARM64 #28

szaimen opened this issue Dec 2, 2021 · 25 comments · Fixed by #167
Labels
2. developing Work in progress enhancement New feature or request mid term

Comments

@szaimen
Copy link
Collaborator

szaimen commented Dec 2, 2021

@szaimen szaimen added 1. to develop Accepted and waiting to be taken care of enhancement New feature or request long term labels Dec 2, 2021
@szaimen szaimen changed the title Add support for ARM Add support for ARM64 Dec 2, 2021
@szaimen szaimen pinned this issue Dec 3, 2021
@szaimen szaimen added 2. developing Work in progress mid term and removed 1. to develop Accepted and waiting to be taken care of long term labels Dec 4, 2021
@bandi13

This comment has been minimized.

@szaimen

This comment has been minimized.

@szaimen
Copy link
Collaborator Author

szaimen commented Jan 19, 2022

Hi there 👋,

we now build containers for arm64, too. If you have a board with an arm64 OS, you should be able to test this now using this command:

# Install docker
curl -fsSL get.docker.com | sudo sh

# Run the container
sudo docker run -it \
--name nextcloud-aio-mastercontainer \
--restart always \
-p 80:80 \
-p 8080:8080 \
-p 8443:8443 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
nextcloud/all-in-one:develop-arm64

It wasn't tested yet but in theory everything should work out of the box. Please report back if there are issues or if everything works. Thank you! :)

@thisIsTheFoxe

This comment has been minimized.

@szaimen

This comment has been minimized.

@szaimen

This comment has been minimized.

@thisIsTheFoxe

This comment has been minimized.

@szaimen

This comment has been minimized.

@szaimen

This comment has been minimized.

@szaimen

This comment has been minimized.

@thisIsTheFoxe

This comment has been minimized.

@szaimen

This comment has been minimized.

@szaimen

This comment has been minimized.

@szaimen

This comment has been minimized.

@mrtnd

This comment has been minimized.

@szaimen
Copy link
Collaborator Author

szaimen commented Jan 21, 2022

Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: POST http://localhost/v1.41/networks/create resulted in a 409 Conflict response: {"message":"network with name nextcloud-aio already exists"}

Hello, Thanks for your report! This should be fixed with #159.
Please try again by pulling the latest image (sudo docker pull nextcloud/all-in-one:develop-arm64) and running the command above again! :)

@thisIsTheFoxe

This comment has been minimized.

@szaimen

This comment has been minimized.

@MariusQuabeck
Copy link

Just tested this on my RPi 4, runs as expected!

@szaimen
Copy link
Collaborator Author

szaimen commented Jan 24, 2022

Hi there 👋

I just published the containers from develop-arm64 to latest-arm64!

You can switch to the new channel without data-loss by running:

# Stop current mastercontainer
sudo docker stop nextcloud-aio-mastercontainer

# Delete current mastercontainer
sudo docker rm nexcloud-aio-mastercontainer

# Recreate mastercontainer with latest-arm64 channel
sudo docker run -it \
--name nextcloud-aio-mastercontainer \
--restart always \
-p 80:80 \
-p 8080:8080 \
-p 8443:8443 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
nextcloud/all-in-one:latest-arm64

@szaimen szaimen unpinned this issue Jan 24, 2022
@mrtnd
Copy link

mrtnd commented Feb 11, 2022

Hi i know that the issue is closed but just wanted to ask one Question. Can i avoid the step where i need to type in a DOMAIN. I just want to use the server locally and don't need anything but the IP? Is that possible? I tried to access the server using the following:
https://IP:PORT/settings/admin/overview
but i get the this Error:

Fatal error: Uncaught Slim\Exception\HttpNotFoundException: Not found. in /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php:91 Stack trace: #0 /var/www/docker-aio/php/vendor/slim/slim/Slim/Routing/RouteRunner.php(72): Slim\Middleware\RoutingMiddleware->performRouting(Object(GuzzleHttp\Psr7\ServerRequest)) #1 /var/www/docker-aio/php/vendor/slim/csrf/src/Guard.php(456): Slim\Routing\RouteRunner->handle(Object(GuzzleHttp\Psr7\ServerRequest)) #2 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(209): Slim\Csrf\Guard->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Slim\Routing\RouteRunner)) #3 /var/www/docker-aio/php/vendor/slim/twig-view/src/TwigMiddleware.php(115): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest)) #4 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(147): Slim\Views\TwigMiddleware->process(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #5 /var/www/docker-aio/php/src/Middleware/AuthMiddleware.php(38): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest)) #6 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(313): AIO\Middleware\AuthMiddleware->__invoke(Object(GuzzleHttp\Psr7\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous)) #7 /var/www/docker-aio/php/vendor/slim/slim/Slim/MiddlewareDispatcher.php(81): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(GuzzleHttp\Psr7\ServerRequest)) #8 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(215): Slim\MiddlewareDispatcher->handle(Object(GuzzleHttp\Psr7\ServerRequest)) #9 /var/www/docker-aio/php/vendor/slim/slim/Slim/App.php(199): Slim\App->handle(Object(GuzzleHttp\Psr7\ServerRequest)) #10 /var/www/docker-aio/php/public/index.php(144): Slim\App->run() #11 {main} thrown in /var/www/docker-aio/php/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php on line 91

Am i doing something wrong?

@szaimen
Copy link
Collaborator Author

szaimen commented Feb 11, 2022

hello, running aio without a domain is not supported.

@mrtnd
Copy link

mrtnd commented Feb 11, 2022

hello, running aio without a domain is not supported.

Good to know. Is that going to be supported some time in the future?

@szaimen
Copy link
Collaborator Author

szaimen commented Feb 11, 2022

Good to know. Is that going to be supported some time in the future?

No. The closest you will get is being able to use your own reverse proxy but you will need a domain in that case too.

@mrtnd
Copy link

mrtnd commented Feb 11, 2022

All right. Thanks again for the quick reply.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2. developing Work in progress enhancement New feature or request mid term
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants