Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Missing .env file on local install

Aleksandar Popovski   ( User )

Commented 4 years ago

I got a 500 error on invoice import and I am trying to figure out the issue. I read the docs on activating debug but I have no .env file inside the root of the installation. The installation went fine and there is no issue in how akaunting works. Any idea how to activate debug mode or locate/create .env file.

Thanks
Alex

Leonardo Gomes   ( User )

Commented 4 years ago

Hello Aleksandar.
It seems a bit weird to me. the .env contains really imporatant information such as your database information. So if it is the real case, you may see the login page(yet, i think it wont appear nothing), but when you insert your credentials you should not be able to login.

Can you give more information if you are using Windows, Mac or Linux? Are You using VsCode or something else to check the code? If you are using Windows, the option the "Show Hidden files" may be disable, in this case you won't be able to see the file.

Cheers,

Aleksandar Popovski   ( User )

Commented 4 years ago

Hello Leonarndo

Thank you for your help. I am using Linux . I can login and I can user akaunting without any problem except the import function that did not work and through out 500 error. That is why I wanted to activate debug mode . I am not using anything to check the code or I have not changed anything its just a fresh install. Here all the files in the root taken from cli.

config nginx.example.com.conf storage
app database overrides vendor
artisan index.php public web.config
bootstrap LICENSE.txt resources
cgi-bin manifest.json routes
composer.json modules serviceworker.js


Thank you again for the help
Alex

Aleksandar Popovski   ( User )

Commented 4 years ago

config
nginx.example.com.conf
storage
app
database
overrides
vendor
artisan
index.php
public
web.config
bootstrap
LICENSE.txt
resources
cgi-bin
manifest.json
routes
composer.json
modules
serviceworker.js

Leonardo Gomes   ( User )

Commented 4 years ago

Hey Again Alex.

Open a terminal and go to your project folder.
Then run the command "ls -la"

Post the result here please!

Aleksandar Popovski   ( User )

Commented 4 years ago

Thank you Leonardo , found it. It showed up in the ls list.

Leonardo Gomes   ( User )

Commented 4 years ago

That's Great ;)

Please login or register to leave a response.

Showing 1 to 7 of 7 discussions