I'm planning to but UPS and I'd like to setup OMV7 to shutdown gracefully after power is off.
What UPS model should I pay attention or what interfaces (rj-45, usb) must UPS support to be compatibility with f.ex. NUT plugin?
I'm planning to but UPS and I'd like to setup OMV7 to shutdown gracefully after power is off.
What UPS model should I pay attention or what interfaces (rj-45, usb) must UPS support to be compatibility with f.ex. NUT plugin?
Try this:
sensors coretemp-isa-0000 | awk '$1 == "Package" { print $4 }' | grep -o '[0-9.]\+' | sed 's/\.//'
root@nas:~# sensors coretemp-isa-0000 | awk '$1 == "Package" { print $4 }' | grep -o '[0-9.]\+' | sed 's/\.//'
310
Try this:
Not working.
May be sensors coretemp-isa-0000 | awk '$1 == "Core" { print $3 }' | grep -o '[0-9.]\+' | sed 's/\.//'
?
Post the output of lmsensors in your case.
root@nas:~# sensors
acpitz-acpi-0
Adapter: ACPI interface
temp1: +16.8°C (crit = +20.8°C)
temp2: +27.8°C (crit = +105.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +32.0°C (high = +80.0°C, crit = +100.0°C)
Core 0: +30.0°C (high = +80.0°C, crit = +100.0°C)
Core 1: +28.0°C (high = +80.0°C, crit = +100.0°C)
Core 2: +28.0°C (high = +80.0°C, crit = +100.0°C)
Core 3: +29.0°C (high = +80.0°C, crit = +100.0°C)
Please read: Guide - Custom cpu temp script for openmediavault-cputemp plugin
After following guide I've get Core 0 working but 1-3 shows same constant 16.8.
As I see I should fix rule "awk '$1 == "Core" && $2 == "0:" " for correct information about all cores?
There's no need. These files and folders are only for use by the plugin that runs with the root user. Since you should not modify those files manually you do not need anyone to be able to access those files.
If you configure a container to create a folder in those directories, such as the /config folder, there will be no problem either, because that folder will be created with the appropriate permissions for the appuser user. You don't need to modify anything.
Thank you but need some clarification.
If I set root\root for appdata folder.
Then created user appuser (that will be in users group) and share read\write access to folder appdata.
Then I run jellyfin with folder mapping ./config:/config.
Appuser will have access to folder ./appdata/jellyfin ?
I'm in setup docker compose plugin according to intructions fom OMV7 https://wiki.omv-extras.org/do…#nextcloud_aio_all_in_one.
I also pry into manual for OMV6 https://wiki.omv-extras.org/do…v6_plugins:docker_compose.
And I've noticed difference in field "Group of directories and files". It's "users" in OMV6 and "root" in OMV7.
What is common used?
ps. If I plan to create appuser according to instaruction and appuser will be in users group, so I should set fiels as "users"?
Hello.
I beginner in NAS and OMV.
Getting acquainted with OMV, I first installed NextCloud according to the instruction ([How-To] Nextcloud with swag (Letsencrypt) using OMV and docker-compose) from the forum, that is referred from everywhere here. There were some problems, but I solved them.
Then I tried another OS and decided to return to OMV. But in the process of studying the OS, I saw that many advise installing NextCloud as AIO and I found the official guide https://github.com/nextcloud/all-in-one.
Tell me, what method is more relevant to install now?
only* adds a current cpu temp dashboard widget
Where is this widget??? I installed plugin to omv 7 but cant find any temp info anywhere
can anyone help?
Need some help.
I made all actions step by step and get error in final step viewing swag logs.
I've .ddns.net dyn dns. Router is set to port forward 80\443\450 to nas 81\444\450 port
Help please.
docker compose:
version: "2"
services:
nextcloud:
image: ghcr.io/linuxserver/nextcloud
container_name: nextcloud
environment:
- PUID=1002 #change PUID if needed
- PGID=100 #change PGID if needed
- TZ=Europe/Berlin #change Time Zone if needed
volumes:
- /srv/dev-disk-by-uuid-5c204a65-6a30-4a36-8c58-9d0c77f8de2b/appdata/nextcloud/config:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
- /srv/dev-disk-by-uuid-5c204a65-6a30-4a36-8c58-9d0c77f8de2b/appdata/nextcloud/data:/data #/srv/dev-disk-by-label-disk1 needs to be adjusted
depends_on:
- mariadb
ports: # uncomment this and the next line if you want to bypass the proxy
- 450:443
restart: unless-stopped
mariadb:
image: ghcr.io/linuxserver/mariadb
container_name: nextclouddb
environment:
- PUID=1002 #change PUID if needed
- PGID=100 #change PGID if needed
- MYSQL_ROOT_PASSWORD=mariadbpassword #change password
- TZ=Europe/Berlin #Change Time Zone if needed
volumes:
- /srv/dev-disk-by-uuid-5c204a65-6a30-4a36-8c58-9d0c77f8de2b/appdata/nextclouddb:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
restart: unless-stopped
swag:
image: linuxserver/swag #swag is the replacement for letsencrypt (see link below)
container_name: swag
cap_add:
- NET_ADMIN
environment:
- PUID=1002 #change PUID if needed
- PGID=100 #change PGID if needed
- TZ=Europe/Berlin # change Time Zone if needed
- URL=vexample.ddns.net #insert your domain name - yourdomain.url
- SUBDOMAINS=www,
- VALIDATION=http
- EMAIL=vsexample@gmail.com # define email; required to renew certificate
volumes:
- /srv/dev-disk-by-uuid-5c204a65-6a30-4a36-8c58-9d0c77f8de2b/appdata/swag:/config #/srv/dev-disk-by-label-disk1 needs to be adjusted
ports:
- 444:443
- 81:80
restart: unless-stopped
Display More
config:
<?php
$CONFIG = array (
'datadirectory' => '/data',
'trusted_proxies' =>
array (
0 => 'swag',
),
'overwritewebroot' => '/nextcloud',
'overwrite.cli.url' => 'https://vexample.ddns.net/nextcloud',
'trusted_domains' =>
array (
0 => 'vexample.ddns.net:443',
),
);
Display More
Cert verification error log:
GID/UID
───────────────────────────────────────
User UID: 1002
User GID: 100
───────────────────────────────────────
Linuxserver.io version: 3.0.1-ls344
Build-date: 2024-12-14T03:34:30+00:00
───────────────────────────────────────
using keys found in /config/keys
Variables set:
PUID=1002
PGID=100
TZ=Europe/Berlin
URL=vexample.ddns.net
SUBDOMAINS=www,
EXTRA_DOMAINS=
ONLY_SUBDOMAINS=false
VALIDATION=http
CERTPROVIDER=
DNSPLUGIN=
EMAIL=vsexample@gmail.com
STAGING=
Using Let's Encrypt as the cert provider
SUBDOMAINS entered, processing
Sub-domains processed are: www.vexample.ddns.net
E-mail address entered: vsexample@gmail.com
http validation is selected
Generating new certificate
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for vexample.ddns.net and www.vexample.ddns.net
Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
Domain: vexample.ddns.net
Type: connection
Detail: example: Fetching http://vexample.ddns.net/.well-known/acme-challenge/WfLKra9H5fPggnTbhv1WuhUF4wcgSKK0DQs7c8qYVgY: Connection refused
Domain: www.vexample.ddns.net
Type: dns
Detail: DNS problem: NXDOMAIN looking up A for www.vexample.ddns.net - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for www.vexample.ddns.net - check that a DNS record exists for this domain
Hint: The Certificate Authority failed to download the challenge files from the temporary standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
ERROR: Cert does not exist! Please see the validation error above. The issue may be due to incorrect dns or port forwarding settings. Please fix your settings and recreate the container
Display More
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
38991613fab7 ghcr.io/linuxserver/nextcloud "/init" 53 minutes ago Up 53 minutes 80/tcp, 0.0.0.0:450->443/tcp, [::]:450->443/tcp nextcloud
475ab30ce7fb ghcr.io/linuxserver/mariadb "/init" 53 minutes ago Up 53 minutes 3306/tcp nextclouddb
89310c7ca9d7 linuxserver/swag "/init" 53 minutes ago Up 44 minutes 0.0.0.0:81->80/tcp, [::]:81->80/tcp, 0.0.0.0:444->443/tcp, [::]:444->443/tcp swag
try to telnet local host with OMV