Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 27 22:14
    davestephens closed #252
  • Jun 27 22:08
    davestephens closed #542
  • Jun 27 20:16
    brumi1024 synchronize #542
  • Jun 26 21:54
    brumi1024 opened #542
  • Jun 26 21:24
    brumi1024 edited #541
  • Jun 26 21:23
    brumi1024 edited #541
  • Jun 26 21:19
    brumi1024 opened #541
  • Jun 26 11:53
    nicpayne713 labeled #540
  • Jun 26 11:53
    nicpayne713 opened #540
  • 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
Darren OC
@darrenoc3
Hey all, maybe I did something very stupid but I had been using my Ansible-NAS machine for some software development and it was going fine. However today I logged in and my home directory was reverted back to it's state from 5 weeks ago, causing me to lose my whole dev environment including a bunch of docker containers. Does anyone know what would have caused the state of my system to revert like this? It had survived multiple reboots/shutdowns without losing state.
I did notice that my ~/.bashrc still had my most recent changes, even if everything else in my home dir was wiped out
allthestairs
@allthestairs
That is an unusual thing to happen. One way that can happen is if you've mounted a folder on top of your old home folder for a while and now the mount is gone?
You'd probably know if you were doing that though.
draedr
@draedr_gitlab
Hi, i'm trying out ansible-nas using an LXD container, but keeps failing trying to check for gnupg2, which is not available because it's a Ubuntu 20.04.3 container. I've tried with a 21.10 container too, but keeps trying to search for gnugp2.
The playbook is also run in another Ubuntu 20.04.3 container. Sorry if this is not the right place to ask.
oneclearday
@oneclearday
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
@aensidhe
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
@tysaya123

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.
Nebula
@itsnebulalol
is it possible to use a wildcard subdomain and letsencrypt with traefik? for example, *.itsnebula.net
pedromiguelferreirafrade1996
@pedromiguelferreirafrade1996
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
ArtemAnufiev
@ArtemAnufiev

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 127.0.0.1:10080 and get error in Chrome: ERR_UNSAFE_PORT

Cant access any webservices. Thanks for an answer.

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

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

Thanks for an answer.

ArtemAnufiev
@ArtemAnufiev

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
ArtemAnufiev
@ArtemAnufiev

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.
samba_shares:

  • name: downloads
    comment: 'Stuff downloaded'
    guest_ok: yes
    public: yes
    writable: yes
    browseable: yes
    path: "{{ downloads_root }}"
lpkampen
@lpkampen
Hi o/
Did anyone add code server to a ansible-nas fork yet?
lpkampen
@lpkampen
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
@lumux:matrix.org
[m]
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
@lumux:matrix.org
[m]
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
@lumux:matrix.org
[m]
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
lpkampen
@lpkampen
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
lpkampen
@lpkampen
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
@jellebean
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
@CaliLuke
I had a hell of a time getting traefik to work properly woth the oob configuration andnhavent managed it yet
Luca Candela
@CaliLuke
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
lpkampen
@lpkampen
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
@CaliLuke
Im really curious to see what you can find out. I'm really stuck at this point.
lpkampen
@lpkampen
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
lpkampen
@lpkampen
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
@CaliLuke
Thats I've done. I dont think its the issue.
And me neither btw but i understand you fine
lpkampen
@lpkampen
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
lpkampen
@lpkampen
Btw did you set logging for traefik to debug to see what fails?
lpkampen
@lpkampen
at the end of your traefik.toml file there should be something like this:
[certificatesResolvers]
[certificatesResolvers.letsencrypt]
[certificatesResolvers.letsencrypt.acme]
email = "post@email.com"
storage = "/letsencrypt/acme.json"
caserver = "https://acme-v02.api.letsencrypt.org/directory"
  [certificatesResolvers.letsencrypt.acme.dnsChallenge]
    provider = "cloudflare"
    resolvers = "1.1.1.1:53, 1.0.0.1:53"
change that email to your cloudflare email
btw is your traefik/letsencrypt/acme.json correct?
LazLit0
@LazLit0
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 :)