Your message dated Fri, 29 Nov 2013 21:20:05 +0000 with message-id <[email protected]> and subject line Bug#717522: fixed in drupal7 7.24-2 has caused the Debian Bug report #717522, regarding drupal7: errors when executing the shell cron job to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 717522: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717522 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: drupal7 Version: 7.22-2 Severity: normal Tags: patch Dear Maintainer, I am running into troubles with the current cron shell script. There are basically two issues: 1) I redirect all my traffic from http to https using a self-signed certificate. Curl complains about this and does not execute the http request. 2) I use a multisite installation without any "default" site. The cron script insist in calling the default configuration generating also errors. I propose the following script solving the issues. #!/bin/sh for site in /etc/drupal/7/sites/* ; do BASE_URL="" CRON_KEY="" FULL_URL="" if [ ! "`basename $site`" = "all" ]; then for file in $site/baseurl.php $site/settings.php; do [ -f "$file" ] && BASE_URL=`grep '^$base_url' $file | cut -d"'" -f2` [ "X$BASE_URL" != "X" ] && break done for file in $site/cronkey.php $site/settings.php; do [ -f "$file" ] && CRON_KEY=`grep '^$cron_key' $file | cut -d"'" -f2` [ "X$CRON_KEY" != "X" ] && break done if [ "X$BASE_URL" = "X" ] ; then if [ -f "$site/settings.php" ]; then BASE_URL='http://localhost/drupal7' else break fi fi if [ "X$CRON_KEY" = "X" ] ; then FULL_URL="$BASE_URL/cron.php" else FULL_URL="$BASE_URL/cron.php?cron_key=$CRON_KEY" fi if curl -S --fail --silent --compressed --insecure --location $FULL_URL ; then # Success! true else echo "Error running the periodic maintenance for $site: CURL exit code $?" echo "Requested URL: $FULL_URL" fi fi done -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (800, 'testing'), (40, 'unstable'), (30, 'stable'), (20, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages drupal7 depends on: ii apache2 2.2.22-13 ii apache2-mpm-prefork [httpd] 2.2.22-13 ii curl 7.31.0-2 ii dbconfig-common 1.8.47+nmu1 ii debconf [debconf-2.0] 1.5.50 ii exim4-daemon-heavy [mail-transport-agent] 4.80-7 ii php5 5.4.4-15.1 ii php5-gd 5.4.4-15.1 ii php5-pgsql 5.4.4-15.1 ii postgresql-client 9.3+142really9.1+145 ii postgresql-client-9.1 [postgresql-client] 9.1.9-2+b1 ii wwwconfig-common 0.2.2 Versions of packages drupal7 recommends: ii postgresql 9.3+142really9.1+145 drupal7 suggests no packages. -- Configuration Files: /etc/drupal/7/sites/default/settings.php [Errno 2] No such file or directory: u'/etc/drupal/7/sites/default/settings.php' -- debconf information: drupal7/pgsql/changeconf: false drupal7/dbconfig-remove: drupal7/pgsql/authmethod-user: drupal7/db/basepath: drupal7/upgrade-error: abort * drupal7/dbconfig-install: true drupal7/purge: false drupal7/upgrade-backup: true drupal7/pgsql/manualconf: * drupal7/database-type: mysql drupal7/internal/reconfiguring: false drupal7/install-error: abort drupal7/remote/port: drupal7/remove-error: abort drupal7/mysql/admin-user: root drupal7/pgsql/admin-user: postgres drupal7/missing-db-package-error: abort drupal7/dbconfig-upgrade: true drupal7/remote/host: drupal7/db/app-user: drupal7 drupal7/pgsql/authmethod-admin: ident drupal7/db/dbname: drupal7 drupal7/pgsql/no-empty-passwords: drupal7/internal/skip-preseed: false drupal7/passwords-do-not-match: drupal7/dbconfig-reinstall: false drupal7/mysql/method: unix socket drupal7/pgsql/method: unix socket drupal7/remote/newhost:
--- End Message ---
--- Begin Message ---Source: drupal7 Source-Version: 7.24-2 We believe that the bug you reported is fixed in the latest version of drupal7, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Gunnar Wolf <[email protected]> (supplier of updated drupal7 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 29 Nov 2013 13:27:45 -0600 Source: drupal7 Binary: drupal7 Architecture: source all Version: 7.24-2 Distribution: unstable Urgency: low Maintainer: Luigi Gangitano <[email protected]> Changed-By: Gunnar Wolf <[email protected]> Description: drupal7 - fully-featured content management framework Closes: 669742 717522 Changes: drupal7 (7.24-2) unstable; urgency=low . * Update packaging+instructions for the Apache 2.4 configuration style changes (Closes: #669742) * Avoid some errors when running the cron shell script (Closes: #717522) * Debian policy updated to 3.9.5.0 (no changes needed) Checksums-Sha1: 00bdeaf067658d6fea60a7af4df4f136485325a1 1855 drupal7_7.24-2.dsc 80bf14ee7730e224c6c19e42f70d245703426465 192918 drupal7_7.24-2.debian.tar.gz da94acc697f3da77a1eccb337495ac9b913c38a1 2452978 drupal7_7.24-2_all.deb Checksums-Sha256: 9792c801716ba1d3f92c8c9f00972862025b63be0f004d98b797e2c77bade0d5 1855 drupal7_7.24-2.dsc 66999911a77426420ed543566c4f2c30aadb9dbc984ba9784121c708f77e3712 192918 drupal7_7.24-2.debian.tar.gz 7d8a6f109b4654574c6a7ec6df5329de3b550a97296259837f521a2bd0a23200 2452978 drupal7_7.24-2_all.deb Files: e725e27515e8542fe2a1b01f48096203 1855 web extra drupal7_7.24-2.dsc a601c8284269ba7bd6de182628ff727f 192918 web extra drupal7_7.24-2.debian.tar.gz 39f005a147107cdfb4e0ae847c2c4c5f 2452978 web extra drupal7_7.24-2_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQIcBAEBCAAGBQJSmPwZAAoJEGc6A+TB25Ifvo4QAItdut9PNHPxFfPr0mIo4wXR I5h+vBcJdEuIl0oDXDZH0V6uzdrKKdFO+YFuRJZXH6UjT87KRzt4N63nbfiqJmJX 4deuhtPi88AzobCkFZTdIPeTci1UBY1YfJkLIBnWP7iCFbo+5P92aHC3Ky24/u4k t0a+BW/XclfvgQ9EzkdzTtAuUxqgdZRGUEIY0xQhO1MwlHzkW27ydtGrjt0uDhOU T8oxiJm7DvvhClQrTzGrrF+4drGcjjoFWDcTiGNGmss2evSh8zeqy7RpGXvAD0Xk 7z3OLb6s2plWv3HvouI/lyQ/OuxnqcVOtQLKBP9GSZ1ZHVu4/Q7171iGQKXpvaVC nnQDXmvA9G9QWbj/7SvFSrt9DDEq+qyazHkABFnyy6TbcsdQn3q6HLykZ6l18hph m1FUKKK2KkjUEb9JI1LxfXZ6p6bzLKuyYOfhWlRj4Oz2zmitoN2Q5Ze7tkH06B8n F/ocXw48ET/q8K8mTNv/F+BqV/r98uklPXaA3gCXQQVSAD7EbneLzyFS+dHC0g0m dre5p6bfL5m3SI66HaaIyE4kPuiArD2SwEVoAL6l3+HIS4pkLNTQRr28NL5+1mve JusDS7QWQo856dUPxllYDjSeAYWoBUBFutyXHLrDq2olFhcvoVRpWDTJOe0rnbBm CbzZMO3HUQcUWU3tgi5V =hb7b -----END PGP SIGNATURE-----
--- End Message ---

