Posts by kekec888

    Hi all :)

    I have upgraded mu OMV5 to OMV6 and i must say , its so nice !

    But it seems I'm having trouble with my cockpit...
    In OMV5 there was a cockpit launch button but that's no where to be found in OMV6
    Cockpit is still running on port 9090 and i can access it...


    and i think iframe is not working either with Organizr , but thats maybe and another problem

    This worked perfecly :) thanks !

    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 :)