Skip to content

Applications

Davide Principi edited this page Nov 17, 2023 · 7 revisions

⚠️ ensure Testing repo is disabled

Nextcloud

  • Create a user, first.user in LDAP
  • Install, configure with LE certificate and bind to a user domain
  • Access Nextcloud as first.user

Check the application status page, see the app services

image

Run the Nextcloud CLI tool

runagent -m nextcloud2 occ status

NS8 node insight

Ref https://nethserver.github.io/ns8-core/modules/rootless_rootfull/#rootless-vs-rootfull

image

List module instances in local node 🤠

ls /home

List running modules

loginctl list-users

Module status

loginctl user-status nextcloud2

Emergency stop

loginctl terminate-user nextcloud2

Start module again

loginctl enable-linger nextcloud2

List of modules started at boot by Systemd (internals)

ls -1 /var/lib/systemd/linger

NS8 module insight

Enter the module environment

runagent -m nextcloud1 bash -l

Pre-RC way 🧓

ssh nextcloud1@localhost 
runagent bash -l

Module components, list Systemd service units

systemctl --user --type=service -q

List Podman images

podman images

List running Podman containers

podman ps

List Podman volumes

podman volume ls

List Podman pods

podman pod ls

System information, by Podman

podman system info

Execute a command in a running container

podman exec nextcloud-app cat /etc/os-release

Get an interactive shell (which one?)

podman exec -ti nextcloud-app sh -l

Logs

  • Cluster, Node, App filters
  • Substring search
  • Time range, lines limit
  • Follow

Command line interface

api-server-logs logs --help

For example

api-server-logs logs -e module -m tail -n nextcloud2

Mail

Webtop

  • Install and configure

Quiz

  • Why shall we use loginctl terminate-user and not loginctl disable-linger?
  • What are the steps required to run doveadm in Mail?

Q&A

🖐️ 🖐️ 🖐️