Git Product home page Git Product logo

Comments (4)

nav064 avatar nav064 commented on May 26, 2024 1

Thanks for this, @ar2rsawseen.
That explains.
Strangely, my nginx error_log does not show a thing!
I copied the .conf to my nginx conf.
That does the rest of the magic.

from countly-server.

ar2rsawseen avatar ar2rsawseen commented on May 26, 2024

Hello
It looks like it can load all the files except the production-minified files.
It may have had some problems minifying files.

You can try to re-minify production files again by running:

countly task dist-all

and providing us with the output if there are errors
or you can disable production mode and view the dashboard in development mode by running the command

countly config "frontend.production" false

from countly-server.

nav064 avatar nav064 commented on May 26, 2024

I am using a machine which has 1G RAM.
So running OOM for prod build.
Trying the dev mode @ar2rsawseen.
Now, it is looking like the app creation is failing with 404.
GET https://api.samyojya.com/i/apps/create?args=%7B%22timezone%22%3A%22Asia%2FCalcutta%22%2C%22key%22%3A%22d204981641a921bbab50e0a5b1184be5dad906e6%22%2C%22name%22%3A%22samyojya%22%2C%22type%22%3A%22web%22%2C%22country%22%3A%22IN%22%7D 404 (Not Found)

Mongo DB seems to be OK.
Double-checked that countly/frontend/express/public/javascripts/countly.config.js is OK.
May be it's something on the frontend express app? Should I look for something on countly/log/countly-api.log ? It seems to log lot of jobs.

from countly-server.

ar2rsawseen avatar ar2rsawseen commented on May 26, 2024

ah yes, unfortunately, Sass and Uglify need lots of resources to build their things. So Dev mode is the way to go.

For app creation, it looks like /i/apps/create endpoint goes to the dashboard process on 6001 port, all endpoints that start with /i or /o should go to API workers on 3001 port, which usually indicate bad nginx config
It should look like this:
https://github.com/Countly/countly-server/blob/master/bin/config/nginx.server.conf#L8-L38

from countly-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.