You need to open port 8000 as well, if you ever plan to use the agent or the extended API.
I needed to set the port 9443 and then used OMV again after reconfiguring Portrainer.
You need to open port 8000 as well, if you ever plan to use the agent or the extended API.
I needed to set the port 9443 and then used OMV again after reconfiguring Portrainer.
Yes, I was able to solve it...
Did the following steps:
1.
2.
3.
docker run -d -p 9443:9443 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce
Went into the WebUI and turned off force ssl.
The problem here was, that the port for SSL is not active within OMV Extras. Will this be changed? It only maps the ports 8000:8000 and 9000:9000 but not 9443:9443.
Maybe can be added in further releases.
How are you accessing your server?
The name of the error message (at least in chrtome) is misleading. it may well be that you are talking to a non existing server / port.
Internal IP adress, everything else is working, also the containers, but not portrainer over the same port like before.
So it has to do witht he force SSL and I try now to find the config, where it is located to turn off the force ssl.
Output of docker container ls
Hello all together,
I changed today the ssl setting to force ssl without giving any kind of certificates to it.
Now I can't access it anymore and always getting an website timeout "ERR_CONNECTION_REFUSED".
I used to install it via OMV and tried to remove it and reinstall it again - no luck, still can't access it.
Any chance to change to config? I was not able to find it somewhere for portrainer and have no luck in accessing it ![]()
Thanks,
Well... It was like 99% of cases the problem in front of the configuration page... I set the opening ports on the wrong device, now its working ![]()
I used the QR Code.
Thanks!
Btw.: is there any kind of usefull good GUI for Wireguard?
Hello,
I just installed WIreguard and struggeling already a few hours with Wireguard installation via Portainer. I can connect to Wireguard, but get no internet back from my VPN/can't browse any webpages.
Thats the config:
This is my Stack
---
version: "2.1"
services:
wireguard:
image: linuxserver/wireguard
container_name: wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=1000
- PGID=100
- TZ=Europe/Berlin
- SERVERURL=server.dyndns.com #optional
- SERVERPORT=51820 #optional
- PEERS=1 #optional
- PEERDNS=auto #optional
- INTERNAL_SUBNET=10.13.13.0 #optional
- ALLOWEDIPS=0.0.0.0/0 #optional
volumes:
- /home/docker/.config/wireguard/config:/config
- /lib/modules:/lib/modules
ports:
- 51820:51820/udp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
restart: unless-stopped
Display More
This is my wg0 conf:
[Interface]
Address = 10.13.13.1
ListenPort = 51820
PrivateKey = (secrect)
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
[Peer]
# peer1
PublicKey = (secrect)
AllowedIPs = 10.13.13.2/32
Display More
Thats the log from portainer:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support the app dev(s) visit:
WireGuard: https://www.wireguard.com/donations/
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1000
User gid: 100
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-module: executing...
Uname info: Linux 2767275b64bf 5.10.0-0.bpo.8-amd64 #1 SMP Debian 5.10.46-4~bpo10+1 (2021-08-07) x86_64 x86_64 x86_64 GNU/Linux
**** It seems the wireguard module is already active. Skipping kernel header install and module compilation. ****
[cont-init.d] 30-module: exited 0.
[cont-init.d] 40-confs: executing...
**** Server mode is selected ****
**** External server address is set to server.dyndns.com ****
**** External server port is set to 51820. Make sure that port is properly forwarded to port 51820 inside this container ****
**** Internal subnet is set to 10.13.13.0 ****
**** AllowedIPs for peers 0.0.0.0/0 ****
**** PEERDNS var is either not set or is set to "auto", setting peer DNS to 10.13.13.1 to use wireguard docker host's DNS. ****
**** Server mode is selected ****
**** Server related environment variables changed, regenerating 1 server and 1 peer/client confs ****
PEER 1 QR code:
[cont-init.d] 40-confs: exited 0.
[cont-init.d] 90-custom-folders: executing...
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.13.13.1 dev wg0
.:53
CoreDNS-1.8.6
linux/amd64, go1.17.1, 13a9191
[#] ip link set mtu 1420 up dev wg0
[#] ip -4 route add 10.13.13.2/32 dev wg0
[#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Display More
I can't see any errors in there, can you do?
Thanks in advanced ![]()
Hello together,
after I had some problems from upgrading 3.x to 4.x I thought why not an fresh install.
I tried to install OMV 4.X from an USB Stick to my SSD. But I always get an error at the "one or more drives found" installation screen. After that I get an "deb/sda1" can't get mounted to "/"..... Offset Error 3584 bytes.
Then: "Do you want to format the drive" I click on yes, but it won't get me into the partition menu.
Are you able to help me?
With an normal Debian 9 Installation all is going well and I can get into the partition menu.
Anwsers in german or english ![]()
Thank you for your help,
----------------------------
Guten Morgen,
ich versuche seit Ewigkeiten OMV 4 zum laufe zu bringen.
Doch leider erhalte ich immer wieder eine Offset startet bei 3584 bytes Fehlermeldung:
Wenn ich auf "Ja" klicke komme ich keinen Schritt weiter. Kann mir jemand helfe?
Eine Debian 9 Installation geht ohne Probleme durch.
Viele Grüße
Have you searched the forum? There are some threads about RAIDs which are not auto-detected after an upgrade.
I think in most cases the RAID had to be assembled from the CLI for the first time.
Looks like my GPT ist damaged and I need to rebuild the whole RAID.
Hello folks,
I upgraded a few days ago from OMV 3.* to OMV 4.
But now I can't mount anymore my RAID10. Do you have any sugesstions?
Error of sudo mount /dev/md0 /srv/dev-disk-by-label-Raid10
sudo mount /dev/md0 /srv/dev-disk-by-label-Raid10
mount: /dev/md0: more filesystems detected. This should not happen,
use -t <type> to explicitly specify the filesystem type or
use wipefs(8) to clean up the device.
This is the blkid output:
root@NAS-Server:~# blkid
/dev/sdc: UUID="10ee0e11-06f4-bdcc-2402-7b704ab53d25" UUID_SUB="01cdd2a3-b86b-691b-a213-b5ca3cbd878c" LABEL="NAS-Server:RAID10" TYPE="linux_raid_member"
/dev/sdb: UUID="10ee0e11-06f4-bdcc-2402-7b704ab53d25" UUID_SUB="48c7850e-4c34-6651-7bb2-8224c4062565" LABEL="NAS-Server:RAID10" TYPE="linux_raid_member"
/dev/sda1: UUID="0a228258-4d3a-4cfe-b87e-b837f4f19183" TYPE="ext4" PARTUUID="c66cdb84-01"
/dev/sda5: UUID="b3c59904-4ca4-49f1-80c1-ec4998c43471" TYPE="swap" PARTUUID="c66cdb84-05"
/dev/sde: UUID="10ee0e11-06f4-bdcc-2402-7b704ab53d25" UUID_SUB="2c0c01de-3547-50aa-d14c-b77b426ae2a7" LABEL="NAS-Server:RAID10" TYPE="linux_raid_member"
/dev/sdd: UUID="10ee0e11-06f4-bdcc-2402-7b704ab53d25" UUID_SUB="ba632853-5ba6-3b24-b0f0-245c66d33fa8" LABEL="NAS-Server:RAID10" TYPE="linux_raid_member"
root@NAS-Server:~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid10 sdd[4] sde[0] sdb[3] sdc[2]
15627790336 blocks super 1.2 512K chunks 2 near-copies [4/4] [UUUU]
bitmap: 0/117 pages [0KB], 65536KB chunk
unused devices: <none>
Output of: sudo mdadm --detail /dev/md0
sudo mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Tue Oct 3 13:04:58 2017
Raid Level : raid10
Array Size : 15627790336 (14903.82 GiB 16002.86 GB)
Used Dev Size : 7813895168 (7451.91 GiB 8001.43 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Sat Mar 17 08:45:06 2018
State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Layout : near=2
Chunk Size : 512K
Name : NAS-Server:RAID10 (local to host NAS-Server)
UUID : 10ee0e11:06f4bdcc:24027b70:4ab53d25
Events : 16942
Number Major Minor RaidDevice State
0 8 64 0 active sync set-A /dev/sde
4 8 48 1 active sync set-B /dev/sdd
2 8 32 2 active sync set-A /dev/sdc
3 8 16 3 active sync set-B /dev/sdb
Display More
Should work, shouldn't it?
Would be awesome to get help!
Have a good day,
Still got the problem :s
Display MoreMost of that is a python bug and nothing to worry about. I would remove xrdp since the plugin isn't available in omv 4.x.
That is a problem since OMV uses nginx. I would remove apache.
I would try:omv-mkconf nginx
omv-mkconf php-fpm
systemctl restart nginx
systemctl restart php7.0-fpm
omv-release-upgrade shouldn't exist on OMV 4.x since there is no OMV 5.x. So, your system must be running OMV 4.x. What is the output of:
dpkg -l | grep openm
Thank you!!!! This did indeed help. I needed to remove apache and nginx did worked again ![]()
The only thing which does not yet work is my RAID. Somehow I can't mount it anymore?
This is the blkid output:
root@NAS-Server:~# blkid
/dev/sdc: UUID="10ee0e11-06f4-bdcc-2402-7b704ab53d25" UUID_SUB="01cdd2a3-b86b-691b-a213-b5ca3cbd878c" LABEL="NAS-Server:RAID10" TYPE="linux_raid_member"
/dev/sdb: UUID="10ee0e11-06f4-bdcc-2402-7b704ab53d25" UUID_SUB="48c7850e-4c34-6651-7bb2-8224c4062565" LABEL="NAS-Server:RAID10" TYPE="linux_raid_member"
/dev/sda1: UUID="0a228258-4d3a-4cfe-b87e-b837f4f19183" TYPE="ext4" PARTUUID="c66cdb84-01"
/dev/sda5: UUID="b3c59904-4ca4-49f1-80c1-ec4998c43471" TYPE="swap" PARTUUID="c66cdb84-05"
/dev/sdd: UUID="10ee0e11-06f4-bdcc-2402-7b704ab53d25" UUID_SUB="d939cc33-0157-cae7-2fa5-813087994cfe" LABEL="NAS-Server:RAID10" TYPE="linux_raid_member"
/dev/sde: UUID="10ee0e11-06f4-bdcc-2402-7b704ab53d25" UUID_SUB="2c0c01de-3547-50aa-d14c-b77b426ae2a7" LABEL="NAS-Server:RAID10" TYPE="linux_raid_member"
Should work, shouldn't it?
Hello folks,
I got an problem with OMV.
I updated from omv3 to omv4 with the usual upgrade command. After I upgraded I got the following error:
Fehler traten auf beim Bearbeiten von:
xrdp
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f33a70e4730>
Traceback (most recent call last):
File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f33a70e4730>
Traceback (most recent call last):
File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
E: Sub-process /usr/bin/dpkg returned an error code (1)
Display More
Apache is running. I can't access OMV throught the website. But the data is still there in www.
I also cant start the nginx server. It got an error:
collectd[977]: rrdcached plugin: Failed to connect to RRDCacheD at unix:/var/run/rrdcached.sock: Unable to connect to rrdcached: No such file or directory (status=2)
nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2018-03-15 14:39:10 CET; 12s ago
Docs: man:nginx(8)
Process: 15861 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Mär 15 14:39:10 NAS-Server systemd[1]: Starting A high performance web server and a reverse proxy server...
Mär 15 14:39:10 NAS-Server nginx[15861]: nginx: [emerg] invalid number of arguments in "listen" directive in /etc/nginx/sites-enabled/openmediavault-pxe:2
Mär 15 14:39:10 NAS-Server nginx[15861]: nginx: configuration file /etc/nginx/nginx.conf test failed
Mär 15 14:39:10 NAS-Server systemd[1]: nginx.service: Control process exited, code=exited status=1
Mär 15 14:39:10 NAS-Server systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Mär 15 14:39:10 NAS-Server systemd[1]: nginx.service: Unit entered failed state.
Mär 15 14:39:10 NAS-Server systemd[1]: nginx.service: Failed with result 'exit-code'.
Display More
Anything I can do? My OMV backup is pretty old and when I try to run any OMV command I get:
Can anybody help me? I dont know any further.
Good day,
Rayman
Re,
Wie hast du das gemacht/versucht?
DIrekt über das Webinterface gibt es einen Button. DIesne habe ich halt genutzt. SABNZBD war schon eingerichtet.
Doch leider gab es wohl einen Fehler und ich kann weder auf OMV noch auf das SABNZBD Interface drauf zugreifen. Kann mir wer helfen?
omv-firstaid ... stellt i.d.R. das Netzwerk wieder her, sodass der Zugriff auf die OMV-WebGUI wieder gegeben ist.
Sry, no time 4 english translation ...
Sc0rp
[/quote]
Das kommt:
ERROR: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr
/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf sabnzbd setsettings 2>&1'
with exit code '1': nginx: [emerg] invalid number of arguments in "proxy_set_hea
der" directive in /etc/nginx/openmediavault-webgui.d/sab.conf:4
EDIT:
Network repair brachte etwas.
Danke!
Hallo Liebe Community,
ich nutze OMV schon etwas länger. Nun wollte ich SABNZBD als http_proxy laufen lassen, sodass ich ohne Port aufs Webinterface drauf zugreifen kann.
Doch leider gab es wohl einen Fehler und ich kann weder auf OMV noch auf das SABNZBD Interface drauf zugreifen. Kann mir wer helfen? ![]()
Vielen Dank!
Hello,
I just configured SABNZBD with as using proxy_http.
After enabeling it and restarting the server I cant access anymore OMV, sabnzbd webpage etc.
Any idea where I can reverse these changes?