Move Otto files to new host and can't login

I have a client who is moving from Windows to macOS for their FMS. I grabbed the SQLlite file from windows, stopped the service on Mac and dropped in the db file and restarted. It won’t let me login to Otto. Admin console does have the same user/pass as before.

I can see my webhook stuff is working in the logs.

025-11-15T15:19:04.441Z info Listening on http://localhost:3061
2025-11-15T15:19:04.441Z info environment production
2025-11-15T15:19:04.441Z info version 4.13.1
2025-11-15T15:19:04.442Z info node version v20.18.2
2025-11-15T15:19:04.442Z debug Mac OS keychain certs loaded
2025-11-15T15:19:04.443Z debug Recreating Symlink to Otto CLI
2025-11-15T15:19:04.444Z info started watching offsite backup
2025-11-15T15:19:04.445Z info started watching for hostname changes
2025-11-15T15:19:04.446Z info Reverse Proxy already installed
2025-11-15T15:19:04.451Z debug local admin api: GET /fmi/admin/api/v2/schedules
2025-11-15T15:19:04.455Z debug Found 0 uploads in configstore
2025-11-15T15:19:04.481Z debug local admin api: GET /fmi/admin/api/v2/schedules 401
2025-11-15T15:19:04.481Z debug Local Admin API error: Fetch failed: Unauthorized code: 1703 - Invalid username or password, or JSON Web Token; Path: /fmi/admin/api/v2/schedules; Refreshing token and trying again
2025-11-15T15:19:04.482Z debug local admin api: DELETE /fmi/admin/api/v2/user/auth/******
2025-11-15T15:19:04.485Z debug local admin api: DELETE /fmi/admin/api/v2/user/auth/****** 401
2025-11-15T15:19:04.486Z debug local admin api: POST /fmi/admin/api/v2/user/auth
2025-11-15T15:19:04.487Z debug local admin api: POST /fmi/admin/api/v2/user/auth 401
2025-11-15T15:19:04.488Z error Error cleaning up offsite schedules Local Admin API error: Fetch failed: Unauthorized code: 956 - Maximum number of Admin API sessions exceeded; Path: /fmi/admin/api/v2/user/auth
2025-11-15T15:19:04.777Z info License status: valid

Hi Andy,

This log entry looks suspicious.

“Error cleaning up offsite schedules Local Admin API error: Fetch failed: Unauthorized code: 956 - Maximum number of Admin API sessions exceeded; Path: /fmi/admin/api/v2/user/auth”

Restart the Admin Server with the CLI, to clear you admin sessions.

fmasmin restart adminsever

Todd

That did help, thanks! Must have had old creds cached or something.

1 Like