Spanish Total.js
English
Documentation For AI agents
Contents

Applications

Common questions about running apps in SuperAdmin.

.md GitHub
On this page

My app answers "502 Bad Gateway"

Nginx cannot reach the app. The app is stopped, is still starting, or stopped with an error. Select Show logs to read the log, then Restart. See Logs and analyzator.

A Custom app must listen on the port SuperAdmin gives it. See Run a plain Node.js app.

My change to a file does not show

In release mode, an app reads its files only when it starts. Select Restart, or use debug mode while you work on the app.

I changed a setting and nothing happened

Some settings take effect at the next start. See Change application settings.

Why are there files named superadmin.pid and superadmin.socket in my app?

SuperAdmin stores the process id of the app in superadmin.pid. superadmin.socket is the Unix socket between Nginx and the app. Do not remove or open them. See Folders and files.

Can I edit index.js of my app?

  1. SuperAdmin writes index.js again on every start of a Total.js app. Put your code in the usual Total.js folders, such as controllers/ and definitions/.

How do I see the requests to my app?

Select Enable access logging in the settings of the app. Nginx then writes each request to /www/logs/<folder name>--access.log.

Made in Europe