Hello Elias,

Could I ask you about showing output from the 'ls' command?

ls -la /opt/bacula/etc

Thanks in advance.

Best regards,
Marcin Haba (gani)

On Fri, 10 Mar 2023 at 00:08, Elias Pereira <empbi...@gmail.com> wrote:

>
> hi,
>
> I restarted with:
>
> systemctl restart apache2.service && systemctl restart php7.4-fpm.service
>
> reboot machine too and the error still occurs.
>
> Error Error 1000: Internal error. [Warning]
> file_put_contents(/opt/bacula/etc/bacula-dir.conf): failed to open stream:
> Permission denied (@line 64 in file
> /usr/share/bacularis/protected/vendor/bacularis/bacularis-common/Common/Modules/ConfigBacula.php).
>
> It seems to me that putting the www-data user in the bacula group had no
> effect.
>
> Any suggestions?
>
>
>
> On Thu, Mar 9, 2023 at 2:49 PM Marcin Haba <ganius...@gmail.com> wrote:
>
>> Hello Elias,
>>
>> If you use Bacula installed in /opt/bacula then the directory to set
>> permissions is /opt/bacula/etc, not /opt/bacula.
>>
>> After changing the web server user group, you need to restart PHP
>> (usually php-fpm) or the web server depending on how your web server uses
>> PHP.
>>
>> Please let us know if it helped.
>>
>> Good luck.
>>
>> Best regards,
>> Marcin Haba (gani)
>>
>> On Thu, 9 Mar 2023 at 17:16, Elias Pereira <empbi...@gmail.com> wrote:
>>
>>> hi,
>>>
>>> I installed bacularis, did the necessary sudo configuration, even
>>> followed the faq below to try to fix the permission error.
>>>
>>>
>>> https://bacularis.app/doc/brief/troubleshooting.html#permission-denied-error-when-saving-bacula-configuration
>>>
>>> - Include user www-data in the bacula group
>>> - I set permission 775 for the /opt/bacula folder
>>>
>>> Still the permission error occurs.
>>>
>>> Any ideas?
>>>
>>> --
>>> Elias Pereira
>>> _______________________________________________
>>> Bacula-users mailing list
>>> Bacula-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>>
>>
>>
>> --
>> "Greater love hath no man than this, that a man lay down his life for his
>> friends." Jesus Christ
>>
>> "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za
>> przyjaciół swoich." Jezus Chrystus
>>
>
>
> --
> Elias Pereira
>


-- 
"Greater love hath no man than this, that a man lay down his life for his
friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za
przyjaciół swoich." Jezus Chrystus
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to