Posts by kekec888

    You missed the space between the dot . and the /etc/default/openmediavault. You typed ./etc/default/openmediavault, not . /etc/default/openmediavault.


    Greetings

    David

    Hmm im pretty sure thats not the case..

    This is the output from the script with the space:
    /etc/default/openmediavault: line 1: This: command not found


    and this is the output with no space:
    ./FixIFrameOMV.sh: line 8: ./etc/default/openmediavault: No such file or directory

    Strange?

    My omv 5 (ssh/root) give me this:

    /etc/default/openmediavault: line 1: This: command not found

    I har the same problem

    My hdd was film because off the logs


    Deleted them but still had a cache error

    Then i realised that /etc/default/openmediavault file was corrupted.

    Replaced that, now everything's working

    Thanks for fast reply :)


    The apt-get install --reinstall openmediavault gives me this:

    E: Internal Error, No file name for openmediavault:amd64

    and i have installed omv5 on a new virtual machine to get the file BUT something stood out to me:

    OMV_CONFIGOBJECT_NEW_UUID="xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx"

    Will this giv a problem?

    Hallo forum i need some help!


    I had breakdown and somehow my /etc/default/openmediavault is deleted
    So WEBGUI doesnt work and have an error with this service openmediavault-engined.service


    Is there anyway to repiar or reinstall this part?


    If resetperms is not working aswell , then an other option is to edit the openmediavault config file in here:
    /etc/openmediavault/config.xml

    just search for the shared folder name and delete the lines like this: (my sharedfolder name is vip)



    <sharedfolder>

    <uuid>XXX</uuid>

    <name>vip</name>

    <comment/>

    <mntentref>XXX</mntentref>

    <reldirpath>vip/</reldirpath>

    <privileges/>

    </sharedfolder>

    I had the same problem where NETWORK was greyed out - and the resolution for me was in here:
    RE: About the version of Cockpit

    I updated cockpit and all cockpit related from here manually:
    http://ftp.us.debian.org/debian/pool/main/c/cockpit/

    to get installed version of cockpit , use cmd:
    dpkg -l | grep cockpit

    and here is the output:


    dpkg -l | grep cockpit

    ii cockpit 188-1 all Web Console for Linux servers

    ii cockpit-bridge 217-1~bpo10+1 amd64 Cockpit bridge server-side component

    ii cockpit-docker 214-1 all Cockpit user interface for Docker containers

    ii cockpit-machines 215-1 all Cockpit user interface for virtual machines

    ii cockpit-packagekit 215-1 all Cockpit user interface for packages

    ii cockpit-storaged 215-1 all Cockpit user interface for storage

    ii cockpit-system 188-1 all Cockpit admin interface for a system

    ii cockpit-ws 217-1~bpo10+1 amd64 Cockpit Web Service

    Hmm can you access the omv with ssh?
    if you can try to run omv-firstaid and maybe reinitilize network?
    Kernel issue? - i think there was a kernel update on the last updates...
    Maybe choose an old kernel to start up with and see if that will fix the issues?

    Hi Forum - i really need u help
    I just upgraded to OMV5 and thought i could update a couple docker container with it.
    So my setup is that i have a bunch of container that i want to run through Traefik V2 and i want ALL my container to get and IP adr. from my router...


    So here comes the trouble ..


    Can that be done?


    Basic info for my system
    OMV5= 192.168.1.100
    Subnet=1 92.168.1.0/24
    gateway= 192.168.1.1


    I have tried to create a macvlan docker network (called it DockerNet)


    docker network create -d macvlan --subnet=192.168.1.0/24 --gateway=192.168.1.1 -o parent=eno1 DockerNet



    but when i compose (docker-compose up -d)
    ---------------------------------
    docker-compose.yml file:
    version: '3'


    services:


    traefik:
    image: "traefik:v2.1"
    container_name: "traefik"
    hostname: "traefik"
    env_file:
    - .env
    ports:
    - "80:80"
    - "443:443"
    - "8080:8080"
    volumes:
    - "/var/run/docker.sock:/var/run/docker.sock:ro"
    - "/sharedfolders/docker/config/traefikv2/traefik.yml:/traefik.yml:ro"
    - "/sharedfolders/docker/config/traefikv2/acme.json:/acme.json"
    labels:
    - "traefik.enable=true"
    - "traefik.http.services.traefik.loadbalancer.server.port=8080"
    ## DNS CHALLENGE
    # - "traefik.http.routers.traefik.tls.certresolver=lets-encr" # Not sure if this should be commented out
    # - "traefik.http.routers.traefik.tls.domains[0].main=*.$MY_DOMAIN" # Not sure if this should be commented out
    # - "traefik.http.routers.traefik.tls.domains[0].sans=$MY_DOMAIN" # Not sure if this should be commented out
    ## HTTP REDIRECT
    - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https"
    - "traefik.http.routers.redirect-https.rule=hostregexp(`{host:.+}`)"
    - "traefik.http.routers.redirect-https.entrypoints=web"
    - "traefik.http.routers.redirect-https.middlewares=redirect-to-https"


    networks:
    default:
    external:
    name: $DEFAULT_NETWORK
    ---------------------------------
    .env file:
    MY_DOMAIN=XXXXXXXXX
    DEFAULT_NETWORK=DockerNet



    And the last file:
    ---------------------------------
    Traefik.yml file:
    ## STATIC CONFIGURATION
    log:
    level: DEBUG


    api:
    insecure: true
    dashboard: true


    entryPoints:
    web:
    address: ":80"
    websecure:
    address: ":443"


    providers:
    docker:
    endpoint: "unix:///var/run/docker.sock"
    exposedByDefault: false


    certificatesResolvers:
    lets-encr:
    acme:
    storage: acme.json
    email: XXXXXXXXXXXXXX
    httpChallenge:
    entryPoint: web



    If i missed anything please reply/ write so i can provide


    thanks in advise :)

    Hallo forum


    i have created a docker-compose.yml that contains image: nginx:latest and image: php:7.3-fpm.
    So 2 containers is been created with traefik label / proxy..


    This works perfecly...


    I also have mapped :
    /var/run/docker.sock
    /usr/bin/docker
    /usr/lib/x86_64-linux-gnu/libsqlite3.so.0


    so i can use docker cmd insite the nginx container, this works perfect aswell..
    So here comes the issue:


    I need to to install visudo in the container, BUT i noticed i cannot use 'apt-get update' or anything with 'apt-get' thats a HUGE problem


    I have tried a couple days now and tried everything in my mind to resolve this..
    I have tried to install any other containers (both behind traefik proxy network and the host) nothing changes..


    the error i get is :



    apt-get update
    Err:1 http://repo.mysql.com/apt/debian stretch InRelease
    Temporary failure resolving 'repo.mysql.com'
    Err:2 http://deb.debian.org/debian stretch InRelease
    Temporary failure resolving 'deb.debian.org'
    Err:3 http://security.debian.org/debian-security stretch/updates InRelease
    Temporary failure resolving 'security.debian.org'
    Err:4 http://deb.debian.org/debian stretch-updates InRelease
    Temporary failure resolving 'deb.debian.org'
    Reading package lists... Done
    W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease Temporary failure resolving 'deb.debian.org'
    W: Failed to fetch http://security.debian.org/deb…stretch/updates/InRelease Temporary failure resolving 'security.debian.org'
    W: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/InRelease Temporary failure resolving 'deb.debian.org'
    W: Failed to fetch http://repo.mysql.com/apt/debian/dists/stretch/InRelease Temporary failure resolving 'repo.mysql.com'
    W: Some index files failed to download. They have been ignored, or old ones used instead.


    And some of my containers cant even find 'apt-get'


    So please help me , any inputs is appreciated...


    *All my containers is pull from images / git