Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
  • Jun 20 16:21
    fetherolfjd synchronize #532
  • Jun 19 09:22
    davestephens labeled #536
  • Jun 19 08:39
    davestephens closed #539
  • Jun 19 08:31
    TimJ0212 opened #539
  • Jun 19 07:57
    davestephens closed #537
  • Jun 19 07:53
    davestephens closed #538
  • Jun 18 20:41
    wmudge synchronize #538
  • Jun 18 20:40
    wmudge synchronize #537
  • Jun 18 20:37
    wmudge synchronize #536
  • Jun 18 20:35
    wmudge opened #538
  • Jun 18 20:32
    wmudge opened #537
  • Jun 18 20:28
    wmudge synchronize #536
  • Jun 18 20:22
    wmudge opened #536
  • Jun 18 00:18
    davestephens closed #222
  • Jun 18 00:17
    davestephens closed #453
  • Jun 18 00:15
    davestephens closed #533
  • Jun 18 00:14
    davestephens closed #431
  • Jun 18 00:14
    davestephens closed #448
  • Jun 18 00:03
    davestephens closed #400
  • Jun 18 00:01
    davestephens closed #489
I'm struggling to make a start, I am trying to setup the test VM, my host is windows 10 and I have Virtualbox, Vagrant and Git-Bash which I am trying to use to run the test setup scripts - tests/test-vagrant.sh. Is it even possible to set this up with a windows host? I have managed to get the Vagrant example Ubuntu 18.04 working in VBox I just don't know how to run these scripts, I have changed to the tests directory in Git Bash and tried to run the script but it's all guesswork. Would some kind person give me simple instructions how to setup the test VBox using windows. Thank you
Anatoly Popov
Hey, folks. I'm struggling with getting Influxdb and Grafana up and running. Grafana says on "test" in data source "Bad request" with response "Authentication to data source failed". Is there any manual I've missed on this?
Tycho Yacub

Hey yall, I'm running into this issue:

ERROR! the role 'geerlingguy.nfs' was not found in /Users/tycya/Desktop/ansible-nas/roles:/Users/tycya/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/Users/tycya/Desktop/ansible-nas

The playbook works fine until I switch to trying over ssh (I have ssh configured and can successfully ping the server). I notice that the paths it is checking for the role seems to be all on my local host.

Am I expected to have the roles download on my local host to be able to run the playbook over ssh?
I also noticed that others have a solved similar issues by downgrading to ubuntu 18 from 20 but didn't want to nuke until I have to.

Typing this out helped me realize that I should try installing the roles on my local computer. I think what tripped me up was that the installation instructions explicitly state using apt to install the requirements.yml and I assumed that meant you would only have to do it on the remote host because I am locally running MacOs.
is it possible to use a wildcard subdomain and letsencrypt with traefik? for example, *.itsnebula.net
Hey everyone, hope you're all doing well. I need some assistance, and was wondering if any of you can help or know the answer to this. Anyone know the smb password for the shares?
and user

Hi guys! I'm trying to install AnsibleNAS on VirtualBox on my Windows PC,but cant access to services through web. Steps i did:
1.Install Vbox with Ubuntu server
2.Followed all steps in installation

  1. Trying to access Heimdal in browser and get error in Chrome: ERR_UNSAFE_PORT

Cant access any webservices. Thanks for an answer.

Alan Hawrylyshen
Chrome no longer likes that port . Change to port in the container map to 11080 (or something else).

Chrome no longer likes that port . Change to port in the container map to 11080 (or something else).

Thanks for an answer.


I have followed all installation steps on clean ubuntu server, than run "ansible-playbook -i inventories/my-ansible-nas/inventory nas.yml -b -K" and get error:
TASK [ansible-nas-docker : Add user account to Docker group] **
fatal: [ansible-nas]: FAILED! => {"changed": false, "msg": "Group docker does not exist"}

It seems that i should install manually?

I created a group docker and add my user, than sudo apt install docker.io

