MTB bottom bracket

Wee reminder about the drive side being reverse threaded that i found on Reddit!

The tool you need is a cartridge bottom bracket tool. They are specialized, but not too expensive. The Drive side (where the chain is) is reverse-threaded. (Righty-Loosey/Lefty-Tighty)

When you install a new bottom bracket, bottom out the drive side threads first, then install the non-drive side cup.”

How to backup QBittorrent and restore after windows reinstallation

Found a neat wee guide on Reddit for this – thanks to FFS!

Press Windows_logo_key + R to pop-up the Run command box and then type %localappdata%\qBittorrent and hit enter. You’ll get a folder and minimize it.

Again repeat the same process and this time type %appdata%\qBittorrent instead of %localappdata%\qBittorrent. You got another folder and now you have two separate qBittorrent folders.

Select and copy everything from the newly two opened folders and paste them to other two folders (1 for %localappdata%\qBittorrent and 1 for %appdata%\qBittorrent) and save the folders in a safe directory.

Restore Process

After installing, close qBittorrent by pressing Ctrl+Q.

Follow the previous steps again to open %localappdata%\qBittorrent folder.

Delete everything from that folder and copy everything from the backup we kept earlier for that folder.

Repeat same process for %appdata%\qbittorrent folder too.

Open qBittorrent and it’ll detect all your torrents

Nginx Proxy Manager and pihole

Bit of a mare to get this working – ended up with custom script in the advanced section of NPM (with my local address in bold. Worked a treat!

location / {
proxy_pass https://192.168.0.3:443/admin/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_hide_header X-Frame-Options;
proxy_set_header X-Frame-Options “SAMEORIGIN”;
proxy_read_timeout 90;
}

location /admin/ {
proxy_pass https://192.168.0.3:443/admin/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_hide_header X-Frame-Options;
proxy_set_header X-Frame-Options “SAMEORIGIN”;
proxy_read_timeout 90;
}

location /api/ {
proxy_pass https://192.168.0.3:443/api/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_hide_header X-Frame-Options;
proxy_set_header X-Frame-Options “SAMEORIGIN”;
proxy_read_timeout 90;
}

Docker and Unifi part#2

Well, wifi kept dropping out which was unusual for my Unifi setup so I had a wee look – I think tailscale has managed to screw something up. Decided to install Unifi controller onto my new UGreen NAS – what a palaver it turned out to be to get the access points adopted. Had to

login via putty to EACH access point and try and remember my credentials

set-default to reset the unit

set-inform http://myNASip:8080/inform

reboot

login to my new NAS based controller and adopt

Except 2 of the APs needed resetting to default and rebooting several times before they finally were able to get adopted. All in all it took a couple of hours. Then i realised I had done this all before on my older NAS migrating from the raspberry pi based Unifi controller……Doh!

Guess i’m just thankful I was able to do this all remotely rather than having to physically reset them…..

Unifi SSH for dummies

 

 

tailscale and pihole

Bit of a learning curve – installing tailscale on my pihole and setting it up to use pihole as the dns server so i can block ads on the go from anywhere  🙂

Used the guide here https://tailscale.com/kb/1114/pi-hole and the manual install instructions here https://tailscale.com/download/linux/rpi

Managed to completely bork everything by having pihole wipe my custom dns server address (unbound on 127.0.0.1#5335 ) Once i re-added this it works a treat. Trying to get my head round tailscale now so i can use it when on holidays to browse via my home pihole(s)

Free SSL update

123reg – bit of a mare to find out how to login my cpanel after previous hosting company moved to 123reg. turns out it is a wee bit more complicated https://account.123-reg.co.uk/products scroll down to webhosting and select manage all. Then find that nothing works. The hardcoded cpanel admin link doesn’t work as it points back to the previous hosting cpanel address…. so if you use https:// [my domain] /cpanel it works and you can then login. If you remember your user/password…… find the username from the 123reg panel …..:)

better still check the useful section in your DB folder to see login details for the primary site… (i hate relearning this every few months!)

Still using sslfree.io to generate my certificates – really useful site

The 123reg option to ‘verify DNS ownership’ doesn’t seem to work either…..When using the 123reg DNS section to add in the acme challenge/code and go to save it will pop up a box saying ‘Let’s check….’ and gives 2 options. Select the YES to change (commonest) one

I end up learning how to do this every 90 days when i’ve forgotten it from the last time 🙂

//edit – i have changed 2 domains over to cloudflare nameservers so need to update from it’s dashboard when time comes to renew the SSL certificate for that domain….nothing is simple! (remember to add in wildcard *. entry!)

 

 

SyncToy

MS Synctoy – great piece of software – deprecated and not available in windows 11 but still works fine – downloaded version 2.1 x64 from majorgeeks.com and it works a treat. You do need .net framework 3.5. I find it useful for preparing drives and content for a forthcoming NAS acquisition……

Docker and Unifi controller setup

This is what i used to finally sort out migrating controller from windows to raspberry pi docker

https://www.disk91.com/2023/technology/networks/install-unifi-controller-on-raspberry-pi/

It was all a bit of a mare after i tried to move the unifi controller from windows to a docker image running on rpi – could not get the access points to be seen so i could adopt them.Tried all the methods like set-inform etc to no avail. Ended up very frustrated and deleted the docker image and used another one to set it all up from scratch, including SSHing into the access points and factory resetting them. This worked ok via the guide above.