Your message dated Wed, 26 Dec 2018 08:40:21 +0000
with message-id <[email protected]>
and subject line Bug#917096: fixed in graphite-web 1.1.4-2
has caused the Debian Bug report #917096,
regarding graphite-web on Apache stopped working after upgrade to 1.1.4
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.)
--
917096: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917096
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: graphite-web
Version: 1.1.4-1
Severity: important
Dear Maintainer,
when I upgraded my graphite-web installation on Debian testing from
1.0.2+debian-2.1 to the current 1.1.4-1 version, graphite-web stopped
working.
I'm using Apache 2.4, my configuration is exactly identical to the
sample configuration in /usr/share/graphite-web/apache2-graphite.conf
After the upgrade now all requests result in HTTP status 500:
192.168.x.y - - [22/Dec/2018:14:54:03 +0100] "POST /render HTTP/1.1" 500 707
"https://grafana.DOMAIN/dashboard/db/homematic?refresh=1m&orgId=1" "Mozilla/5.0
(Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/71.0.3578.98 Safari/537.36"
192.168.x.y - - [22/Dec/2018:15:00:13 +0100] "GET / HTTP/1.1" 500 707 "-"
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/71.0.3578.98 Safari/537.36"
The following error is logged in the apache error log:
[Sat Dec 22 15:00:14.306438 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] mod_wsgi (pid=8566): Target WSGI script
'/usr/share/graphite-web/graphite.wsgi' cannot be loaded as Python module.
[Sat Dec 22 15:00:14.306473 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] mod_wsgi (pid=8566): Exception occurred processing WSGI
script '/usr/share/graphite-web/graphite.wsgi'.
[Sat Dec 22 15:00:14.306496 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] Traceback (most recent call last):
[Sat Dec 22 15:00:14.306518 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] File "/usr/share/graphite-web/graphite.wsgi", line 14,
in <module>
[Sat Dec 22 15:00:14.306550 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] application = get_wsgi_application()
[Sat Dec 22 15:00:14.306562 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] File
"/usr/lib/python2.7/dist-packages/django/core/wsgi.py", line 13, in
get_wsgi_application
[Sat Dec 22 15:00:14.306582 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] django.setup(set_prefix=False)
[Sat Dec 22 15:00:14.306593 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] File
"/usr/lib/python2.7/dist-packages/django/__init__.py", line 22, in setup
[Sat Dec 22 15:00:14.306625 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] configure_logging(settings.LOGGING_CONFIG,
settings.LOGGING)
[Sat Dec 22 15:00:14.306635 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] File
"/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 56, in
__getattr__
[Sat Dec 22 15:00:14.306652 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] self._setup(name)
[Sat Dec 22 15:00:14.306661 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] File
"/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 41, in _setup
[Sat Dec 22 15:00:14.306676 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] self._wrapped = Settings(settings_module)
[Sat Dec 22 15:00:14.306685 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] File
"/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 110, in
__init__
[Sat Dec 22 15:00:14.306699 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] mod = importlib.import_module(self.SETTINGS_MODULE)
[Sat Dec 22 15:00:14.306708 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] File "/usr/lib/python2.7/importlib/__init__.py", line
37, in import_module
[Sat Dec 22 15:00:14.306724 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] __import__(name)
[Sat Dec 22 15:00:14.306744 2018] [wsgi:error] [pid 8566] [remote
192.168.145.2:50554] ImportError: No module named graphite.settings
When I replaced libapache2-mod-wsgi with libapache2-mod-wsgi-py3 (which
made sense, since the Changelog mentioned switching to Python 3),
everything started working again.
So maybe you should consider adding an entry to NEWS.Debian I'm not sure
what I missed when performing the upgrade.
The file /usr/share/doc/graphite-web/README.Debian still mentions the
Python 2 module:
| Quick manual to use Graphite with Apache:
| -----------------------------------------
|
| # Install Apache module wsgi:
| apt-get install libapache2-mod-wsgi apache2
Regards,
Sven
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (650, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.18.0-3-amd64 (SMP w/12 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages graphite-web depends on:
ii adduser 3.118
ii python 2.7.15-3
ii python3 3.7.1-2
ii python3-cairo 1.16.2-1+b1
ii python3-cairocffi 0.7.2-2.1
ii python3-django 1:1.11.17-2
ii python3-django-tagging 1:0.4.5-1
ii python3-pyparsing 2.2.0+dfsg1-2
ii python3-simplejson 3.15.0-1+b1
ii python3-six 1.12.0-1
ii python3-tz 2018.7-1
ii python3-urllib3 1.24-1
ii python3-whisper 1.1.4-2
graphite-web recommends no packages.
Versions of packages graphite-web suggests:
ii graphite-carbon 1.1.4-2
pn libapache2-mod-wsgi-py3 <none>
pn python3-ldap <none>
pn python3-memcache <none>
pn python3-mysqldb <none>
-- debconf-show failed
--- End Message ---
--- Begin Message ---
Source: graphite-web
Source-Version: 1.1.4-2
We believe that the bug you reported is fixed in the latest version of
graphite-web, 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.
Thomas Goirand <[email protected]> (supplier of updated graphite-web 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: Wed, 26 Dec 2018 08:35:26 +0100
Source: graphite-web
Binary: graphite-web
Architecture: source all
Version: 1.1.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Graphite Group <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description:
graphite-web - Enterprise Scalable Realtime Graphing
Closes: 917096
Changes:
graphite-web (1.1.4-2) unstable; urgency=medium
.
* Fix README to suggest installation of libapache2-mod-wsgi-py3, and added
NEWS about it (Closes: #917096).
Checksums-Sha1:
b3c88611588d1a853f0cd826f707b702ca716c49 2253 graphite-web_1.1.4-2.dsc
70a2fede622b2d26bea69de73bb8318bd7518a55 225880
graphite-web_1.1.4-2.debian.tar.xz
45e2e583c4e27543827e53faf36b2ed09a21bfa1 949244 graphite-web_1.1.4-2_all.deb
9246b60814f63abce503c0117c223426343733ff 7056
graphite-web_1.1.4-2_amd64.buildinfo
Checksums-Sha256:
735fa4f78db774a01355f38408481e1c1febd382effd61ed52c18fb42037e35c 2253
graphite-web_1.1.4-2.dsc
13138dc8b6121453f56d015dabbad71a90b93e19f0c299368c896464edcdd157 225880
graphite-web_1.1.4-2.debian.tar.xz
2581814cc80e576502788f53cd787050457f76b75556a921e98f61f2f03eb5a6 949244
graphite-web_1.1.4-2_all.deb
241d91d296def94a290efdaac9d766d21d38f9dc640270b2ce6a8dc4b54c1ac9 7056
graphite-web_1.1.4-2_amd64.buildinfo
Files:
524e2c99f5700440b261e82573db9a58 2253 web extra graphite-web_1.1.4-2.dsc
f04d2baaed14a11f884b5990495cad78 225880 web extra
graphite-web_1.1.4-2.debian.tar.xz
71fe64d5982bedbd194b587a9fde43ff 949244 web extra graphite-web_1.1.4-2_all.deb
824855fd3e12cc7aa72f4c2f70954e46 7056 web extra
graphite-web_1.1.4-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEtKCq/KhshgVdBnYUq1PlA1hod6YFAlwjMugACgkQq1PlA1ho
d6Z2txAAgTEhjrzubTJf7xIjbKmXZnU8TosF0hCUmnextaDDzzIIdqXv/C48C2W6
76/UuPlMue2gdmCR6Pp77Ri8A7KgYa4P9dvzpwEeNWtYDcnfSHixqw6cCGAck/n3
+ylIiO8JIsAXoaYTfJDMJku8gAiW4vjZmRPrV3VbmBepHFU7l2rfrYXhmy6Wtzk7
5h2qvL6jwruFe41vhOA5e0ylL6Hl+sDY/mxRzxr4OODu6UjeAtCqFuSB+3J2xeR9
gqE5qqkutT8P8WpCsCb8jMrD5coaFriY56e72jnceQDFSHJ4eLbVDTZGT32/irfF
6ZuG6pBiAFL7QHPyPYIzUodkHnGikdOYmM8hjI6xK4CL4G4ZUjst959ag2h2QJfK
Jt1F7/6r5qy+6GKketotjmAKvpSm6K8XMZTaTsOwX1U/HtA8O7uwEJeJnyvNevrT
VbOCsWJEEfuBAGqS3AQWrL3BeySZcSF3D2LCKr9Qo7OiA+ugxMQc7ZoFXh5LbLlE
J0NwVoxvExXWj+EeSJHIyWYaCKu+lW3/noRLMMi7H5pGR7THt8ie1mplOaRhT9sf
Tdy3M8dfuzDqbmAvONSvVCUB0aUd+uLSQcSPldWpMbRbYPEMAFiXYnUbTkR1ZCkr
q2RPjvjVQmJBGBn6ewsBmb/XBoZ+2yjY257z8zOukth82Sr89fU=
=z5mS
-----END PGP SIGNATURE-----
--- End Message ---