Posts by harold.mouras

    It worked, I did shutdown the NAS and now, this is not working anymore.....curious.


    The swag logs when not working are :


    Dear all,

    I had a working SWAG container (through a duckdns domain) that worked and and interfaced with heimdall that allowed to run all my applications. However, since several days, when going to my duckdns domain adress, this point to the OMV GUI login page. The heimdall subdomains settings do not work any more and any trial to go any subdomain still point the OMV GUI login page. I just updated OMV and this did not work anymore.

    Should I reinstall swag or anything else ?

    Thanks,

    Harold

    To precise my problem. WHen I do specify a folder in the Synctrhing of my OMV NAS with a path like/config/folder, this seems to make the synchronization. When I map the folder like /photos-telephone, i get an error messages like the one attached.

    However, my stack is:

    version: "2.1"

    services:

    syncthing:

    image: lscr.io/linuxserver/syncthing:latest

    container_name: syncthing

    hostname: syncthing #optional

    environment:

    - PUID=998

    - PGID=100

    - TZ=Europe/Paris

    volumes:

    - /srv/dev-disk-by-uuid-92231eb7-e8d7-49e4-8445-0aaa5c450b26/config/syncthing:/config

    - /srv/dev-disk-by-uuid-92231eb7-e8d7-49e4-8445-0aaa5c450b26/Perso:/data1

    - /srv/dev-disk-by-uuid-92231eb7-e8d7-49e4-8445-0aaa5c450b26/Photos:/photos

    - /srv/dev-disk-by-uuid-92231eb7-e8d7-49e4-8445-0aaa5c450b26/Films:/films

    - /srv/dev-disk-by-uuid-a4573920-1223-409f-95b0-eb4903d28617/photos-import/photos-telephone:/photos-telephone


    ports:

    - 8384:8384

    - 22000:22000/tcp

    - 22000:22000/udp

    - 21027:21027/udp

    restart: unless-stopped


    I specified the relative path to the /photos-telephone


    What is the problem ?

    Thanks,

    Harold

    TO follow-up with this thread, would that be possible to synchronize a folder of the OMV NAS with a folder of a Synology NAS. As my Synology NAS doees't allow to install docker on it, I think this is not possible to install Syncthing on it. Therefore, I wanted to set this synchronization on a computer that would run syncthing by specifying thee path of the Synology NAS on the computer and making a parterneshop with the Syncthing instance running on OMV. Does it sound possible ?

    Thanks,

    Harold

    Hello,

    I am using emby to watch online one film. I uploaded subtitles in the same folder than the film, but emby does seem to recognize the presence of the .srt subtitle file. Is there a way to help emby to point on a specific file for the subtitles ?

    Thank you very much in advance,

    Best,

    Harold

    Thank you for your response. I would prefer verify before breaking everything :)

    Here is the stack of the working SWAG:


    ---

    version: "2.1"

    services:

    swag:

    image: lscr.io/linuxserver/swag:latest

    container_name: swag

    cap_add:

    - NET_ADMIN

    environment:

    - PUID=998

    - PGID=100

    - TZ=Europe/Paris

    - URL=MYDOMAIN11.duckdns.org

    - VALIDATION=duckdns

    - SUBDOMAINS=wildcard

    - DUCKDNSTOKEN=TOKEN1

    - EMAIL= email1

    volumes:

    - /srv/dev-disk-by-uuid-a4573920-1223-409f-95b0-eb4903d28617/appdata/swag:/config

    ports:

    - 443:443

    #- 80:80 #optional

    restart: unless-stopped


    What should I add in that using MYDOMAIN2 and TOKEN2 ?


    Thanks, Harold

    Dear all,

    I have a maybe silly question. Assuming I have a computer with a clean swag server (listening the port 443 if I understand well for any https request pointing on my box), could I get a second computer running swag on the same network for managing the containers on this second computer.

    I understood that this possible to access by internet two different OMV6 servers by the solution through the duckdns container by opening the two different OMV ports on my box. But with swag, any https request two the box will go only on one swag server, no ?

    Thank you very much,

    Harold

    Hello,

    I have an OMV6 NAS on which I succeded in instaling swag, being able to point at the different applications by application.my-domain.duck.org.

    I would like to add authelia to create a welcome page with all the applications reachable through swag.

    Following a tutorial, I edited my (working) swag stack adding the authelia part, but it does not update correctly.

    Here is the stack :


    ---

    version: "2.1"

    services:

    swag:

    image: lscr.io/linuxserver/swag:latest

    container_name: swag

    cap_add:

    - NET_ADMIN

    environment:

    - PUID=998

    - PGID=100

    - TZ=Europe/Paris

    - URL=my-domain.duckdns.org

    - VALIDATION=duckdns

    - SUBDOMAINS=wildcard

    - DUCKDNSTOKEN=a

    - EMAIL=mail #optional

    volumes:

    - /srv/dev-disk-by-uuid-92231eb7-e8d7-49e4-8445-0aaa5c450b26/config/swag:/config

    ports:

    - 443:443

    restart: unless-stopped


    authelia:

    image: authelia/authelia

    container name: authelia

    environment:

    - TZ=Europe/Paris

    volumes:

    - /srv/dev-disk-by-uuid-92231eb7-e8d7-49e4-8445-0aaa5c450b26/config/authelia

    restart: unless-stopped


    Do you see something wrong ? It tells the attached error message


    What did I do wrong ?


    Thank you,

    Harold

    Re,

    I restarted from the begining. At the step entering https://collabora.mydomain.duckdns.org, I first had a security adversitsement, then accepting as indicated in the tuto, but instead of OK, had the NextcloudHub page already logged.

    I went then to NextCloud, signed in as an admin, installed Nextcloud Office, created a Templates folder, went on my picture under personal, but have no Office subfolder under personal, but only one under "Administration".

    In this menu, I entered the option to get a personal Collabora server but have a red cross saying that this is impossible to have the connection with the collabora server with or without adding :9980 for the port at the end of https://collabora.mydomain.duckdns.org

    I don't understand what II did wrong.

    Hello,

    I am trying to mount from OMV6 an heatlhy RAID system, but get the following error message why applying the modifications :

    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': debian:

    ----------

    ID: create_filesystem_mountpoint_a00e9227-8eed-4bc0-a447-cc81d5b186c0

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_filesystem_mountpoint_a00e9227-8eed-4bc0-a447-cc81d5b186c0 for file /etc/fstab was charged by text

    Started: 15:09:30.586892

    Duration: 1.802 ms

    Changes:

    ----------

    ID: mount_filesystem_mountpoint_a00e9227-8eed-4bc0-a447-cc81d5b186c0

    Function: mount.mounted

    Name: /srv/dev-disk-by-uuid-d06d884c-fbb3-4355-9d24-47077e9b641f

    Result: True

    Comment: Target was already mounted

    Started: 15:09:30.589877

    Duration: 421.6 ms

    Changes:

    ----------

    umount:

    Forced remount because options (user_xattr) changed

    ----------

    ID: create_filesystem_mountpoint_94bd925c-576f-430c-ab2f-5a671fb0bb26

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_filesystem_mountpoint_94bd925c-576f-430c-ab2f-5a671fb0bb26 for file /etc/fstab was charged by text

    Started: 15:09:31.011994

    Duration: 2.919 ms

    Changes:

    ----------

    ID: mount_filesystem_mountpoint_94bd925c-576f-430c-ab2f-5a671fb0bb26

    Function: mount.mounted

    Name: /srv/dev-disk-by-uuid-216a5dbc-fe2a-4be6-8079-1dd04d22e5cc

    Result: False

    Comment: mount: /srv/dev-disk-by-uuid-216a5dbc-fe2a-4be6-8079-1dd04d22e5cc: mount(2) system call failed: Structure needs cleaning.

    Started: 15:09:31.015233

    Duration: 62.368 ms

    Changes:

    ----------

    ID: append_fstab_entries

    Function: file.blockreplace

    Name: /etc/fstab

    Result: True

    Comment: Changes were made

    Started: 15:09:31.079646

    Duration: 11.951 ms

    Changes:

    ----------

    diff:

    ---

    +++

    @@ -14,4 +14,5 @@

    UUID=9068e1f5-6b7e-483b-83d2-ec9f1b563d6a none swap sw 0 0

    # >>> [openmediavault]

    /dev/disk/by-uuid/d06d884c-fbb3-4355-9d24-47077e9b641f /srv/dev-disk-by-uuid-d06d884c-fbb3-4355-9d24-47077e9b641f ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2

    +/dev/disk/by-uuid/216a5dbc-fe2a-4be6-8079-1dd04d22e5cc /srv/dev-disk-by-uuid-216a5dbc-fe2a-4be6-8079-1dd04d22e5cc ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2

    # <<< [openmediavault]


    Summary for debian

    ------------

    Succeeded: 4 (changed=2)

    Failed: 1

    ------------

    Total states run: 5

    Total run time: 500.640 ms


    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': debian:

    ----------

    ID: create_filesystem_mountpoint_a00e9227-8eed-4bc0-a447-cc81d5b186c0

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_filesystem_mountpoint_a00e9227-8eed-4bc0-a447-cc81d5b186c0 for file /etc/fstab was charged by text

    Started: 15:09:30.586892

    Duration: 1.802 ms

    Changes:

    ----------

    ID: mount_filesystem_mountpoint_a00e9227-8eed-4bc0-a447-cc81d5b186c0

    Function: mount.mounted

    Name: /srv/dev-disk-by-uuid-d06d884c-fbb3-4355-9d24-47077e9b641f

    Result: True

    Comment: Target was already mounted

    Started: 15:09:30.589877

    Duration: 421.6 ms

    Changes:

    ----------

    umount:

    Forced remount because options (user_xattr) changed

    ----------

    ID: create_filesystem_mountpoint_94bd925c-576f-430c-ab2f-5a671fb0bb26

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_filesystem_mountpoint_94bd925c-576f-430c-ab2f-5a671fb0bb26 for file /etc/fstab was charged by text

    Started: 15:09:31.011994

    Duration: 2.919 ms

    Changes:

    ----------

    ID: mount_filesystem_mountpoint_94bd925c-576f-430c-ab2f-5a671fb0bb26

    Function: mount.mounted

    Name: /srv/dev-disk-by-uuid-216a5dbc-fe2a-4be6-8079-1dd04d22e5cc

    Result: False

    Comment: mount: /srv/dev-disk-by-uuid-216a5dbc-fe2a-4be6-8079-1dd04d22e5cc: mount(2) system call failed: Structure needs cleaning.

    Started: 15:09:31.015233

    Duration: 62.368 ms

    Changes:

    ----------

    ID: append_fstab_entries

    Function: file.blockreplace

    Name: /etc/fstab

    Result: True

    Comment: Changes were made

    Started: 15:09:31.079646

    Duration: 11.951 ms

    Changes:

    ----------

    diff:

    ---

    +++

    @@ -14,4 +14,5 @@

    UUID=9068e1f5-6b7e-483b-83d2-ec9f1b563d6a none swap sw 0 0

    # >>> [openmediavault]

    /dev/disk/by-uuid/d06d884c-fbb3-4355-9d24-47077e9b641f /srv/dev-disk-by-uuid-d06d884c-fbb3-4355-9d24-47077e9b641f ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2

    +/dev/disk/by-uuid/216a5dbc-fe2a-4be6-8079-1dd04d22e5cc /srv/dev-disk-by-uuid-216a5dbc-fe2a-4be6-8079-1dd04d22e5cc ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2

    # <<< [openmediavault]


    Summary for debian

    ------------

    Succeeded: 4 (changed=2)

    Failed: 1

    ------------

    Total states run: 5

    Total run time: 500.640 ms in /usr/share/php/openmediavault/system/process.inc:220

    Stack trace:

    #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()



    #1 /usr/share/openmediavault/engined/rpc/config.inc(174): OMV\Engine\Module\ServiceAbstract->deploy()

    #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)

    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)

    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(619): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusXq...', '/tmp/bgoutputbb...')

    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))

    #7 /usr/share/openmediavault/engined/rpc/config.inc(195): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)

    #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)

    #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)

    #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)

    #12 {main}



    What is this ?

    Thanks,


    Harold

    Dear all,

    I would like to ask some questions about things I don ot understand with drives and folders:

    - when you create a shared folder in OMV GUi and do a share through SMB after, the folder does appear in the Finder of any computer on the network. If you then create a subfolder into this folder from the finder, the subfolder is visible on the computer, but not reachable from OMV GUI as share folder, why ?

    - if you format a HD from OMV GUI, there is still the list of the shared folders you created. This list is not updated. How to clean all these old shared folders for not having them listed as "missing" ?

    Thank you very much iun advance,

    Best,

    Harold