"/var/www/fusionpbx/app/provision/y000000000000.boot" failed (2: No such file or directory)

Status
Not open for further replies.

salabier

New Member
Jan 23, 2024
3
0
1
40
Hello,

I'm getting this error whenever a Yealink phone requests .boot files during provisioning.

[error] 471#471: *1591 open() "/var/www/fusionpbx/app/provision/y000000000000.boot" failed (2: No such file or directory)

I noticed that the .boot file is not being served by Nginx:
/etc/nginx/sites-available/fusionpbx

#yealink
#rewrite "^.*/provision/(y[0-9]{12})(\.cfg|\.boot)?$" /app/provision/index.php?file=$1$2; <<------
rewrite "^.*/provision/(y[0-9]{12})(\.cfg)?$" /app/provision/index.php?file=$1.cfg;
rewrite "^.*/provision/([A-Fa-f0-9]{12})(\.(xml|cfg))?$" /app/provision/index.php?mac=$1 last;

The rewrite line that contains it is commented out. Is there a security risk if I add the .boot to the the second rewrite line?

Thanks,
Rowan
 
Status
Not open for further replies.