---
title: Applications
project: SuperAdmin
version: 9.0
section: faq
language: en
license: MIT
url: https://totaljs.es/docs/superadmin/9-0/faq/applications/
updated: 2026-11-19T08:00:35.592Z
---

# Applications

> Common questions about running apps in SuperAdmin.

## 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](../../guides/logs-and-analyzator/).

A **Custom** app must listen on the port SuperAdmin gives it. See [Run a plain Node.js app](../../recipes/plain-nodejs-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](../../guides/change-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](../../reference/folders-and-files/).

## Can I edit index.js of my app?

No. 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`.
