I ran into a problem in that the make step in the build process isn’t copying 
the .htaccess files to the build directory. 

chrisw@m910q:~$ ls -al /tmp/baculum-files/var/www/baculum/
total 84
drwxr-xr-x 5 root   root    4096 Nov  4 14:02 .
drwxr-xr-x 3 root   root    4096 Nov  4 14:02 ..
drwxr-xr-x 2 root   root    4096 Nov  4 14:02 assets
-rw-r--r-- 1 chrisw chrisw   400 Mar 22  2024 AUTHORS
-rw-r--r-- 1 chrisw chrisw  1089 Mar 22  2024 index.php
-rw-r--r-- 1 chrisw chrisw  2761 Mar 22  2024 INSTALL
-rw-r--r-- 1 chrisw chrisw 47180 Mar 22  2024 LICENSE
drwxr-xr-x 7 root   root    4096 Nov  4 14:02 protected
-rw-r--r-- 1 chrisw chrisw  1038 Mar 22  2024 README
drwxr-xr-x 3 chrisw chrisw  4096 Mar 22  2024 themes

However .htaccess îs present in the extracted archive so it looks like they got 
ignored.

chrisw@m910q:~$ ls -al /usr/src/bacula-gui-15.0.2/baculum/
total 164
drwxr-xr-x 8 chrisw chrisw  4096 Mar 22  2024 .
drwxr-xr-x 3 chrisw chrisw  4096 Mar 22  2024 ..
drwxr-xr-x 2 chrisw chrisw  4096 Mar 22  2024 assets
-rw-r--r-- 1 chrisw chrisw   400 Mar 22  2024 AUTHORS
drwxr-xr-x 5 chrisw chrisw  4096 Mar 22  2024 debian
drwxr-xr-x 8 chrisw chrisw  4096 Mar 22  2024 examples
-rw-r--r-- 1 chrisw chrisw   117 Mar 22  2024 .gitignore
-rw-r--r-- 1 chrisw chrisw   149 Mar 22  2024 .htaccess
-rw-r--r-- 1 chrisw chrisw  1089 Mar 22  2024 index.php
-rw-r--r-- 1 chrisw chrisw  2761 Mar 22  2024 INSTALL
-rw-r--r-- 1 chrisw chrisw 47180 Mar 22  2024 LICENSE
-rw-r--r-- 1 chrisw chrisw 14297 Mar 22  2024 LICENSE-FOSS
-rw-r--r-- 1 chrisw chrisw  7046 Mar 22  2024 Makefile
drwxr-xr-x 7 chrisw chrisw  4096 Mar 22  2024 protected
-rw-r--r-- 1 chrisw chrisw  1038 Mar 22  2024 README
-rw-r--r-- 1 chrisw chrisw 32486 Mar 22  2024 ReleaseNotes
drwxr-xr-x 2 chrisw chrisw  4096 Mar 22  2024 tests
drwxr-xr-x 3 chrisw chrisw  4096 Mar 22  2024 themes
-rw-r--r-- 1 chrisw chrisw  1700 Mar 22  2024 UPGRADE

I wrote a little script to do the steps. This ran without any error though the 
transcript doesn’t show the .htaccess files being copied. The make extract is 
below. These were on one line in the instructions but I split them up.

cd ${target}/bacula-gui-${ver}/baculum/ || exit #where the sources were 
extracted to
make build \
DESTDIR=${build} \
SAMPLETYPE=deb-template \
HTTPDNAME=apache2 \
HTTPDSITECONF=sites-available \
WWWDIR=${dest}/baculum

where
target=/usr/src
ver=15.0.2
build=/tmp/baculum-files
dest= /var/www/

I wonder if there is an additional build flag needed or perhaps I make a 
mistake?

Best
-Chris-




> On 4 Nov 2024, at 13:18, Marcin Haba <ganius...@gmail.com> wrote:
> 
> On Mon, 4 Nov 2024 at 13:36, Chris Wilkinson <winstonia...@gmail.com> wrote:
>> 
>> Are the instructions in the manual install section of the v15 operators 
>> guide at
>> 
>> https://www.bacula.org/15.0.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION0021210000000000000000
>>  the correct ones to follow?
> 
> Hello Chris,
> 
> Yes, I think it should be fine.
> 
> Best regards,
> Marcin Haba (gani)

_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to