# Troubleshooting

> Fixes for the problems people meet most.

Page: https://songstress.app/docs/reference/troubleshooting/

## The page won't open [#the-page-wont-open]

1. Check that Songstress is running and healthy:

   ```sh title="Terminal"
   cd ~/songstress
   docker compose ps
   ```

2. If it isn't `healthy` after a couple of minutes, read why:

   ```sh title="Terminal"
   docker compose logs --tail 100 songstress
   docker inspect --format '{{json .State.Health}}' songstress
   ```

   The health check passes when the server answers and its worker has checked in. `worker: no heartbeat yet` right
   after a start means it is still starting.

3. If another program uses port 8090, set `SONGSTRESS_PORT` in `.env` to a free port and run `docker compose up -d`.

## Songs don't show up [#songs-dont-show-up]

- **The first scan takes a while** on a big library. Songs appear as it goes. **Manage ▸ Library ▸ Rescan all**
  scans again.
- **Check the folder.** `MUSIC_DIR` in `.env` must be the folder on this machine that holds your music.
- **A drive that isn't mounted.** If the folder is empty but your library had songs, Songstress says so in a notice
  and in **Settings ▸ About ▸ Diagnostics**, and keeps your library as it was.

## Songstress can't write to the music folder [#songstress-cant-write-to-the-music-folder]

**Settings ▸ About ▸ Diagnostics** says which fix applies:

- **Remove `:ro`** from the music folder's line in `compose.yaml`, then restart Songstress.
- **Give the folder to the user Songstress runs as,** with `sudo chown -R` and the user it names.
- **Or run Songstress as the folder's owner:** set `PUID` and `PGID` in `.env`, then restart.

## Invite or reset links open `localhost` [#invite-or-reset-links-open-localhost]

Set your server's Public URL in **Manage ▸ Server ▸ Access**, or `SONGSTRESS_PUBLIC_URL` in `.env`. See
[Reach your server from anywhere](/docs/admin/addresses/).

## An iPhone can't connect at home [#an-iphone-cant-connect-at-home]

Allow **Local Network** access: **Settings ▸ Privacy & Security ▸ Local Network ▸ Songstress**. Then try the
address again, with its port, like `http://192.168.1.20:8090`.

## An app says the server needs an update [#an-app-says-the-server-needs-an-update]

The app is newer than your server. [Update Songstress](/docs/admin/update/).

## Nobody can talk in a Jam [#nobody-can-talk-in-a-jam]

- **In a browser,** the microphone only works over `https://`.
- **Away from home,** forward UDP port 8093 on your router, or let anything in front of your server allow WebSocket
  upgrades. See [Set up Jam voice](/docs/admin/jam-voice/).

## You forgot the admin password [#you-forgot-the-admin-password]

- **Another admin** can make you a reset link, from your row in **Manage ▸ Users**.
- **With email set up,** select **Forgot password?** on the sign-in page.
- **Otherwise,** sign in to the datastore's dashboard at `http://your-server:8090/_/` with the superuser account in
  `data/.admin-credentials`, open the `users` collection, and set a new password on your account.

## Still stuck [#still-stuck]

**Settings ▸ About ▸ Diagnostics** shows the server's status, versions and connection problems, and for admins its
log. Write to [support](/support/) with what it says.
