Archive for the 'administration' Category

Error code 600 when viewing Autodiscover.xml WTF?

Wednesday, May 9th, 2012

So you’re trying to set up the Exchange Autodiscovery but it just won’t work? You’re checking your autodiscover URL http://exchange.contoso.com/autodiscover/autodiscover.xml but all you’re seeing it this stupid error message that tells you nothing, except: If this is what’s happening to you, stop doing it :P You’ll never be able to check the autodiscover.xml from a [...]

How to fix failing language pack updates in TYPO3

Monday, February 27th, 2012

If you update language packs through the TYPO3 extension manager, it can happen that it will mark the update as “failed”, but if you check for updates again, it tells you there are no updates available. Generally it behaves kind of weird with language pack updates. What’s going on and how do I fix it? [...]

Self-updating Bash Script Revised

Sunday, February 26th, 2012

I recently posted an approach for a self-updating bash script. Shortly after using it in production, I noticed a critical shortcoming. Due to the simple way in which I implemented my update checking (an MD5 sum over the script itself), changes to the script interpreter line (aka shebang) would cause the script to output that [...]

Safely updating TYPO3 extensions

Wednesday, February 22nd, 2012

A difference between the originally installed version and the current was detected! If you have ever read that warning in the TYPO3 extension manager, you know exactly how annoying it can be to find that difference. You made some minor tweak or fix and forgot about it and now you don’t know what it was [...]

Integrate Progress Indicator in Console Output

Wednesday, January 4th, 2012

I recently tried to use pv in a bash script so that it wouldn’t interfere with my concept of communicating overall progress to the user. When I usually like to do is to echo -n a description of the current task and then later echo either “Done.” or “Failed!” (or something similar). Obviously, that somewhat [...]

Check Write Permissions for Folder Hierachcy

Monday, January 2nd, 2012

While working on a bash script, I wanted to check if I could rm -rf a folder before actually attempting it and flushing the console with tons of write permission error messages. Upon failing to find what I wanted online, I constructed this beauty: find . \( -exec test -w {} \; -o \( -exec [...]

Self-updating Bash Script

Thursday, December 22nd, 2011

Note: There is a revised version of this script available. While working on the typo3scripts project, I wanted to implement a self-updating feature into each of the scripts as that seemed most convenient for where these scripts would be used. My initial approach was OK but left me wondering. So, here is the revised approach [...]

The mystery of the broken OpenVPN certificate

Friday, January 7th, 2011

Someone complained to me about the following error message when trying to use OpenVPN to connect to a VPN: All research regarding the matter pointed to a broken certificate. But even after re-exporting it and comparing the contents, we could not find any problem. I had the client repeat several parts of the certificate over [...]

Increased Screen-Space for Ubuntu Server VM

Wednesday, October 13th, 2010

I often run Ubuntu server installations in VirtualBox. Sadly, this only provides you with the default console window. So most of the time I would additionally connect with Putty into the same VM, so that I can make use of a larger console. But recently it pissed me off so badly that I went hunting [...]

ICH9R Raid Recovery

Tuesday, August 17th, 2010

You know how everyone would tell you to not use RAID0 unless the data you store on it is worthless? And do you know how the same people would most likely tell you to never put your operating system on a RAID0 volume? Well, I ignored those people and did it anyway. And what did [...]