Page 1 of 1

Apache error 403 after fresh manual install OS and Dashticz

Posted: Thursday 20 February 2025 21:38
by Afterburner
After running Dashticz V3 without problems for a couple of years on Ubuntu Server I decided to do a major upgrade of the OS as the old one is EOL.
I wanted to step over to Pi OS Bookworm.
https://dashticz.readthedocs.io/en/mast ... stall.html is my guide.
After the install I could get the Apache testpage on the IP adres of the Dashticz Pi. But... IP/dashticz/index.html delivered 403 Error. Forbidden You don't have permission to access this resource. The error.log says AH00037: Symbolic link not allowed or link target not accessible: /var/www/html/Dashticz. Whatever I tried, this error did not disappear.

As my 'old' system runs on Ubuntu server, I decided to return to that OS. I installed Ubuntu 24.04.2 LTS and repeated the manual install according the webpage above. Result: the same dammed error. After nearly two weeks of looking around for solutions I'am running out of options.

Anyone with a breakthrough idea?

Re: Apache error 403 after fresh manual install OS and Dashticz

Posted: Sunday 23 February 2025 16:49
by Lokonli
It seems it's not allowed to follow symbolic links.

Check your apache config file:
/etc/apache2/apache2.conf

You probably need to add something like this:

Code: Select all

<Directory /var/www/>
	Options Indexes FollowSymLinks
	AllowOverride None
	Require all granted
</Directory>


Re: Apache error 403 after fresh manual install OS and Dashticz

Posted: Sunday 23 February 2025 19:24
by Lokonli
or, add something similar to:

/etc/apache2/sites-available/000-default.conf

Re: Apache error 403 after fresh manual install OS and Dashticz

Posted: Monday 24 February 2025 22:37
by Afterburner
Thanks for your support.

apache2.conf already has the setting you suggested above, by default.

Adding settings to 000-default.conf didn't solve the problem.

I agree on your suggestion that the symlink is probably the cause of my trouble. But testing the link with sudo realpath or sudo -u <IP> ls -l ..... or simply clicking on de symlink dir didn't show any issue. Owner and filerights are the same as on the 'old' Dashticz etc... so I decided to skip the symlink completely as the purpose of it is not clear anyway.
I installed Dashticz in the DocumentRoot var/www/html which appeared to be the solution.......

Something wrong with the Manual install of Dashticz Master as described in the Dashticz doc??