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.44k stars 582 forks source link

The requested URL /install was not found on this server. #215

Closed phillipm2001 closed 4 years ago

phillipm2001 commented 4 years ago

Hi,

I am trying to install Leantime under localhost. I have placed the leantime directory in the www directory. When I point to localhost/leantime/install I get a page headed Drive Impact, which invites me to install login credentials. After I do this, the get Not Found, The requested URL /install was not found on this server. Any help would be appreciated. leantime

marcelfolaron commented 4 years ago

Hi,

Seems like there are a couple of things going on:

  1. Did you use a release package or clone from master? If you cloned from master you will need to build the dependencies

For PHP composer install

For the javascript packages npm install

and then to build the files

./node_modules/grunt/bin/grunt Build-All

The latest release packages contain all of these files already.

  1. Seems like you are going with a subfolder installation? Please make sure to uncomment line 4 in public/.htaccess/
#RewriteBase /leantime/

Once all of that is done you should be able to run the installation without a problem

phillipm2001 commented 4 years ago

I am a bit of a novice so I think I would struggle with NPM and building files although I am willing to try.

In the past I have installed WordPress on localhost, configured the Mysql database and have had no issues. I thought I could do the same with Leantime.

With Leantime, I downloaded the files, installed them in a directory, installed a Mysql database (I am running WAMP) changed the configuration files with the Mysql details but that is as far as I could go.

All the .htaccess file says is:

RewriteEngine On RewriteRule ^(.*)$ public/$1 [L]

Thanks for your prompt reply.

phillipm2001 commented 4 years ago

Forgot to answer your question: This is where I got the release package from Installation (Production)

marcelfolaron commented 4 years ago

No problem, the goal is to make Leantime as easy to install as possible.

First let's make sure you downloaded the right package. I suggest downloading the 2.1 beta zip file from our website. It contains everything you need. https://leantime.io/download/

Unzip everything into your local directory.

Then navigate to leantime/public/ and open the .htaccess file This is the file that will contain the commented rewrite rule.

Then make sure your configuration.php is still filled out. In there make sure to set appURL to http://localhost/leantime

After that you should be able to open localhost/leantime/install and see the (nicely formatted) installation page

On Mon, Apr 20, 2020, 7:58 PM phillipm2001 notifications@github.com wrote:

Forgot to answer your question: This is where I got the release package from Installation (Production)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Leantime/leantime/issues/215#issuecomment-616921962, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALG4EFQ4RVTR7SJG3S63KALRNUDWRANCNFSM4MM5EISQ .

phillipm2001 commented 4 years ago

Hi Marcel,

It works. Thank you. What I did:

I deleted the files that I had downloaded before. I went to the page you indicated and downloaded the latest stable release. Last time, I downloaded the latest release, rather than the latest stable release.

I renamed the config file and entered the database credentials. This time I entered the appURL to http://localhost/leantime, as you suggested. I didn't do that before.

Thanks for your help. I appreciate it.

marcelfolaron commented 4 years ago

Great, glad it worked. Let me know if you have any other questions!

PS: We have a new community forum. Sign up to get the latest news and ask questions about Leantime and project management. Https://community.leantime.io https://community.leantime.io/

On Mon, Apr 20, 2020, 8:45 PM phillipm2001 notifications@github.com wrote:

Hi Marcel,

It works. Thank you. What I did:

I deleted the files that I had downloaded before. I went to the page you indicated and downloaded the latest stable release. Last time, I downloaded the latest release, rather than the latest stable release.

I renamed the config file and entered the database credentials. This time I entered the appURL to http://localhost/leantime, as you suggested. I didn't do that before.

Thanks for your help. I appreciate it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Leantime/leantime/issues/215#issuecomment-616934132, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALG4EFR3Z2ULORCVL4DUJFDRNUJF7ANCNFSM4MM5EISQ .