Common issues
Frequent symptoms, their cause and how to fix them.
The app does not show on the phone
- Cause: lb-phone was not started when rvt_chat came up, or Config.App.register is false.
- Fix: put ensure lb-phone before ensure rvt_chat and confirm register = true. The app registers when rvt_chat or lb-phone start; restarting rvt_chat registers it again.
- If you changed Config.App.identifier, LB Phone treats it as another app.
Console shows “Migração pendente” or the app says it is unavailable
- Cause: tables are missing and automatic creation failed (database user without CREATE permission, a database outside utf8mb4 or oxmysql starting after rvt_chat), or the database is from an earlier version (schema below 2 or owner_id still VARCHAR). The reason appears in parentheses on the console line.
- Fix: on a new database, import sql/001_rvt_chat.sql manually, check the order in server.cfg and restart the resource. On a database from an earlier version, back up and run sql/002_owner_binary.sql.
- Contents of sql/002_owner_binary.sql (existing databases only; ALTER TABLE commits immediately). Then restart.
ALTER TABLE rvt_chat_accounts MODIFY owner_id VARBINARY(400) NOT NULL;
ALTER TABLE rvt_chat_audit MODIFY actor_owner VARBINARY(400) NULL;
INSERT IGNORE INTO rvt_chat_schema (version, applied_at) VALUES (2, UNIX_TIMESTAMP() * 1000);NO_PHONE or UNAUTHENTICATED
- UNAUTHENTICATED: the bridge could not identify the player (character not chosen yet, or a wrong Config.Framework.name).
- NO_PHONE: the character has no equipped number or is missing the phone item (Config.Identity.requirePhoneItem = true).
- After changing number or character, the session is rebuilt within 30 seconds.
MEDIA_REJECTED when sending a photo, video or audio
- Cause: the upload URL host is not in Config.Media.domains (the lists start empty). Add the upload host configured in LB Phone.
- The URL must be HTTPS, with no port and no credentials. GIFs use their own list (gif).
- Type, size or duration above Config.Media.mimes, maxBytes or maxDurationS are also refused.
Group call unavailable or without audio
- Cause: pma-voice is not started or lacks the group voice change.
- Fix: apply the change described in Installation, start pma-voice before rvt_chat and restart both.
- Without the change, only group calls are affected.
One-to-one call fails with UNAVAILABLE or BUSY
- UNAVAILABLE: the contact blocked you or their privacy does not allow the call (the app does not say which), or LB Phone is stopped.
- BUSY: you or the contact is already in another call.
Group video does not connect
- Cause: player behind strict NAT with no TURN server.
- Fix: set rvt_chat_turn_token_id and rvt_chat_turn_api_token in server.cfg (Cloudflare TURN credentials) and restart.
- Also check the 4-person limit in Config.Calls.maxGroupVideoParticipants.
RATE_LIMITED or PAYLOAD_TOO_LARGE
- RATE_LIMITED: the player exceeded the request limit. Limits live in Config.RateLimits.
- PAYLOAD_TOO_LARGE: the request exceeded Config.Limits.payloadBytes (16 KB). Send a smaller list or raise the limit.
Location rejected or ended
- Points picked on the map outside Config.LiveLocation.bounds are refused. The current position does not go through this limit.
- Live location ends when time runs out, or when the player disconnects, is blocked or leaves the chat.
I joined a group and cannot see old messages
- Not an error: people who join a group only see messages sent after they joined.
- Leaving removes access immediately; rejoining does not bring back the earlier history.
INTERNAL or “Erro interno em ...” in the console
- Cause: a Lua error or database failure during an operation. Nothing was confirmed and the player can try again.
- Turn on Config.Debug = true, reproduce the problem and send the console lines to support. Message content never appears in logs.
- If it is a database failure, check the oxmysql connection.
-- shared.lua
Config.Debug = trueStill stuck?
Open a ticket in our Discord support and send the error line from the server console.
