I’ve been having trouble with IPv6 on my El Capitan Mac over T-Mobile’s network.
Continue reading post "#3267"problem posts page 8
PHP-FPM / Apache caching symlinks
At Cogneato, we use symlinks to point the web server to different versions of our software for websites. Sometimes, especially on our Ubuntu server, which uses PHP-FPM to serve PHP files through Apache, I was noticing problems caused by scripts being loaded from the previous symlink destination when I changed to the new one. There seems to be some sort of caching going on. The solution was to restart PHP-FPM and Apache after switching the symlinks. On Ubuntu, this looks like:
ln -s /path/to/new-version /path/to/software-link \
&& sudo service php7.2-fpm restart \
&& sudo service apache2 graceful
where the 7.2
is the version of PHP being used. Haven’t noticed the problem since.
I accidentally opened up my main Firefox profile in Firefox Developer Edition and now it won’t let me open it in regular Firefox.
Continue reading post "#3261"USPS finally got me the teas I ordered as a Christmas gift.
Continue reading post "#3210"My phone (Pixel 3a) has been dropping longer calls when using wi-fi calling over T-Mobile Home Internet.
Continue reading post "#3186"Custom logic for unattended upgrades reboot
The Ubuntu / Debian unattended-upgrades
package has an option to automatically reboot as needed when it upgrades packages. It will do this without user input, at a chosen time. However, it doesn’t allow for any conditions beyond need and time. I found a need for more nuance recently, so I had to disable the built-in functionality and set up my own script on a cron job.
I have determined that one cannot link a prepaid and postpaid T-Mobile account to have one login ID.
Continue reading post "#3163"Automatically deal with conf changes using unattended-upgrades
For Ubuntu servers, I use the unattended-upgrades
package to automate keeping the system and packages up to date. I recently noticed some of Cogneato’s servers showing packages needing to be updated for multiple days. When I looked in unattended-upgrades.log
(in folder /var/log/unattended-upgrades/
), I found the message “WARNING Package something has conffile prompt and needs to be upgraded manually”. Basically, there was a change to a configuration file and it didn’t know how to handle it.
A young man and woman presumably from an energy supplier knocked on my door today and spent like a half hour trying to switch my electric and gas supply to them. It didn’t end up happening.
Continue reading post "#3141"I may have fixed my jacket zipper with a heated nail.
Continue reading post "#3132"