Bug #809

MediaTomb - Debian

Added by bsk about 11 years ago. Updated almost 11 years ago.

Target version:
Start date:
Due date:
% Done:



Here are the outputs of the install and logs for MediaTomb on Debian

amahi-app-installer.log >
access_log >
error_log >
ls -l of /var/hda/web-apps/mediatomb/html/ > total 0

I get a 503 error on http://mediatomb


#1 Updated by cpg about 11 years ago

none of the pastes work for me. is decomissioned and the others seem to not resolve dns.


#2 Updated by bsk about 11 years ago

WOOPS, doing this from vm to local, changed them.

#3 Updated by eFfeM about 11 years ago

The strange/interesting thing is that the app-installer log does not seem to install mediatomb itself
bsk can you check if nslookup mediatomb works ? If that works dns is ok the app is only partially installed
Otherwise can't say too much about it as I have no clue what script/commands are executed that produce app-installer.log

#4 Updated by Lincee about 11 years ago

perhaps this clarifies things:

sudo: no tty present and no askpass program specified

This error message will occur if sudo is not able to ask for the password (no tty is present) (like for instance when trying to sudo rsync).

One solution to this is to add the line “Defaults visiblepw” to the /etc/sudoers file.

[Todd C. Miller Todd.Miller at said on sudo-users: Recent versions of sudo will refuse to prompt for a password if no tty is present, since it is not possible to turn off echo in this case. You can restore the old behavior with a line like above]

#5 Updated by SolaR about 11 years ago

Temporarily changed the install script to install the deb's as the RPM field isnt ready yet to support deb-packages.

The sudo problem is caused by some problem with the sudoers file.
It's under investigation.

#6 Updated by SolaR about 11 years ago

Ok, problem is with the sudoers file.
The specific amahi sudoers file ( /etc/sudoers.d/amahi ) should be changed to the following:

# Amahi related privileges

User_Alias      HDAUSER = www-data
Cmnd_Alias      HDAWEBAPPS = /var/hda/web-apps/*/elevated/,/var/hda/apps/*/elevated/,/var/hda/elevated
Defaults:HDAUSER       !requiretty

This should also fix all other sudo problems.

#7 Updated by bsk almost 11 years ago

  • Status changed from Assigned to Resolved

#8 Updated by bsk almost 11 years ago

  • % Done changed from 0 to 100

#9 Updated by bsk almost 11 years ago

  • Status changed from Resolved to Closed

Also available in: Atom