[Eisfair] Fwd: fcron <wwwrun at eis2> /var/owncloud/owncloud-cron.sh

Stefan Welte post at stefan-welte.de
Do Okt 6 17:41:30 CEST 2016


Hallo Marcus,

Am 06.10.2016 um 16:48 schrieb Marcus Roeckrath:
>> derzeit (base 2.7.7, eiskernel 2.24.0, owncloud 1.3.1) 
(redis 1.1.1)

> Kommt die genau einmal nach dem Serverstart oder regelmäßig?
exakt ein Mal.

> Der owncloud-cronjob wird normalerweise alle paar Minuten ausgeführt.
ok.

>> Ist ein owncloud-Update (-> owncloud 1.4.2) diesbzgl. problemlos?
> 
> Wenn Du die Kernkomponenten von owncloud noch auf dem Stand des Paketes hast
> (owncloud 8.2.2), könnte ein Paketupdate Probleme machen.
> 
> Das ist IMHO ein owncloud internen Problem, dass ein Update der DBs nur von
> einer höheren 8.2er-Version auf owncloud 9 gelingt.

8.2.2 ist laut Paketinfo drauf.
Auf einem anderen eisfair1-Server habe ich das Update von 1.3.1 auf 1.4.0 gemacht; bis auf das
Memorylimitproblem verlief dies reibungslos:
> Installation of: owncloud (1.4.0) ...
> running preinstall.sh ...
> saving previous configuration file to /var/run/owncloud.install ...
> deinstalling previously installed software ...
> ownCloud maintenance mode: enabled
> deleting cron job ...
> removing program files ...
> directory structure /var/owncloud will be preserved!
> done.
> running install.sh ...
> creating symbolic links ...
> loading previous configuration file ...
> previous configuration found ...
> pre-adding new parameter(s) ...
> renaming parameter(s) ...
> modifying parameter(s) ...
> adding new parameter(s) ...
> deleting old parameters ...
> - OWNCLOUD_FORCE_SSL
> Press ENTER to continue 
> updating/creating configuration ...
> finished.
> creating owncloud configuration ...
> version: v1.4.0
> Apache2 SSL has been enabled ...
> db type: mysql
> MySQL php support has been enabled ...
> MySQL php socket has correctly been set ...
> MySQL support has been enabled ...
> MySQL password file could not be found ...
> trusted domain(s): mysql
> Redis php cache has been enabled ...
> Redis support has been enabled ...
> mail has been enabled ...
> activating PHP5 PCNTL module (/etc/php5/conf.d/pcntl.ini) ...
> copying program files (/var/www/htdocs/owncloud) ...
> creating ownCloud configuration ...
> creating logrotate configuration ...
> creating cron script ...
> running ownCloud upgrade routine ...
> ownCloud or one of the apps require upgrade - only a limited number of commands are available
> You may use your browser or the occ upgrade command to do the upgrade
>   - Hint: You can speed up the upgrade by executing this SQL command manually: ALTER TABLE `*PREFIX*filecache` ADD COLUMN checksum varchar(255) DEFAULT NULL AFTER permissions;
> Continue with update (y/n)
> FTER permissions;
> Continue with update (y/n)
> y
> Set log level to debug
> Turned on maintenance mode
> Checking whether the database schema can be updated (this can take a long time depending on the database size)
> Checked database schema update
> Checking updates of apps
> Checking whether the database schema for <activity> can be updated (this can take a long time depending on the database size)
> Checking whether the database schema for <files_external> can be updated (this can take a long time depending on the database size)
> Checking whether the database schema for <files_sharing> can be updated (this can take a long time depending on the database size)
> Checking whether the database schema for <files_trashbin> can be updated (this can take a long time depending on the database size)
> Checking whether the database schema for <notifications> can be updated (this can take a long time depending on the database size)
> Checked database schema update for apps
> Updating database schema
> Updated database
> Disabled incompatible app: bookmarks
> Disabled 3rd-party app: bookmarks
> Disabled incompatible app: calendar
> Disabled 3rd-party app: calendar
> Disabled incompatible app: contacts
> Disabled 3rd-party app: contacts
> Disabled incompatible app: documents
> Disabled 3rd-party app: documents
> Disabled 3rd-party app: files_locking
> Disabled 3rd-party app: files_videoviewer
> Disabled 3rd-party app: music
> Disabled 3rd-party app: news
> Disabled 3rd-party app: notes
> Disabled 3rd-party app: roundcube
> Disabled 3rd-party app: tasks
> Disabled 3rd-party app: updater
> Updating <files_pdfviewer> ...
> Updated <files_pdfviewer> to 0.8.1
> Updating <files_texteditor> ...
> Updated <files_texteditor> to 2.1
> Updating <gallery> ...
> Updated <gallery> to 14.5.0
> Updating <files> ...
> Updated <files> to 1.4.4
> Updating <activity> ...
> Updated <activity> to 2.2.1
> Updating <files_external> ...
> Updated <files_external> to 0.5.2
> Updating <files_sharing> ...
> Updated <files_sharing> to 0.9.1
> Updating <files_trashbin> ...
> Updated <files_trashbin> to 0.8.0
> Updating <files_versions> ...
> Updated <files_versions> to 1.2.0
> Updating <notifications> ...
> Updated <notifications> to 0.2.3
> Updating <provisioning_api> ...
> Updated <provisioning_api> to 0.4.1
> Starting code integrity check...
> PHP Fatal error:  Allowed memory size of 16777216 bytes exhausted (tried to allocate 20 bytes) in /var/www/htdocs/owncloud/lib/private/integritycheck/checker.php on line 311
> creating cron job ...
> ownCloud or one of the apps require upgrade - only a limited number of commands are available
> You may use your browser or the occ upgrade command to do the upgrade
> Set mode for background jobs to 'cron'
> finished.
> Do you want to restart the webserver now (recommended) (y/n) [yes]?
> Set mode for background jobs to 'cron'
> finished.
>  * Restarting Apache ...                                                                                                                             [  OK  ]
> Successfully installed: owncloud (1.4.0)!
> Press ENTER to continue

mit Nacharbeit (diverse occ Befehle; maintainance, upgrade,...) und apps2-Aktualisierungen lief alles wieder.

Nuja, ich habe alles gesichert, dann starte ich mal damit.

Danke,
Stefan



Mehr Informationen über die Mailingliste Eisfair