Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ninja-forms domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the simple-custom-post-order domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-mail-logging domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the health-check domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the updraftplus domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rocket domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6114 How to Install the Nextcloud All-in-One on Linux - NextcloudSkip to main content
Are you a Linux user looking to install the Nextcloud All-in-One, or AIO, Docker image? In this blog, we walk you through the steps, just like we did in our last AIO Guide for Windows 10 & 11! 🎉
Nextcloud All-in-One is a Docker-based project which allows to install just one container that does the heavy lifting of creating and managing all containers needed for a full-blown Nextcloud installation. Nextcloud AIO not only provides easy deployment and maintenance of many Nextcloud features included, but you can also expect a user friendly interface, stress-free updates and a more simplistic approach for getting most features to work out-of-the-box.
Read on for a clear and easy to follow step-by-step guide for how to set up an AIO for a Linux PC sucessfully.
Guide for AIO on Linux
The following instructions are valid for a Linux PC (e.g. with Ubuntu 22.04 LTS) with at least 4GB of RAM and 2 cores.
You will need to obtain a public domain and be able to open ports for the guide to work properly. Make sure that you are not behind CGNAT as it will not work with that either.
In addition, please note that the instructions are for a setup without web server or reverse proxy (like Apache, Nginx, etc.) already being in place. If you want to run it behind a web server or reverse proxy, refer here.
Install Docker
Install Docker on your Linux installation by following the official documentation. The easiest way is installing it by using the convenience script:
curl -fsSL get.docker.com | sudo sh
2. If you need Ipv6 support, you should enable it by following the guide here.
Install AIO
3. Now, open the Terminal and start AIO with this command:
# For Linux and without a web server or reverse proxy (like Apache, Nginx and else) already in place:
sudo docker run \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 80:80 \
--publish 8080:8080 \
--publish 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
Note: You may be interested in adjusting Nextcloud’s datadir to store the files in a different location than the default docker volume. See this documentation on how to do it.
4. Next, you can open the AIO interface on https://localhost:8080 or https://the.servers.ip.address:8080. You need to accept the self-signed certificate, afterwards you should see this:
Alternatively, if port 80 and 8443 should be opened in your firewall/router and a domain is configured to point to your server, you can reach the AIO interface with a valid certificate using https://your-domain.com:8443.
5. Click on ‘Open Nextcloud AIO login’ and paste in your password:
6. Then, you should see the AIO interface:
7. Next, type in your public domain that you you’ve got before doing this guide. The interface should help you figuring out which are the exact steps. (Set up DDNS for your domain to point to your public IP, port-forward at least ports 443/tcp, 3478/udp and 3478/tcp to your Linux machine.
8. After you’ve set it up correctly, it should allow you to pass to the next step where you can configure wanted optional add-ons and the timezone and click on Start containers in order to download and start them.
9. At this point, you should see a spinner that will take a while depending on your internet speed ~ around 10min or more.
10. When all containers are downloaded and started, you will see this screen which shows the containers still starting which will do the first installation for you:
11. When everything is done, you should see this screen:
12. Finally you can now open your new Nextcloud instance and log in with the given admin credentials.
That’s it! Everything is set and ready for production! ✨
“When we have welcoming communities of contributors, open source software gets better and more useful to everyone.” Limor Fried, Electrical Engineer, Inventor and Founder of open-source hardware company Adafruit We believe in this ideal and love to work with our community. We are always looking to involve more people in Nextcloud, bringing in their ideas, […]
When cables are cut, sanctions are put in place or privacy legislation prohibits the use of the service your entire organization depends on, what can you do? Amidst geo-political changes, organizations face dependencies on large, centralized communication platforms. A major example of this is the SaaS-only communication platform Microsoft Teams. It is the only solution […]
We save some cookies to count visitors and make the site easier to use. This doesn't leave our server and isn't to track you personally!
See our Privacy Policy for more information. Customize
Statistics cookies collect information anonymously and help us understand how our visitors use our website. We use cloud-hosted Matomo
Matomo
_pk_ses*: Counts the first visit of the user
_pk_id*: Helps not to double count the visits.
mtm_cookie_consent: Remembers that consent for storing and using cookies was given by the user.
_pk_ses*: 30 minutes
_pk_id*: 28 days
mtm_cookie_consent: 30 days