Only after that system works. Why didnt it mentioned in installation docs? Sorry question maybe stupid, because i am not so qualified(

2 replies

One more question about Samba: i did samba setup as demo file, but i cant see samba that shared folders in my local network from Windows PC.What should i do? Thanks!

Shares you want published over Samba.

  • name: downloads
    comment: 'Stuff downloaded'
    guest_ok: yes
    public: yes
    writable: yes
    browseable: yes
    path: "{{ downloads_root }}"
Hi o/
Did anyone add code server to a ansible-nas fork yet?
Gods… I got it working in the end… just wasn´t aware I had to change the codes from code-server to code_server
luka murn
i need some help, i installed ansible-nas just fine on ubuntu server, kept everything default, except i changed my inventories under nas user to localhost. i can ssh into ansible-nas without issues, but i cannot access heimdall for the life of me. i went back and changed /ansible-nas/inventories/my-ansible-nas/inventory and changed it back to sample, uncommented both lines for remote and local access under all, rebooted and still cannot access it. what am i missing? i set my ansible_host ip in the inventory file to be the same as the ssh ip of the device 192.168.x.100, heimdall is enabled in group_vars and i made sure to allow 10080 port in firefox. i know i have to be missing something obivous
luka murn
also if i run sudo docker app ls, there are no running apps, and sudo docker port 10080 says no such container 10080. i guess i installed something wrong?
luka murn
figured it out, instead of rebooting you have to rerun the playbook and i have got it working now, wish there were more extensive wiki/docs on the entire process of setting it up
you can shave off some time if you use this command:
ansible-playbook -i inventories/my-ansible-nas/inventory/ nas.yml -b -K -t heimdall
that will not run the whole playbook, only the changes you did to that part of the playbook
I've had mine running for almost a year now and I thought the docs were good. I've looked over the docs now and I think there is a need for some more detailed docs. I'm gonna spin up another server when I get the time and write up a more noob-proof guide.
Jelle De Vos
Anyone have a clue why after setting everything up (cloudflare ddns, traefik, radarr, sonarr, all externally available) why traefik keeps using it's own certificate instead of the let's encrypt one it requested?
Luca Candela
I had a hell of a time getting traefik to work properly woth the oob configuration andnhavent managed it yet
Luca Candela
For some reason the api key i generated following instructions doesn't get the site id from cloudflare properly so the cert files to issue. Ill post the error messages to see if anyone can spot what im doing wrong
I got it working a few weeks ago, i beleve there was a typo or something in the code that made the api key not being used. I can take a look at the codes this weekend .
Luca Candela
Im really curious to see what you can find out. I'm really stuck at this point.
Did tou set the api key in your config file?
This is one thing i changed in my traefik config file, cant remember of that whas the magic line that fixed it
You will then have to set the cloudflare_token in yoir config file
I'm just having a quick look at this from my phone in bed so it might be more, let me know if that works for you
And sorry for my typos, I'm not English and had ro turn off auto correct on my phone 😂
Luca Candela
Thats I've done. I dont think its the issue.
And me neither btw but i understand you fine
And you added ansible_nas_email to your file also?
Pretty sure i needed that too
And dont use rhe global api key, you should make a dedicated one
Btw did you set logging for traefik to debug to see what fails?
at the end of your traefik.toml file there should be something like this:
email = "post@email.com"
storage = "/letsencrypt/acme.json"
caserver = "https://acme-v02.api.letsencrypt.org/directory"
    provider = "cloudflare"
    resolvers = ","
change that email to your cloudflare email
btw is your traefik/letsencrypt/acme.json correct?
hey everybody. Just installed Ansible-Nas on my ubuntu server. I enabled plex in my nas.yml file but I can not access the webinterface. Portainer says the container is running and I didn't changed any configuration. So I'm wondering what I'm doing wrong? I hope somebody can help me :)
so I found out so far, that the docker container is running from plex but it doesn't have an ip nor a port set. does it has to do something with traeffik?
I still stuck with the Plex docker container. Ansible installs it only with a warning for swap limit's not being supported by my kernel. As I read about it, it doesn't affect the container. Portainer shows the plex container but it's the only container without an ip nor a port. I looked up the ansible role and found that the port actually should be set to 32400 but it's somehow through traeffic. I tried to enable traeffic but I couldn't enter traeffic for the same reason plex is not enterable. Did I forgot to enable something or set something correct?
[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] 01-migrations: executing... 
[migrations] started
[migrations] no migrations found
[cont-init.d] 01-migrations: exited 0.
[cont-init.d] 02-tamper-check: executing... 
[cont-init.d] 02-tamper-check: exited 0.
[cont-init.d] 10-adduser: executing... 

          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/

Brought to you by linuxserver.io

To support LSIO projects visit:

User uid:    1000
User gid:    1000

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 40-chown-files: executing... 
[cont-init.d] 40-chown-files: exited 0.
[cont-init.d] 45-plex-claim: executing... 
[cont-init.d] 45-plex-claim: exited 0.
[cont-init.d] 50-gid-video: executing... 
**** creating video group videovj3o with id 109 ****
**** adding /dev/dri/renderD128 to video group videovj3o with id 109 ****
**** adding /dev/dri/card0 to video group video with id 44 ****
[cont-init.d] 50-gid-video: exited 0.
[cont-init.d] 60-plex-update: executing... 
Docker is used for versioning skip update check
[cont-init.d] 60-plex-update: 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
Starting Plex Media Server.
[services.d] done.
Critical: libusb_init failed
I have the feeling it has something to do with the bridge and host network. As I read in the linuxserver documentation this should be solved by adding plex_version: "docker", what is set in the ansible role by default.
luka murn
hey guys, im strugling with setting up zfs properly for torrents and stuff. i have ubuntu server and ansible installed normally on a 1 tb ssd, then i have 2 1tb hdd set in zfs, this is second reinstall because i cant figure it out. I made the test zfs filesystems downloads and movies from instalation guide, and linked them to downloads_root and movies_root in all.yml. when i open these folder from samba on my linux it shows empty space properly, 980gbs for downloads and movies and 860gb for other folders which are still linked to ssd. Now my question is when i try to get my apps to download to zfs storage i just cannot figure it out. i installed deluge, and if set to download to /downloads it downloads to ssd and i cannot find the torrent downloaded in samba, even if i set download location directly to tank/downloads it still does the same. is there any special trick to make it torrent directly to zfs storage?