Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 14 13:02
    KenZhouGreat labeled #376
  • Jan 14 13:02
    KenZhouGreat opened #376
  • Jan 13 17:17
    Travis davestephens/ansible-nas (master) fixed (702)
  • Jan 13 16:42
    Travis davestephens/ansible-nas (master) broken (701)
  • Jan 12 11:53
    KenZhouGreat edited #375
  • Jan 12 11:50
    KenZhouGreat labeled #375
  • Jan 12 11:50
    KenZhouGreat opened #375
  • Jan 11 11:58
    KenZhouGreat edited #374
  • Jan 11 11:57
    KenZhouGreat opened #374
  • Jan 11 03:48
    KenZhouGreat labeled #373
  • Jan 11 03:48
    KenZhouGreat opened #373
  • Dec 30 2020 20:26
    davestephens labeled #372
  • Dec 30 2020 20:26
    davestephens labeled #372
  • Dec 30 2020 20:26
    davestephens assigned #372
  • Dec 30 2020 18:42
    Narcolapser synchronize #372
  • Dec 30 2020 18:42
    Narcolapser synchronize #372
  • Dec 30 2020 18:41
    Narcolapser synchronize #372
  • Dec 30 2020 18:39
    Narcolapser synchronize #372
  • Dec 30 2020 18:38
    Narcolapser synchronize #372
  • Dec 30 2020 18:36
    Narcolapser synchronize #372
