Done
Details
Details
Priority
Assignee
Alexandre Fournier
Alexandre FournierReporter
Sébastien Duthil
Sébastien DuthilApprovers
Pascal Cadotte
Fix versions
Sprint
None
Story Points
1
Zendesk Support
Zendesk Support
Created May 13, 2024 at 3:52 PM
Updated October 9, 2024 at 6:06 PM
Resolved October 7, 2024 at 7:34 PM
The script
xivo-fix-paths-rights
is run after each Wazo upgrade. It is slowing down the upgrade is some cases, e.g. when sound files are mounted to a remote file system.Since this script is a workaround for the Debian packaging to begin with, we should fix the Debian packaging up front and remove this script.
fblackburn's note
Steps to remove this script
Validate that asterisk paths (i.e. not /var/lib/wazo) are correctly chown by asterisk packaging
if not, then it should probably be added to asterisk packaging instead of this script
validate if www-data need to access these paths (maybe wazo-confd, wazo-calld?)
Remove all asterisk related paths (i.e. not related to wazo) if safe
Try to validate if sounds directory (/var/lib/wazo/sounds) is encouraged to be edited manually (documented, ask to support, etc..)
Remove this script execution from wazo-upgrade (pre-start.d) and make it manual only for troubleshooting
add small documentation, discussion with support, etc..
bonus: rename this script with a better name
Goal: check if the script is still needed and why files/folders have the wrong permissions. Create relates tasks for found issues.