Home Forums Support Broken setup page

This topic contains 5 replies, has 2 voices, and was last updated by  Hillel Coren 3 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17756

    zjenko
    Participant

    Hi,

    After testing and tweaking ninja we’ve decided to scrap the test invoiceninja and start anew in a production enviroment. However after initial setup we get greeted by this – .

    Has anyone had this happen to them before? We have it set up on Ubuntu 16.04 with apache2 (followed this) on port 80. The database is not local however (and its not MariaDB but MySQL) but it worked on the test invoiceninja without problems so that shouldnt be the issue. Also if I input all the info on this setup page it throws the red banner with “Whoops something went wrong”.

    Br, Z

    #17758

    Hillel Coren
    Keymaster

    Are there any errors in the browser console, it looks like the CSS is failing to load.

    #17772

    zjenko
    Participant

    Indeed it would seem so.

    The log:

    Blocked loading mixed active content “http://ninja.sinergise.com/built.js?no_cache=4.5.7″[Learn More] setup
    Blocked loading mixed active content “http://ninja.sinergise.com/built.js?no_cache=4.5.7″[Learn More] setup
    Loading failed for the <script> with source “http://ninja.sinergise.com/built.js?no_cache=4.5.7”. setup:7:1
    Blocked loading mixed active content “http://ninja.sinergise.com/css/built.public.css?no_cache=4.5.7″[Learn More] setup
    Blocked loading mixed active content “http://ninja.sinergise.com/css/built.css?no_cache=4.5.7″[Learn More] setup
    Blocked loading mixed active content “http://ninja.sinergise.com/css/built.public.css?no_cache=4.5.7″[Learn More] setup
    Blocked loading mixed active content “http://ninja.sinergise.com/css/built.css?no_cache=4.5.7″[Learn More] setup
    ReferenceError: $ is not defined[Learn More] setup:120:7
    mailDriverChange
    https://ninja.sinergise.com/setup:120:7
    <anonymous>
    https://ninja.sinergise.com/setup:97:5
    Loading mixed (insecure) display content “http://ninja.sinergise.com/favicon.png?test” on a secure page[Learn More]

    • This reply was modified 3 months ago by  zjenko.
    #17775

    Hillel Coren
    Keymaster

    It looks like it’s related to HTTPS, it could be a configuration issue.

    #17777

    zjenko
    Participant

    Am trying but getting nowhere. It goes over http without a problem but if I try to run it through haproxy e.g. https it wont budge… I’ve tried setting .env to require HTTPS, changed APP_URL into http://IP:81 tried https aswell and also ninja.domain.com iterations… added TRUSTED_PROXIES our loadbalancer haproxy IP… what am I missing?

    • This reply was modified 3 months ago by  zjenko.
    #17788

    Hillel Coren
    Keymaster
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Posted in: