Hi everybody,
I’m a new starter on Pydio. Today i’ve got a problem with the public sharing / public link.
Indeed when i share a link with other users the page display :
“file_put_contents(/usr/share/pydio/tmp/failedAJXP.log) failed to open stream : Permission denied”
Did someone meet this problem ? And How resolve it.
Thanks.
Hi,
your issue might be that you didnt give the rights to www-data to the public folder, first thing you could try is give it rights, another thing might be to just clear the plugins cache.
Try those if the issue is not resolved come back here we will see it in details.
Hi, can you try to remove this file and try again, i had kinda the same issue when i was trying to reproduce your case "file_put_contents(/usr/share/pydio/tmp/failedAJXP.log) failed to open stream : Permission denied”
i didn’t do specific things but it was working again.
And if i may did you configure everything such as the rewrite rules, output_buffering = off.
I remove the failedAJXP.log and apply rights to all users. I didn’t have the error message, but nothing display on the page.
And Where is the rewrite rules, output_buffering = off ?
Hi,
you can find it in your php.ini,
to know where this file is located use php -i | grep "Loaded Configuration File"
then you go to this file and modify it, by default it will be output_buffering=4096.
Hi,
yes your apache2.conf seems fine but did you put the output_buffering to off.
By the way is your Download URL the same as your Pydio’s ? if yes you could just remove it and change the URI above to /pydio/public instead it will produce the same result, it will be http://**********/pydio/public when you share a link try it to see if it works this way.
Hi,
yeah i thought that it would mention php errors but it didn’t,
is a2enmod rewrite enabled.
edit : do you still get the file_put_contents(/usr/share/pydio/tmp/failedAJXP.log) failed to open stream : Permission denied”just refresh the page, i’ve reproduced it once more and i just needed to refresh the page.