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

Bug #275790 reported by Tomas Cassidy
4
Affects Status Importance Assigned to Milestone
ampache (Ubuntu)
Fix Released
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

Revision history for this message
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

Revision history for this message
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

Revision history for this message
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
Revision history for this message
Charlie_Smotherman (cjsmo) wrote :

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

Revision history for this message
Tomas Cassidy (tomas-cassidy) wrote :

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

Revision history for this message
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
Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.