Portainer Docker exec

One day when I tried to use the console section of portainer I got the error “Unable to retrieve image details”. After looking online I saw that I needed to update portainer so I started looking for the compose file and couldn’t find it. Well that was a bit annoying so I ran “docker run –rm -v /var/run/docker.sock:/var/run/docker.sock ghcr.io/red5d/docker-autocompose …” which worked as expected. I then pulled the latest image and trimed the compose file. When I removed and restarted the container I was annoyed to see it still wasn’t working. ...

July 19, 2024 · 1 min · Seamus

Wordpress https

This has for a long time been probably my second biggest issue with my homelab. My main website that your reading this on has been running on http. This happened because i use the domain keldo.uk which is also the domain I use for email. This ment I couldn’t route through cloudflare like everything else. My original attempt to fix this was with trafik but when I got as far as forwarding the website all I got was a white page. I presumed that nginx proxy manager would be the same however I was proven wrong when I tried today. ...

July 17, 2024 · 1 min · Seamus

Ollama Install

I started with the docker compose file from https://github.com/open-webui/open-webui. I then edited this changing the volumes to mounts on my nas and changing the port. I then installed a range of models some designed for general conversations and others for coding. I then wanted to add tab auto complete to vscode so i used a section of technotim’s guide (https://technotim.live/posts/ai-stack-tutorial/). This worked fine and was all round a simple process. I look forward to trying to customise some of the models.

July 14, 2024 · 1 min · Seamus

Ansible Install

I started by following this video https://www.youtube.com/watch?v=NyOSoLn5T5U. Once i customised the compose file I managed to setup my first playbook. I decided to store playbooks on my nas for safety and the first one I made was a apt update. I then started tinkering with more complicated ones for proxmox and my dns settings. This is still what I am doing as proxmox is working through proxmoxer and if not exactly simple but I am happy with the progress I am making.

July 10, 2024 · 1 min · Seamus

Don't delete random docker Volumes

It started when I was trying to install change detection. I was getting a error about not having space on the drive so I decided to delete some unused docker volumes. This lead to a new far more concerning error “mkdir /data/compose: no such file or directory”. After looking online I realised this could be bad so I decided to download a copy of passbolt and then reboot. The first thing I noticed was proxmox stopped working but I realised this was just my dns. The when I did a docker ps it showed that everything was starting fine. However when I went to Portainer it told me to setup a new install. ...

June 24, 2024 · 1 min · Seamus

Markdown

I recently decided to fully explore obsidian. I had installed it when I setup my arch linux install however I had never actually done anything more advanced that make a list of tasks. I began thinking how I could make use of obsidian I my mind went quite quickly to documentation of my homelab. I had been doing this with wordpress however I had been considering replacing that, so i began to look. One quick google search later and i found mkdocs. While this is currently not very astetic I hope to be able to fix that. The other thing I had to sort was syncing the files between the website, PC and phone. For the website I already knew I wanted to use gitea with a custom push action. However for the PC and phone I found that the Git plugin would work on my PC but not my phone. You may be able to get it working using ISH and the shortcut app however I could not so i resorted to a second plugin called Remotely save. This is still not ideal as it goes through both onedrive and obsidian to reach my server however that may be fixable with a s3 bucket on truenas and some more scripting.

June 5, 2024 · 1 min · Seamus

Broken mailcow

I began by trying to move my mailcow install from running on docker volumes to storing data on my nas. I started copying the files however after around the 5th volume I remembered the continers were still online. After I continued even finding a copy of the docker compose. However when I ran the compose I got serveral errors about mysql. I realised I had corrupted the mysql database. I tried several edits to the mysql files and failed. After that I went to launch the old copy and realised that was corrupted as well. ...

May 30, 2024 · 2 min · Seamus

ICloudpd Notifications

The one feature of Icloudpd that I dislike is the requirement to constantly redo 2fa. I also would have no way of knowing when this is untill I set up one of the notification options. I decided since there was no smtp which would be my normal choice I would try out the discord web hook function which I hadn’t used before. The setup went fine untill I went to test it I restarted the container and got a notification that it started however, almost strait after that I got a message that it couldn’t access the folder that stored my photos. I re aplied the acl which fixed it but I need to find a away to re do the acl on a schedual.

May 28, 2024 · 1 min · Seamus

SyncTrayzor

I have been using the default syncthing windows client for a while. However, the task sceudular setup had never worked properly and there for I had been forced to run it manually every now and then. Luckily I came across a reddit post that mentionted SyncTrayzor at first I thought it was a different software but then I found out it worked with my existing syncthing server. I downloaded the installer and ran it. It worked even better than expected as it managed to use my existing config with the only change needed was to add an allow newer config flag in the settings.

May 27, 2024 · 1 min · Seamus

Kasm install

I wanted to setup a more simple shareable alternative to VMs. Kasm was a great option which I was very excited to try. I began by setting up the normal docker compose with my normal bind mounts. However it kept getting stuck in a loop after accepting the terms. So I had to switch to a full install on a vm. After that I followed the stock install guide and it all went fine. I setup the workspaces I wanted and they installed fine. However the other issue I ran into was when I tried to add ssh to a vm. No matter what I tried it just wouldn’t work so in the end I decided I could just use the Ubuntu workspace and manually ssh in.

May 11, 2024 · 1 min · Seamus