Archive for category Common

How to check, if there is an update for mailcow

Let us assume that mailcow (dockerized) is installed in the directory /opt/mailcow-dockerized, then the script below checks, if there is an update and sends an email to the hostmaster:

#!/bin/bash
set -o nounset
set -o errexit

cd /opt/mailcow-dockerized && ./update.sh --check > /dev/null
exit_code=$?

[ $exit_code -eq 0 ] && echo -e "Subject:MAILCOW: Update available \n\n Update your mailcow instance please!\n" | sendmail hostmaster@your-domain.com
exit 0

The scrip can be run as cron.

Leave a comment

How to update Lollipop (Android 5.0) on a rooted nexus device

On a rooted nexus device with Lollipop (Android 5.0) the common OTA-updates fails. The reason is: there are some additional security checks while the OTA-update, which fails on rooted devices.

But if you know how to handle the adb-tools, it’s easy to make a manually update. Just download the matching  factory image for your android device and extract the following files: boot.img, recovery.img and system.img.

adb reboot bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot format cache
fastboot reboot

That’s it! All your private files won’t be deleted.

I’ve tested it with my nexus 10 and I couldn’t guarantee that this is true for other devices.

,

Leave a comment

C5Connector.Java Version 0.7

Version 0.7 of the C5Connector.Java has been released.

It’s the Java backend for the filemanager of corefive.

It’s a  feature and clean-up release:

  • internal: global refactoring, refactored the upload code
  • issue #25: Implementation of the mode ‘preview’
  • issue #26: introduce a property to hold the max. preview dimension
  • issue #28: introduce a remover for EXIF data
  • issue #29: extend the shared-config with option#theme

For more details refer the changelog please.

,

Leave a comment

Poor Man’s CMS 2.4RC1 released

In this release the backend has changed dramatically. The data store has changed from a database to plain xml files. This is increasing the speed enormously.

The ftp password is now stored encrypted in the backup file. That’s why you have to set your password again. You will get a corresponding hint. It is essential to make a clean installation, the data directory must be removed!!!

I don’t have the time to concentrate on testing on different platforms. That’s the reason why I’ll deploy only release candidates from now on.
If you find bugs don’t hesitate to file a ticket here or leave a comment in the forum.

The changes in detail:

fixes:

  • the location settings and composition of the HeapSizeDialog is wrong

features and improvements:

  • ftp-password is encrypted in the backup and data xml
  • feature #44 big refactoring: use XML file per site instead of database, more use of spring pattern
  • integrated jii

internal:

  • updated commons-net to 2.2
  • updated velocity to 1.7
  • updated spring to 3.0.5
  • updated swt to 3.7 and dependent libs

, , ,

Leave a comment

How to uninstall xulrunner on OS X?

A view week ago, I had a nasty problem. I updated my xulrunner installation to 7.0. A software project based on xulrunner wouldn’t run with this version. Ok, back to the old one. But how? The installer of the new hasn’t any uninstall option and the installer of the old one was canceling, because a newer version exists.

Googleing around I’ve found a few hints but none of them works correctly or wasn’t the half line.

To delete the whole xulrunner manually you have to delete the following items:

  • Directory: /Library/Frameworks/XUL.framework/
  • File: /private/var/db/receipts/org.mozilla.xulrunner.bom (seems relevant to 10.6.7)
  • File: /private/var/db/receipts/org.mozilla.xulrunner.plist (seems relevant to 10.6.7)
  • File: /Library/Receipts/xulrunner-*.mac.pkg

,

Leave a comment