NextCloud (AlmaLinux 8)

NextCloud (AlmaLinux 8)

  • OS: almalinux 8

Description

NextCloud is a data management software that provides a convenient way to store and share files, calendars, contacts, and other data in the cloud. It is based on open source and can be installed on a self-hosted server or used as a cloud service. NextCloud provides powerful security and user management features, allowing users to control their data and share it with others.

Software included

Package Version
NextCloud latest
Docker 3.20.10
Docker compose 2.12.2
containerd.io 1.6.10

Initial start of the service

This application uses Docker to provide faster startup of the adjacent software (NextCloud) and direct use. This eliminates the need to familiarize yourself with its specifics in terms of configuration and installation. To start working directly with the application, all you need to do is visit the IP address assigned to your virtual machine in your browser to access NextCloud.

Note: By default, NextCloud can be accessed directly by IP address. To start using NextCloud with your real domain, you must first point the domain in question to your IP address and change the settings for where NextCloud opens from through its admin panel.

Quick settings and frequently asked questions

  • Logging into the cloud service is done using an SSH key or password that you have specified.
  • Docker is installed as recommended by the official docker documentation.
  • The standard docker and docker compose commands are now available in this application.
  • When the virtual machine is first started, it takes a few minutes to start a Docker container containing NextCloud All-in-one
  • You can access your NextCloud application at https://:8080. Please note that you will need to complete the installation before you can use NextCloud. Follow the steps described in the initial setup. If you are creating a completely new installation, you will need to have your domain pointed to your virtual machine's IP address beforehand to complete the initial setup.

Working with Docker

The organization of this application is entirely done using Docker. In this way, we can provide you with ready-made applications faster. In addition, their configuration is more flexible and quite controllable. To be able to control this application, however, you need to know some basic Docker functionalities and features.

Restarting all services

Restarting the database and the Docker container that contains NextCloud itself, along with the rest of the software, can be done in two ways:

  1. By restarting the entire virtual machine
  2. Restarting the Docker containers, which is the faster option. To do this, access your machine via SSH, and run the following commands:
sudo su -
cd /opt/docker-nextcloud/
docker compose restart

Recreating Docker containers

Recreation of a docker container may be necessary if you've changed the configuration inside the docker-compose.yml file. If there are changes, please follow these steps:

cd /opt/docker-nextcloud/
docker compose stop
docker compose up -d

Checking the status of the Docker application

To check, you need to run the following commands:

sudo su -
docker ps -a

Please pay attention to the STATUS column. It should show how long the service has been running, for example Up X minutes. If the status is Restarting then you need to check what is wrong with the application. In such a case, you can check by following the application logs as follows:

  1. Get the application's name that you can see in the NAMES column from the output of the docker ps -a command. View the logs with the docker logs <NAME> command, where is the name of the container.