Sonntag, 29. Mai 2011

VBox Image schrumpfen

VBoxManage modifyvdi /pfad/zur/vdi/datei.vdi compact

Mittwoch, 25. Mai 2011

apt Fehler

Paketlisten werden gelesen... Fehler!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.getdeb.net_ubuntu_dists_natty-getdeb_games_binary-i386_Packages
E: Die Paketliste oder die Statusdatei konnte nicht eingelesen oder geöffnet werden.

Reparatur mit:

sudo rm /var/lib/apt/lists/* -vf

Sonntag, 1. Mai 2011

Moodle 2 Backup Bug II

http://tracker.moodle.org/browse/MDL-25811

and

http://tracker.moodle.org/browse/MDL-27066

Moodle 2 Backup Bug

Change backup settings in Moodle to 'manual' and to 'put backup-files
in serverpath'.

cd /path/domain/public_www/directory/moodlebackup/

vi ../moodle/backup/util/helper/backup_cron_helper.class.php

Place the line

set_config('backup_auto_running', '0', 'backup');

before the line

mtrace("Checking automated backup status",'...');

sudo -u www-data /usr/bin/php ../moodle/admin/cli/automated_backups.php

Pray. This only works with smaller Moodle sites!