Pieter-Andries van der Berg
@PieterAndriesBerg
anyone that can help me out?
Pieter-Andries van der Berg
@PieterAndriesBerg
issue : after the download is completed sonarr doesnt place the movie in: tv folder
Pieter-Andries van der Berg
@PieterAndriesBerg
if anyone can help pls would be appreciated
fined workaround
Just open Settings / Download Client in Sonarr and look at Remote Path Mappings at the bottom. Then add a path mapping with the right hostname, and for Remote Path /downloads/complete and for Local Path /downloads
elliotsayes
@elliotsayes
What address should I use for my containers to talk to each other? Traefik FQDN (i.e. jackett.myserver.com) doesn't work, neither does docker container name. Docker ip (172.x.x.x) works fine, but doesn't persist between container restarts.
elliotsayes
@elliotsayes
I ended up creating a non-default bridge network, and adding all the relevant containers to them. This allows the containers to use the docker internal hostname/port (i.e. http://jacket:9117/) to communicate with each other. If anyone is interested let me know and I can show how I did it / create a PR with the ansible code
2 replies
mikey9060
@mikey9060
Hi there , i'm having problems with the completed download handling that is not working. The downloads aren't automatically removed from transmission. The settings are enabled . Everything works fine otherwise. Did someone have the same problem ? Grts
elliotsayes
@elliotsayes
@mikey9060 one thing you may want to try is shutting down the transmission container before editing the config file. The file is only read on launch and overwritten on exit.
jurgendv
@jurgendv
Hi I'm having problems with the certificates using Traefik. I'm getting this error for the certificate request: acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: Cannot negotiate ALPN protocol \"acme-tls/1\" for tls-alpn-01 challenge, url: \n". The domain lookup and connection to the subdomains (e.g. nextcloud) works but I only have the local certificate. DNS is going via Cloudflare and the cloudflare ip update is done via my router. Did anyone actually got this working?
Luke Elsdon
@luke.elsdon_gitlab
Anyone have any experience with OpenWRT port forwarding and CloudFlare? Everything I'm reading online just says to forward 443 and 80 to my servers internal IP, I have the domain registered in cloudflare to my routers IP, but I get a 522 error on any page I try and access
jb61
@jb61
Hi All, I'm looking to build a small RPi4b home server for development work, Home Assistant etc, and I like the neatness of the Ansible solution. So rather than start from scratch I thought this project might be a good starting point.
I noticed several people have posted similarly but I haven't seen any definitive answers so forgive me if I've missed something. Is it just a case of running up the project and checking which of the images are compatible with the platform? Any help or pointers in the right direction would be greatly appreciated.
4 replies
Nikita Popov
@nikitalpopov
Hello
I has one stupid questions which was already answered by someone for sure, but fast search didn't return anything :(
I have server setup with two hard drives: Ubuntu server on one (256 Gb) and another is meant to be used as storage (1 Tb). How should I setup ansible-nas from Ubuntu to use second HDD? Does it require only to change nas.yml's docker_home variable value? Or I should add some mounting setup or anything else? Appreciate any help <3
2 replies
Luke Elsdon
@luke.elsdon_gitlab
image.png
Anyone else having issues with the cloudflare container?
Also for some reason my traefik container doesnt seem to be publishing ports, even if I try it manually via portainer..
KenZhouGreat
@KenZhouGreat
Hi love this community and idea about this Ansible-NAS. I just got a plan to utilise my spare MBP 8G 2.4ghz i5 as a server to create a home NAS service. My understanding is that I need to install the Ubuntu 18.4 server on my the MBP first right?
Micah
@trojanpony

Is ubuntu 20 supported? I keep getting this error when I get to the last step in installation:

ERROR! the role 'bertvv.samba' was not found in /ansible-nas/roles:/home/micah/.a nsible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/ansible-nas

The error appears to be in '/ansible-nas/nas.yml': line 9, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

roles:

- role: bertvv.samba
  ^ here

Should I just install ubuntu 18 and start over?

KenZhouGreat
@KenZhouGreat
Hello need help
20 is not supported @trojanpony as I have tried.
Wasted a day on it just using 18.04.5
KenZhouGreat
@KenZhouGreat
I am trying to connect couch potato with uTorrent
But it keeps showing me error.
I am able to visit uTorrent gui on 8111
I can see the setings inside show 6811 is exposed for web api, but when I try that on couch potato it's not working
Anyone got any idea?
2 replies
Micah
@trojanpony
I switched to ubuntu 18 and it works now. Wish i would have just started with that lol
Danny Oosthoek
@Thrizian
any idea why i'm getting this? I did not alter anything for the gitlab container, (running on 20.04 though)
fatal: [data-tank]: FAILED! => {"changed": false, "msg": "groupadd: GID '998' already exists\n", "name": "gitlab"}
Danny Oosthoek
@Thrizian
this happens in the task: Create Gitlab group account
on my device this id is taken by docker
Danny Oosthoek
@Thrizian
Nvm, managed to get the gitlab container running, changed the user id and it allows me to run the task.

Could someone explain the folder philosophy to me?

I understand that couch potato puts torrent files into watch which then should be picked up by transmission and downloaded. After which the downloads will go into downloads. What would then be the best way to get them from downloads into movies other than manually copying?

Danny Oosthoek
@Thrizian
i have been downloading some files succesfully now from both radarr and couch potato. But i cannot yet seem to figure out how the movies are moved to the movies folder on the zfs filesystem. Is it supposed to do this automatically?
Octavian Susnea
@sneakersgames
TASK [bertvv.samba : Start Samba service(s)] ***********************************
failed: [Ubuntu-Machine] (item=smbd) => {"ansible_loop_var": "item", "changed": false, "item": "smbd", "msg": "Service is in unknown state", "status": {}}
failed: [Ubuntu-Machine] (item=nmbd) => {"ansible_loop_var": "item", "changed": false, "item": "nmbd", "msg": "Service is in unknown state", "status": {}}

I keep getting this error. I don't understand where/if I need to change my hostname in the inventory file

[all]
## Example when running from a remote workstation
# ansible-nas ansible_host=192.168.1.30

## Example when running directly on your Ansible-NAS server
Ubuntu-Machine ansible_connection=local ansible_host=localhost

#[nas]
Ubuntu-Machine

I'm running ansible nas on Ubuntu Desktop 20.04... Should I leave ansible-nas as hostname?
Contents of /my-ansible-nas/group_vars/nas.yml

# Example options
ansible_nas_hostname: Ubuntu-Machine
ansible_nas_timezone: Europe/Brussels

## Enable some applications
heimdall_enabled: true
portainer_enabled: true
It also asks for a BECOME password every time. I just enter something random?
Luke Elsdon
@luke.elsdon_gitlab
Apologies for asking this again but I can't seem to work it out. Is anyone else's traefik just not working at all? I can't access it via the defined ports and they don't appear to be showing as published in portainer. Even trying to do it manually fails
aleksjal
@aleksjal
@sneakersgames check your kernel 5.8 does not work properly with ansible, have tested today, downgrade to 5.4 did the trick
Aido
@UndarkAido
How difficult would it be to migrate from raw Ubuntu? I've got Plex, some Minecraft servers, and Home Assistant Supervised all running raw and I've got a few PHP apps served through Caddy.
erikjlane
@erikjlane
@UndarkAido I would set it up and then just transfer the data over. At least for Plex and Minecraft. I'm not sure about the others. But it just sets up everything using Docker, so you can find where it's got the data volumes and then replace the data with what you already have. I just recently did this with mine. Just make sure that you've got the Docker container stopped while doing it, and it worked wonderfully for me.
Aido
@UndarkAido
@erikjlane Ok, sound p. nice! My next sticking point is I'm worried about the overhead of the containers.
erikjlane
@erikjlane
@UndarkAido I can't really help with that. I didn't check into it. That server was doing quite a bit on pretty old hardware, so I suspect that they're fairly lightweight, but I have no numbers or proof, just a gut feeling.
Aido
@UndarkAido
@erikjlane Good to know, thanks for the advice! Kinda curious how your specs / load compare to mine:
                          ./+o+-       aidan@Yamato
                  yyyyy- -yyyyyy+      OS: Ubuntu 20.10 groovy
               ://+//////-yyyyyyo      Kernel: x86_64 Linux 5.8.0-36-generic
           .++ .:/++++++/-.+sss/`      Uptime: 4d 16h 1m
         .:++o:  /++++++++/:--:/-      Packages: 2603
        o:+o+:++.`..```.-/oo+++++/     Shell: bash 5.0.17
       .:+o:+o/.          `+sssoo+/    Disk: 948G / 9.3T (11%)
  .++/+:+oo+o:`             /sssooo.   CPU: Intel Core i7-2600 @ 8x 3.8GHz [33.0°C]
 /+++//+:`oo+o               /::--:.   RAM: 2561MiB / 7836MiB
 \+/+o+++`o++o               ++////.
  .++.o+++oo+:`             /dddhhh.
       .+.o+oo:.          `oddhhhh+
        \+.++o+o``-````.:ohdhhhhh+
         `:o+++ `ohhhhhhhhyo++os:
           .o:`.syhhhhhhh/.oo++o`
               /osyyyyyyo++ooo+++/
                   ````` +oo+++o\:
                          `oo++.
aleksjal
@aleksjal
@UndarkAido before deployment downgrade your kernel, ansible does not work properly with 5.8
Aido
@UndarkAido
@aleksjal Ah darn, that's the kind of thing I really prefer not tot touch.
aleksjal
@aleksjal
@UndarkAido then forget about ansible-nas
Aido
@UndarkAido
Darn, kk
aleksjal
@aleksjal
@UndarkAido you ll face issues similar to what @sneakersgames had and I had today morning
@UndarkAido I moved back to 5.4 and report all fine maybe later will work as well did not test it
@UndarkAido HW is pretty good I run it on VM with 10 containers with 8Gb and only 1 vcore all run smoothly
erikjlane
@erikjlane

@UndarkAido Here's from /proc/cpuinfo:
Intel(R) Pentium(R) CPU G3450 @ 3.40GHz - it's a dual core. Has 120GB SSD main drive and 8GB memory. It's running plex, a general file server, then also the docker setup with portainer and watchtower on that. It gets plenty of use with ssh and rsync, but I think that plex is the only thing that takes up much of the cpu, and only when it's processing new files. For a while I had a couple of minecraft servers on it for the kids, and it did great until the worlds got too big and they would also have their friends log in and play with them. Started to slow down too much, so I finally moved that off of the machine. So your machine should be fine with it, since it's so much more powerful.

I suggest just installing docker and portainer, and then using the GUI on portainer to set up the server. Ansible worked great for the initial setup, but I still had to set a bunch of stuff by hand. I haven't run the ansible script since the first little bit when I was getting it setup as I wanted.