transmission-remote commands are erroring with Unexpected response: 401: UnauthorizedUnauthorized User: deflate, gzip

It happened the same thing with me, what I did: First off, remove all transmission in your distro; apt-get remove transmission-daemon Second, obvious, install again transmission, but You need to install transmission-daemon tand the packages like transmission-remote, that’s what you will use. apt-get install transmission-daemon Stop the process: /etc/init.d/transmission-daemon stop Desactived the AUTH: nano /etc/transmission-daemon/settings.json … Read more

Docker-compose: /usr/local/bin/docker-compose : line 1: Not: command not found

UPDATE: 20230829 Fixed Automating download of latest release of docker-compose Last update of curl apparently didn’t like my script to automate the download of the latest release of docker-compose. So here’s the re-jiggered script which is tested and known to work with Ubuntu 22.04.3. Since GitHub doesn’t like IPv6, I forced IPv4 in the curl … Read more

Run shell script with node.js (childProcess)

The exec function callback has error, stdout and stderr arguments passed to it. See if they can help you diagnose the problem by spitting them out to the console: exec(‘~/./play.sh /media/external/’ + req.params.movie, function (error, stdout, stderr) { console.log(‘stdout: ‘ + stdout); console.log(‘stderr: ‘ + stderr); if (error !== null) { console.log(‘exec error: ‘ + … Read more

How do I use let’s encrypt with gitlab?

The by far best solution I was able to find for now is described in this blog post. I won’t recite everything, but the key points are: Use the webroot authenticator for Let’s Encrypt Create the folder /var/www/letsencrypt and use this directory as webroot-path for Let’s Encrypt Change the following config values in /etc/gitlab/gitlab.rb and … Read more

How to disable sleeping on Raspberry pi

I installed xscreensaver sudo apt-get install xscreensaver Once installed, go to Rpi’s desktop “Menu” (left top corner) Go to preference –> screensaver. You will see a screen saver main menu. In the mode drop-down menu, select “disable screensaver” then close the window. Reboot the Raspberry PI. It should work now.