DSM 6.0 + OwnCloud 8.2.X.X PHP + Cron Fehler

Status
Für weitere Antworten geschlossen.

dannyno1

Benutzer
Mitglied seit
05. Apr 2016
Beiträge
2
Punkte für Reaktionen
0
Punkte
0
Hallo zusammen,

ich habe vor paar Tagen wohl oder übel (Auto-Update) auf die DSM 6.0 Version geupdated und habe beim Zusammenspiel mit OwnCloud und der Web Station jetzt einige Probleme die es vorher nicht gab.

Fehler von der OwnCloud Applikation:

1_Cron.jpg

Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. at Unknown#0 2016-04-05T07:54:23+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver 2016-04-05T07:40:02+00:00
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. at Unknown#0 2016-04-05T07:35:26+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver 2016-04-05T10:35:02+00:00
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. at Unknown#0 2016-04-05T10:33:28+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver 2016-04-05T10:30:02+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver 2016-04-05T10:25:02+00:00
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. at Unknown#0 2016-04-05T10:21:28+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver 2016-04-05T10:20:02+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver 2016-04-05T10:15:02+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver 2016-04-05T10:10:02+00:00
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. at Unknown#0 2016-04-05T10:09:28+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver 2016-04-05T10:05:02+00:00
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. at Unknown#0 2016-04-05T10:21:28+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver 2016-04-05T10:20:02+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver 2016-04-05T10:15:02+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver 2016-04-05T10:10:02+00:00
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. at Unknown#0 2016-04-05T10:09:28+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver 2016-04-05T10:05:02+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver 2016-04-05T10:00:02+00:00
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. at Unknown#0 2016-04-05T09:57:28+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver 2016-04-05T09:55:02+00:00
Fatal cron Failed to connect to the database: An exception occured in driver: could not find driver

2_Log.jpg

Die Cron-Jobs lasse ich über den Aufgabenplaner laufen:

su -s /bin/sh -c "/usr/bin/php -f /volume1/web/owncloud/cron.php" http

3_Web Station.jpg

Ich hoffe Ihr könnt mir den einen oder anderen Gedankenanstoß geben, damit die OwnCloud wieder wie gewünscht läuft.
 

goetz

Super-Moderator
Teammitglied
Sehr erfahren
Mitglied seit
18. Mrz 2009
Beiträge
14.145
Punkte für Reaktionen
389
Punkte
393
Hallo,
für den cron Job /usr/local/bin/php56 nehmen.

Gruß Götz
 

dannyno1

Benutzer
Mitglied seit
05. Apr 2016
Beiträge
2
Punkte für Reaktionen
0
Punkte
0
Klasse, danke für die schnelle Hilfe :cool:
 

maalik

Benutzer
Mitglied seit
05. Feb 2016
Beiträge
705
Punkte für Reaktionen
11
Punkte
38
Ich kram das hier mal raus. Ich habe cronjobs erfolgreich implementiert, jedoch erscheint weiterhin der Fehler

Rich (BBCode):
Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. at Unknown#0

Ich meine, dass das jedoch erst seit dem PHP-Update auftaucht. Hat jemand das gleiche Problem?
Den Cronjob habe ich implementiert und er funktioniert auch.
Rich (BBCode):
*/15    *       *       *       *       root   /bin/su -s /bin/sh -c "/usr/local/bin/php56 -f /volume1/web/owncloud/cron.php" http

Liebe Grüße
 

Andy+

Benutzer
Sehr erfahren
Mitglied seit
25. Jan 2016
Beiträge
5.338
Punkte für Reaktionen
469
Punkte
189
Ich bin jetzt auf DSM 6.1.1 und verwende den Eintrag

/bin/su -s /bin/sh -c "/usr/local/bin/php56 -f /volume1/web/owncloud/cron.php" http

und trotzdem laeuft die cron.php seit der Umstellung von DSM 5.2 nicht mehr. Mit DSM 5.2 hat das mit dem Eintrag

/bin/su -s /bin/sh -c "/usr/bin/php -f /volume1/web/owncloud/cron.php" http

noch funktioniert.
 

maalik

Benutzer
Mitglied seit
05. Feb 2016
Beiträge
705
Punkte für Reaktionen
11
Punkte
38
Rich (BBCode):
Moin Andy

das hier funktioniert bei mir ohne Probleme:
Rich (BBCode):
/bin/su -s /bin/sh -c "/usr/local/bin/php56 -f /volume1/web/nextcloud/cron.php" http

Hast du mal alle Verzeichnisrechte neu auf http gestellt?

Rich (BBCode):
chown -R http:http /volume1/web/

Und Cron neu eingeladen?

Rich (BBCode):
synoservicecfg --restart crond
 

Andy+

Benutzer
Sehr erfahren
Mitglied seit
25. Jan 2016
Beiträge
5.338
Punkte für Reaktionen
469
Punkte
189
Vergleichbar habe ich das mit ownCloud gemacht. Mit DSM 6.0.x ging das auch noch...
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat 

 
 
  AdBlocker gefunden!

Du bist nicht hier, um Support für Adblocker zu erhalten. Dein Adblocker funktioniert bereits ;-)

Klar machen Adblocker einen guten Job, aber sie blockieren auch nützliche Funktionen.

Das Forum wird mit hohem technischen, zeitlichen und finanziellen Aufwand kostenfrei zur Verfügung gestellt. Wir zeigen keine offensive Werbung und bemühen uns um eine dezente Integration.

Bitte unterstütze dieses Forum, in dem du deinen Adblocker für diese Seite deaktivierst.

Du kannst uns auch über unseren Kaffeautomat einen Kaffe ausgeben oder ein PUR Abo abschließen und das Forum so werbefrei nutzen.

Vielen Dank für Deine Unterstützung!