Leantime / leantime

Leantime is a goals focused project management system for non-project managers. Building with ADHD, Autism, and dyslexia in mind.
https://leantime.io
GNU Affero General Public License v3.0
4.6k stars 596 forks source link

[Bug]: issue installing leantime on a raspberry Pi running under dietpi #2771

Open VLNTNO opened 1 week ago

VLNTNO commented 1 week ago

What is your set up?

Self Hosted Server

Version

3.2.1

Describe the issue

Hello,

When trying to install leantime I get a 404 status.

I have followed the instructions on the install page but it doesn't work: I get a 404 status when I try to reach the install page via the following URLs, from my laptop registered on the same network (home network):

Do you have any suggestion to help me fix my problem ?

Best regards

Valentin

Reproduction steps

  1. Follow the installation instructions
  2. Enter the http://leantime/install URL

Additional Notes

I have tried to install leantime on my raspberry pi which runs the dietpi OS version 9.8.

I have installed Apache and PHP 8.2.

My goal is to install leantime and make it accessible via a dedicated port, keeping the raspberry pi available to other web applications installed along with leantime,

I have created a hello world page stored on the /var/www/ folder. When accessing the http://leantime URL on my browser I can see the hello world page rendered.

The leantime folder is stored on the /var/www/html/ folder.

VLNTNO commented 1 week ago

Hello,

I have found the solution to my issue : as not mentioned in the installation instructions but mentioned somewhere in the issues and on reddit, I have added the following setup in the /etc/apache2/sites-available/leantime.conf file, inside the section:

    <Directory /var/www/html/leantime/public>
            AllowOverride All
    </Directory>

Question : is it correct and secure ?

Best regards Valentin