Beiträge von ywgf88
-
-
-
-
try this: https://codebeautify.org/yaml-validator
Or put the code in a code box. This forum does not support markdown.
I tried this tool and it displays valid,but I got same error when copy them into stack of portainer.
I think portainer does not support "version: "2.1"", only support "version: "2""
-
This doesn't look right
I copy the code from here : cloudnas/clouddrive - Docker Image | Docker Hub
please help me to check it
-
Post the yml here inside a code box </>
----
version: "2.1"
services:
cloudnas:
image: cloudnas/clouddrive
container_name: clouddrive
volumes:
- /srv/dev-disk-by-id-scsi-1ATA_ST320LT007-9ZV142_W0Q5P5Y6-part1/omv-server/appdata/cloudnas/mnt:/CloudNAS:shared
- /srv/dev-disk-by-id-scsi-1ATA_ST320LT007-9ZV142_W0Q5P5Y6-part1/omv-server/appdata/cloudnas/config:/Config
devices:
- /dev/fuse:/dev/fuse
restart: unless-stopped
pid: "host"
privileged: true
network_mode: "host"
-
Maybe itis the screenshot only, but your double quotes look strange.
Try changing them to what is on your keyboard.
----
version: "2.1"
services:
cloudnas:
image: cloudnas/clouddrive
container_name: clouddrive
volumes:
- /srv/dev-disk-by-id-scsi-1ATA_ST320LT007-9ZV142_W0Q5P5Y6-part1/omv-server/appdata/cloudnas/mnt:/CloudNAS:shared
- /srv/dev-disk-by-id-scsi-1ATA_ST320LT007-9ZV142_W0Q5P5Y6-part1/omv-server/appdata/cloudnas/config:/Config
devices:
- /dev/fuse:/dev/fuse
restart: unless-stopped
pid: "host"
privileged: true
network_mode: "host" #if network_mode doesn't work, use port mapping
-
-
The question is what did ywgf88 install manually?
I am not sure which package installed by myself because of two days ago
-
No. I would remove it.
That is why I asked how OMV was installed. AppArmor is not installed when using the OMV ISO. And omv-extras installs docker from the docker repo which evidently doesn't have an app armor profile.
it works after re-installed it with OMV-iso, many thanks
So this might have happened by installing another packege wich has a dependeny on apparmor.
-
maybe I have to reinstall the omv 6
-
yes, I install it with the omv iso, I don't know why it is not installed, should I install apparmor by command :
apt install apparmor apparmor-utils auditd
-
after installed omv-extras, I tried to install portainer on website of OMV6 ,but it appears wrong as below :
how can I fix it ?
or I tried to install it in CLI
root@openmediavault-6:~# docker run -d -p 8000:8000 -p 9000:9000 --name portainer \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data \
cr.portainer.io/portainer/portainer-ce:2.9.3
Unable to find image 'cr.portainer.io/portainer/portainer-ce:2.9.3' locally
2.9.3: Pulling from portainer/portainer-ce
Digest: sha256:84676dfce8ab328e51990797cceff5131c1ff63c3a73f5ebf1397cad9aa42e3c
Status: Downloaded newer image for cr.portainer.io/portainer/portainer-ce:2.9.3
b7fbd6d5e5dff6bb6d8879607f871e2ddc90685ecd05e2624a347100ba6e53c0
docker: Error response from daemon: AppArmor enabled on system but the docker-default profile could not be loaded: running `apparmor_parser apparmor_parser --version` failed with output:
error: exec: "apparmor_parser": executable file not found in $PATH.
-
hello,
I have device which has 6 ports and installed OMV, but only use one port as communication port, the others are not using.
how can I use 6 ports as one to communicate with upstream server or client?
I saw there are several solution, but I don't know which one is best and how to config it ?
I tried to config it, but always show errors as attachments
please help.
BR
-
I changed a source of debian repos, but still this issue, could you give me right repos address :
deb http://ftp.debian.org/debian stable main contrib non-free
root@OMV5:~# apt-get install apt-transport-https dirmngr gnupg
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.8.2).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:The following packages have unmet dependencies:
gnupg : Depends: gpgv (< 2.2.12-1+deb10u1.1~) but 2.2.17-3~bpo10+2 is to be installed
E: Unable to correct problems, you have held broken packages. -
# deb cdrom:[Debian GNU/Linux 10 _Buster_ - Official Snapshot amd64 LIVE/INSTALL Binary 20190816-09:19]/ buster contrib main non-free
deb cdrom:[Debian GNU/Linux 10 _Buster_ - Official Snapshot amd64 LIVE/INSTALL Binary 20190816-09:19]/ buster contrib main non-free
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/debian-security buster/updates main contrib non-free
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/debian-security buster/updates main contrib non-free -
Get:7 http://cdn-fastly.deb.debian.org/debian buster-backports InRelease [46.7 kB]
Hit:9 http://packages.openmediavault.org/public usul InRelease
Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux 10 _Buster_ - Official Snapshot amd64 LIVE/INSTALL Binary 20190816-09:19] buster Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@OMV5:~# dpkg -l | grep openm
ii openmediavault 5.0.14-1 all openmediavault - The open network attached storage solution
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
rc openmediavault-omvextrasorg 5.1.4 all OMV-Extras.org Package Repositories for OpenMediaVault -
root@OMV5:~# apt-get install apt-transport-https dirmngr gnupg
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.8.2).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:The following packages have unmet dependencies:
dirmngr : Depends: gpgconf (= 2.2.17-3~bpo10+2) but it is not going to be installed
Depends: libassuan0 (>= 2.5.0) but it is not installable
Depends: libksba8 (>= 1.3.4) but it is not installable
Depends: libnpth0 (>= 0.90) but it is not installable
gnupg : Depends: gnupg-utils (< 2.2.17-3~bpo10+2.1~) but it is not going to be installed
Depends: gnupg-utils (>= 2.2.17-3~bpo10+2) but it is not going to be installed
Depends: gpg (< 2.2.17-3~bpo10+2.1~) but it is not going to be installed
Depends: gpg (>= 2.2.17-3~bpo10+2) but it is not going to be installed
Depends: gpg-agent (< 2.2.17-3~bpo10+2.1~) but it is not going to be installed
Depends: gpg-agent (>= 2.2.17-3~bpo10+2) but it is not going to be installed
Depends: gpg-wks-client (< 2.2.17-3~bpo10+2.1~) but it is not going to be installed
Depends: gpg-wks-client (>= 2.2.17-3~bpo10+2) but it is not going to be installed
Depends: gpg-wks-server (< 2.2.17-3~bpo10+2.1~) but it is not going to be installed
Depends: gpg-wks-server (>= 2.2.17-3~bpo10+2) but it is not going to be installed
Depends: gpgsm (< 2.2.17-3~bpo10+2.1~) but it is not going to be installed
Depends: gpgsm (>= 2.2.17-3~bpo10+2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages. -
please check the output which two pic
-
I cleared the browser cache, but no help
the output is :
root@OMV5:~# dpkg -l | grep openm
ii openmediavault 5.0.14-1 all openmediavault - The open network attached storage solution
ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
rc openmediavault-omvextrasorg 5.1.4 all OMV-Extras.org Package Repositories for OpenMediaVault