[intrepid] missing /etc/apache2/conf.d/ampache.conf

Bug #275790 reported by Tomas Cassidy on 2008-09-29
4
Affects Status Importance Assigned to Milestone
ampache (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: ampache

The ampache package for intrepid appears to be missing the symlink at /etc/apache2/conf.d/ampache which points to /etc/ampache/ampache.conf. This prevents ampache from being browsable in Firefox.

$ ls /etc/apache2/conf.d/ampache
ls: cannot access /etc/apache2/conf.d/ampache: No such file or directory

Related branches

Charlie_Smotherman (cjsmo) wrote :

Thank you for your bug report. There is this code in ampache.postinst

      if [ ! -f /etc/$webserver/conf.d/ampache ] && [ ! -h /etc/$webserver/conf.d/ampache ]; then
         ln -s /etc/ampache/ampache.conf /etc/$webserver/conf.d/ampache
      fi
this should have made the symlink.

I am downloading Intrepid-Alpha6 image and will be doing a test install to see if I can reproduce this behavior.

Downloaded current version of ampache from the archives with dget -x

pbuilder +B91dpkg-i hooks completed with no errors noted.

Charlie

Tomas Cassidy (tomas-cassidy) wrote :

I just ran "apt-get purge ampache && apt-get update && apt-get install ampache" and still haven't got that symlink created.

$ apt-cache policy ampache
ampache:
  Installed: 3.4.3-0ubuntu1
  Candidate: 3.4.3-0ubuntu1
  Version table:
 *** 3.4.3-0ubuntu1 0
        500 http://au.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

Tomas Cassidy (tomas-cassidy) wrote :

How do i locate ampache.postinst in the package that I installed? I noticed that the deb file is cached in /var/cache/apt/archives/ampache_3.4.3-0ubuntu1_all.deb but I have no idea how to open it up to look inside.

description: updated
Charlie_Smotherman (cjsmo) wrote :

Look in /var/lib/dpkg/info/ampache.postinst. You can open it with a text editor.

Tomas Cassidy (tomas-cassidy) wrote :

I havent been able to test this fix as I don't know how to update a .deb file.

Charlie_Smotherman (cjsmo) wrote :

I can confirm this bug, thanks Tomas. I am currently testing the fix submitted by Tomas and will generate the needed debdiff. Assigning to me, Setting status to in progress

Changed in ampache:
assignee: nobody → cjsmo
status: New → In Progress
Charlie_Smotherman (cjsmo) wrote :

I have tested Tomas fix and it worked perfectly, thanks again Tomas. Attaching ampache-3.4.3.debdiff, subscribing Ubuntu Universe Sponsors, changing status to fix commited, assigning to no one.

Changed in ampache:
assignee: cjsmo → nobody
status: In Progress → Confirmed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ampache - 3.4.3-0ubuntu2

---------------
ampache (3.4.3-0ubuntu2) intrepid; urgency=low

    * Fixed debian/ampache.postinst to create symlink. (LP: #275790)

 -- Charlie Smotherman <email address hidden> Mon, 29 Sep 2008 21:33:27 -0500

Changed in ampache:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers