# Troubleshooting

When something does not work, the server nearly always says why, somewhere. This page says where to look, and lists the usual causes by what you see.

## How to look

1. **Say exactly what fails.** Who, from where, with which program, at what time, with what message.
2. **Try it yourself**, with the same user if you can, from another network if it is about reaching the server.
3. **Read the log for that minute**: [Log](Admin-Log.md). Filter by the user or the address.
4. **If the log says too little**, turn on more: debug level 2 for the time of one try, with the kinds that fit: [What is logged](Prefs-Logging-Events.md). Turn it off again.
5. **Change one thing**, and try again.

## The tools

| Tool | For |
|---|---|
| [Log](Admin-Log.md) | what happened, line by line, with a filter |
| [Server errors](Admin-Server-Errors.md) | errors the server collected, in one list |
| [Startup notices](Admin-Startup-Notices.md) | what the server found wrong when it started |
| [Sessions](Admin-Sessions.md) | who is connected now, and each session's own log |
| [Telnet](Admin-Telnet.md) | whether the server itself can reach another machine and port |
| [Testing settings](Prefs-General-Tests.md) in Preferences | sending a test mail and a test SMS |
| [Health checks](Monitoring-Health.md) | whether the server is up, as a web address to ask |
| [Dashboard](Admin-Dashboard.md), [Overview](Admin-Overview.md) | memory, threads, connections |
| the [AI assistant](Prefs-AI-Assistant.md), if set up | explaining a log or a thread dump |
| [My Activity](My-Activity.md) and [Reports](Reports.md) | what a user did, and what happened to a file |

## The server does not start

| What you see | Cause |
|---|---|
| "CrushMFT 27 requires Java 21 or later (Java 25 or later is recommended)." | an old Java. Install a current one, or name it in the start script or the launcher's `.conf`: [Java and memory settings](Java-and-Memory.md). |
| it starts and ends at once; the start script says FIPS mode could not start, exit code 78 | [FIPS mode](FIPS-Mode.md) was asked for and something it needs is missing. `java -jar CrushMFT.jar -FIPS_CHECK` in the server's folder lists what. |
| it runs, but a port does not answer | another program has the port, or the server may not open it. Ports below 1024 need rights on Linux: run on a high port and redirect, such as `iptables -t nat -A PREROUTING -p tcp -m tcp --dport 21 -j REDIRECT --to-ports 2121`. See [Startup notices](Admin-Startup-Notices.md) and [the ports of the server](Ports.md). |
| the admin pages do not open | which port is the web port? The server's output at start and its log name the ports it opened. |
| it starts and is very slow | too little memory: [Performance](Ops-Performance.md#memory) |
| nothing at all | read the server's own output: on Linux, the journal of the service, or `nohup.out` in the server's folder when it was started by hand; on Windows and macOS, the control panel shows it |

## Somebody cannot connect

Nothing arrives at the server: the log shows no line for the try.

| Check | How |
|---|---|
| the name leads to the server | look the name up from outside |
| the port is open from where they are | a firewall, the router's forwarding, a cloud security group |
| their address is not banned | [Banning](Prefs-Banning.md): look for the address in the ban list. A ban that came from wrong passwords ends by itself. |
| the port takes that protocol | an FTP program on the SFTP port gets nothing useful: [the ports of the server](Ports.md) |
| a country or address rule | [IP restrictions](Ports-IP-Restrictions.md), [banning by country](Prefs-Banning-Countries.md) |

### FTP connects, then lists nothing

FTP uses a second connection for lists and files. Behind a router that second connection needs a range of passive ports that is open and forwarded, and the server must tell clients its public address: [FTP](Ports-FTP.md). This is the most common FTP problem there is. SFTP and HTTPS do not have it.

## Somebody cannot log in

The log shows the try, and why it was refused.

| The log says, in substance | Cause |
|---|---|
| wrong password | it is wrong. Or the account comes from a directory and the directory refused it: [CrushLDAPGroup](Plugin-CrushLDAPGroup.md). |
| the user is not found | the name, upper and lower case where it matters; or the user is in another [connection group](Ports-Connection-Groups.md) than the port |
| the account is expired or disabled | [the user's settings](Users-Setup.md) |
| the protocol is not allowed | [Protocols](Users-Restrictions-Protocols.md) |
| the address is not allowed | [IP restrictions](Users-Restrictions-IP.md) of the user |
| the day or hour is not allowed | [Days](Users-Restrictions-Days.md) |
| too many connections | the user's or the server's limit: [Restrictions](Users-Restrictions.md) |
| a second factor is missing or wrong | [Two-factor sign-in](Security-Two-Factor.md) |
| the password has run out | [Password expiry](Users-Restrictions-Password-Expiry.md) |
| the name is refused without being checked | it failed too often just before, and is remembered for a while: **Remember invalid usernames** in [Preferences, Misc](Prefs-Misc.md) |
| nothing wrong, and still no login in the browser | cookies are blocked, or the address has another name than the server expects behind a proxy: [Behind a proxy](Ports-Behind-a-Proxy.md) |

An account locked by wrong tries opens again by itself after the time set in [Banning](Prefs-Banning.md), or when an administrator removes the ban.

All ways to log in, with what each needs: [Every way to sign in](Security-Sign-In-Methods.md).

## Logged in, but something is missing or refused

| What they see | Cause |
|---|---|
| no folders | the user has none, or the storage behind them cannot be reached: [the user's files](VFS.md). A folder on another server with a wrong login shows as empty or missing: [Bad credentials](VFS-Bad-Credentials.md). |
| a folder, but no upload, delete or rename | the rights of that folder: [Permissions](VFS-Permissions.md) |
| "This type of file is not allowed.", 550 | a rule on file names or kinds: [Filename filters](Prefs-Restrictions-Filename-Filters.md), [ContentBlocker](Plugin-ContentBlocker.md) |
| no room | a [quota](Quota.md), or the disk itself |
| a button is missing in the browser | the buttons of the user: [Buttons](Users-WebInterface-Buttons.md) |
| a share link that does not open | it ended, was used up, or was deleted: [Manage Shares](Web-Manage-Shares.md) |

## Transfers fail or are slow

| What happens | Look at |
|---|---|
| large uploads break off after the same time | a proxy or balancer in front with a time limit; the session's own time limits |
| uploads break at the same size | a size limit: the user's, or a proxy's |
| a file arrives with size 0 | the disk is full, a quota was reached, or a rule refused it after it began |
| everything is slow | [Performance](Ops-Performance.md) |
| resumed transfers start from zero | the user may not resume: [Permissions](VFS-Permissions.md) |

## Mail does not arrive

1. **Test SMTP Settings** in Preferences sends a test mail with what is on the screen: [SMTP](Prefs-General-SMTP.md), [Testing settings](Prefs-General-Tests.md).
2. If the test works and mails from events do not: the event's own address fields, and the log at the time of the event.
3. If the test fails: the mail server's name and port, the login, and whether the server may reach it at all: [Telnet](Admin-Telnet.md).
4. Mail that is sent and never seen is usually in a spam folder: the sender address must be one the mail server may send for.

## A job does not run, or fails

| What you see | Look at |
|---|---|
| it never starts | its schedule and whether the job is enabled: [Schedules](Jobs-Schedules.md); whether a job engine is running: [Engine health](Jobs-Engines-Health.md) |
| it runs and does nothing | the first task found no files. Open the run: [Running jobs](Jobs-Running.md). |
| it fails | the run's log names the task and the reason: [Failures](Jobs-Failures.md) |
| an event does not start it | the event's conditions, and whether the user really has the event, by inheritance: [Events](Users-Events.md) |

## Certificates

| What you see | Cause |
|---|---|
| browsers warn about the certificate | it ended, it is for another name, or the chain is not complete: [SSL certificates](Security-SSL-Certificates.md) |
| old programs cannot connect over TLS | they only know protocol versions or ciphers the server no longer offers: [Ciphers](Prefs-Encryption-Ciphers.md) |
| an SFTP program warns that the host key changed | the server's host key did change, for example on a new machine: [SFTP](Ports-SFTP.md) |

## Files that are checked out

A server can be set so that a user marks a file as theirs while they work on it, and others see who has it. If people ask why a file is "locked" in this sense: it is a field of the file, set through a button and a form, not a lock of the file system. See **Set Meta Property** in [Forms and share options](Users-WebInterface-Forms.md#set-meta-property).

## After an update

If something worked before an update and not after:

- read [Startup notices](Admin-Startup-Notices.md) and the log of the first start;
- compare with [what changes in FIPS mode](FIPS-Mode-Changes.md) if that mode is on;
- check whether a plugin file that is not the server's own is still loaded: the [About](Admin-About.md) section lists such files.

## When you ask support

Send what lets them see it without asking back: [Thread dumps and what to send support](Ops-Thread-Dumps.md#what-to-send-support).
