Tycho
Welcome, Guest
Please Login or Register.    Lost Password?
File delete problems with TrixBox (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: File delete problems with TrixBox
#49
File delete problems with TrixBox 11 Years ago  
According to the FAQ, file deletes should only be a problem if the webserver is not using the same user account as asterisk. With TrixBox, both processes are ran under the 'asterisk' user account. The voicemail files are owned by asterisk:asterisk and apache is running as asterisk. Hence, this shouldn't be an issue.

However, trying to delete a file still fails with:

Could not delete message
java.lanf.Exception
"/var/spool/asterisk/voicemail/default/200/INBOX/msg0041"
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#51
Re:File delete problems with TrixBox 11 Years ago Karma: 0  
Please post the result of the follwing commandline:
"ls -lR /var/spool/asterisk/voicemail/default/200"
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#52
Re:File delete problems with TrixBox 11 Years ago Karma: 0  
Please follow the instructions in the FAQ anyway. This will probably solve your problem. It did for other Trixbox users as well.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#53
emdee ()
Click here to see the profile of this user
Birthdate:
Re:File delete problems with TrixBox 11 Years ago  
Have you noticed that the message comes up, saying "could not delete message", but when you refresh the view, the message is deleted anyway?

Thats what I get on my Trixbox setup.

Because it actually does delete the message, I havn't tracked down why the error comes up.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#383
Re:File delete problems with TrixBox 9 Years, 6 Months ago  
I have the same problem here with Trixbox... any idea on how to fix it?
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
#384
Re:File delete problems with TrixBox 9 Years, 6 Months ago Karma: 0  
Gabriel wrote:
QUOTE:
I have the same problem here with Trixbox... any idea on how to fix it?


Did you look at these instructions?See sticky Topic "FAQ: Problems copying and deleting files" above.

Unluckily there is no easier way to accomplish this. The problem is that the php-scripts on webserver need to able to delete the voicemail files. For this they need write access. Now asterisk usually safes them under his userid and let noone else write. You need to change this like described in the FAQ.

In case you have problems following the FAQ ask here.

cheers,

Arnd
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Report to moderator   Logged Logged  
  Reply Quote
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Warning: fopen(/opt/cms/ss/components/com_sef/cache/shCacheContent.php) [function.fopen]: failed to open stream: Permission denied in /opt/cms/ss/components/com_sef/shCache.php on line 112