Home Forums Support Installing self-hosted offline – Doesn't work

This topic contains 6 replies, has 3 voices, and was last updated by  Hillel Coren 3 weeks, 5 days ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #23010

    Equilibrium3
    Participant

    Hello

    Technically this is not a new topic. And it is not urgent.

    However I have found it impossible to actually install InvoiceNinja on Xammp for windows. Or on Ampss for Linux.

    Bitnami no longer has Invoice Ninja in there directory.

    I have windows 10. And also Deepin 15.
    Either way have tried and failed.
    Have used rosehosting tutorial and the other one. Actually all on linux.
    Have found no assistance for xammp besides recomendations of bitnami.

    Just looking for anyone who has done a successful offline installation as of 2019.
    On windows or Debian/Ubuntu Linux.

    Thanks

    #23012

    Hillel Coren
    Keymaster

    Are you seeing a specific error?

    #23033

    CadmiumTelluride
    Participant

    @equilibrium3 I have installed Invoice Ninja locally in XAMPP on windows 10. Please provide more information on you setup and the errors you are receiving. As a starting point I used the XAMPP installation that includes MariaDB.

    #23034

    Equilibrium3
    Participant
    [2019-10-23 23:39:55] production.ERROR: TypeError: doc is undefined  {"context":"JavaScript","user_id":1,"account_id":"1","user_name":"Shaneel Maharaj","method":"GET","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","locale":"en","ip":"197.185.101.157","count":1,"is_console":"no","is_api":"no","db_server":"mysql","url":"log_error"} []
    [2019-10-23 23:53:43] production.ERROR: Error: No URL provided.  {"context":"JavaScript","user_id":1,"account_id":"1","user_name":"Shaneel Maharaj","method":"GET","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","locale":"en","ip":"197.185.101.157","count":2,"is_console":"no","is_api":"no","db_server":"mysql","url":"log_error"} []
    [2019-11-01 22:05:13] production.ERROR: ***ErrorException*** [0] : /home/lastonec/public_html/pvt/inv/app/Http/Controllers/BotController.php [Line 167] => file_get_contents(https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/ea1cda29-5994-47c4-8c25-2b58ae7ae7a8?subscription-key=&verbose=true&q=sbo): failed to open stream: HTTP request failed! HTTP/1.1 401 PermissionDenied   {"context":"PHP","user_id":1,"account_id":"1","user_name":"Shaneel Maharaj","method":"POST","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","locale":"en","ip":"197.185.108.90","count":1,"is_console":"no","is_api":"no","db_server":"mysql","url":"handle_command"} []
    [2019-11-24 14:25:24] production.ERROR: ReferenceError: onDownloadClick is not defined  {"context":"JavaScript","user_id":1,"account_id":"1","user_name":"Shaneel Maharaj","method":"GET","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","locale":"en","ip":"197.185.100.89","count":1,"is_console":"no","is_api":"no","db_server":"mysql","url":"log_error"} []
    [2019-12-01 13:33:46] production.ERROR: ReferenceError: onDownloadClick is not defined  {"context":"JavaScript","user_id":1,"account_id":"1","user_name":"Shaneel Maharaj","method":"GET","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","locale":"en","ip":"197.185.104.184","count":1,"is_console":"no","is_api":"no","db_server":"mysql","url":"log_error"} []
    [2019-12-01 14:24:44] production.ERROR: ***ErrorException*** [0] : /home/lastonec/public_html/pvt/inv/app/Http/Controllers/BotController.php [Line 167] => file_get_contents(https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/ea1cda29-5994-47c4-8c25-2b58ae7ae7a8?subscription-key=&verbose=true&q=mediacorp): failed to open stream: HTTP request failed! HTTP/1.1 401 PermissionDenied   {"context":"PHP","user_id":1,"account_id":"1","user_name":"Shaneel Maharaj","method":"POST","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0","locale":"en","ip":"197.185.104.184","count":2,"is_console":"no","is_api":"no","db_server":"mysql","url":"handle_command"} []
    #23035

    CadmiumTelluride
    Participant

    Those errors seem to be from another application. Are you running another web server simultaneously? It can interfere with the default XAMPP setup.

    #23042

    Equilibrium3
    Participant

    I don’t believe so.
    It’s only xammp.
    If I visit the localhost/Invoice Ninja folder it just takes me to a directory view of the folder within my browser

    #23045

    Hillel Coren
    Keymaster

    What do you see if you add /public to the end of the URL?

    The best practice is to map the server web root to the public folder.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

Posted in: