Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rooms not showing in Mobile App #14832

Closed
p1t4bot opened this issue Jun 19, 2019 · 3 comments
Closed

Rooms not showing in Mobile App #14832

p1t4bot opened this issue Jun 19, 2019 · 3 comments

Comments

@p1t4bot
Copy link

p1t4bot commented Jun 19, 2019

Description:

Rocket.Chat rooms are not shown on the Android-app Rocket.Chat.

Expected behavior:

  • Rooms are shown upon opening the app and connecting to the server.
  • The ability to find and chat with users within the app.

Actual behavior:

  • Rooms are not shown, I am able to create them and they really are being created, just not shown.
  • I can search for Users & they are found, but I cannot chat or read the chats.

Screenshot_20190619-103557_RocketChat

Server Setup Information:

  • Version of Rocket.Chat Server: 1.0.3
  • Operating System: Linux Ubuntu 19.04
  • Deployment Method: snap
  • Number of Running Instances: 1
  • NodeJS Version: v8.11.4
  • MongoDB Version: v4.0.10

Additional context

  • The error only occurs on the Android (Android 9) version of the app (v3.4.2)
  • Testet on iOS without any problems

Relevant logs:

Logs look okay to me, so I really don't know why it won't work.

I20190619-11:05:53.969(2) server.js:199 API ➔ debug Success { statusCode: 200, body: { success: true } }
I20190619-11:05:53.970(2) Exception in defer callback: TypeError: Cannot read property 'ls' of undefined at Meteor.defer (server/methods/readMessages.js:25:81) at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1304:12) at packages/meteor.js:620:25 at runWithEnvironment (packages/meteor.js:1356:24)
I20190619-11:06:14.685(2) server.js:199 Meteor ➔ method UserPresence:away -> userId: jWMFtznkq9rz3raiJ , arguments: [ null ]
I20190619-11:06:27.210(2) server.js:199 API ➔ debug GET: /api/v1/info
I20190619-11:06:27.211(2) server.js:199 API ➔ debug Success { statusCode: 200, body: { info: { version: '1.0.3' }, success: true } }
I20190619-11:06:41.130(2) server.js:199 API ➔ debug GET: /api/v1/permissions
I20190619-11:06:41.133(2) server.js:199 API ➔ debug GET: /api/v1/settings.public?count=0&fields=%7B%22type%22%3A%201%7D&query=%7B%22_id%22%3A%20%7B%22%24in%22%3A%20%5B%22uniqueID%22%2C%22LDAP_Enable%22%2C%22CAS_enabled%22%2C%22CAS_login_url%22%2C%22Accounts_RegistrationForm%22%2C%22Accounts_ShowFormLogin%22%2C%22Accounts_PasswordReset%22%2C%22Accounts_CustomFields%22%2C%22Accounts_OAuth_Google%22%2C%22Accounts_OAuth_Facebook%22%2C%22Accounts_OAuth_Github%22%2C%22Accounts_OAuth_Linkedin%22%2C%22Accounts_OAuth_Meteor%22%2C%22Accounts_OAuth_Twitter%22%2C%22Accounts_OAuth_Gitlab%22%2C%22API_Gitlab_URL%22%2C%22Accounts_OAuth_Wordpress%22%2C%22API_Wordpress_URL%22%2C%22Jitsi_Enabled%22%2C%22Jisti_Enable_Channels%22%2C%22Jitsi_SSL%22%2C%22Jitsi_Domain%22%2C%22Jitsi_URL_Room_Prefix%22%2C%22Site_Url%22%2C%22Site_Name%22%2C%22Assets_favicon_512%22%2C%22Assets_favicon_192%22%2C%22UI_Use_Real_Name%22%2C%22UI_Allow_room_names_with_special_chars%22%2C%22Favorite_Rooms%22%2C%22FileUpload_Storage_Type%22%2C%22FileUpload_MaxFileSize%22%2C%22FileUpload_MediaTypeWhiteList%22%2C%22Message_HideType_uj%22%2C%22Message_HideType_ul%22%2C%22Message_HideType_au%22%2C%22Message_HideType_mute_unmute%22%2C%22Message_HideType_ru%22%2C%22Message_AllowDeleting%22%2C%22Message_AllowEditing%22%2C%22Message_AllowPinning%22%2C%22Message_AllowStarring%22%2C%22Message_ShowDeletedStatus%22%2C%22Message_ShowEditedStatus%22%2C%22Assets_tile_310_wide%22%2C%22Store_Last_Message%22%2C%22Message_Read_Receipt_Enabled%22%2C%22Message_Read_Receipt_Store_Users%22%5D%7D%7D
I20190619-11:06:41.145(2) server.js:199 API ➔ debug Success { statusCode: 200, body: [ { _id: 'manage-cloud', roles: [Array], _updatedAt: 2019-06-19T07:43:13.491Z }, { _id: 'access-permissions', roles: [Array], _updatedAt: 2019-06-04T09:08:35.515Z }, { _id: 'add-oauth-service', roles: [Array], _updatedAt: 2019-06-04T09:08:35.517Z }, { _id: 'add-user-to-joined-room', roles: [Array], _updatedAt: 2019-06-04T09:08:35.520Z }, { _id: 'add-user-to-any-c-room', roles: [Array], _updatedAt: 2019-06-06T10:01:30.329Z }, { _id: 'add-user-to-any-p-room', roles: [], _updatedAt: 2019-06-04T09:08:35.534Z }, { _id: 'api-bypass-rate-limit', roles: [Array], _updatedAt: 2019-06-04T09:08:35.539Z }, { _id: 'archive-room', roles: [Array], _updatedAt: 2019-06-06T10:07:33.689Z }, { _id: 'assign-admin-role', roles: [Array], _updatedAt: 2019-06-04T09:08:35.549Z }, { _id: 'assign-roles', roles: [Array], _updatedAt: 2019-06-06T10:07:37.123Z }, { _id: 'ban-user', roles: [Array], _updatedAt: 2019-06-06T10:01:52.080Z }, { _id: 'bulk-create-c', roles: [Array], _updatedAt: 2019-06-06T10:07:40.397Z }, { _id: 'bulk-register-user', roles: [Array], _updatedAt: 2019-06-04T09:08:35.557Z }, { _id: 'create-c', roles: [Array], _updatedAt: 2019-06-06T10:02:25.284Z }, { _id: 'create-d', roles: [Array], _updatedAt: 2019-06-06T10:07:48.836Z }, { _id: 'create-p', roles: [Array], _updatedAt: 2019-06-06T10:07:49.425Z }, { _id: 'create-personal-access-tokens', roles: [Array], _updatedAt: 2019-06-04T09:08:35.567Z }, { _id: 'create-user', roles: [Array], _updatedAt: 2019-06-06T10:02:34.728Z }, { _id: 'clean-channel-history', roles: [], _updatedAt: 2019-06-12T08:53:42.055Z }, { _id: 'delete-c', roles: [Array], _updatedAt: 2019-06-04T09:08:35.574Z }, { _id: 'delete-d', roles: [], _updatedAt: 2019-06-12T08:53:52.072Z }, { _id: 'delete-message', roles: [], _updatedAt: 2019-06-12T08:53:56.256Z }, { _id: 'delete-p', roles: [Array], _updatedAt: 2019-06-04T09:08:35.581Z }, { _id: 'delete-user', roles: [Array], _updatedAt: 2019-06-06T10:02:49.497Z }, { _id: 'edit-message', roles: [Array], _updatedAt: 2019-06-04T13:26:34.281Z }, { _id: 'edit-other-user-active-status', roles: [Array], _updatedAt: 2019-06-04T09:08:35.588Z }, { _id: 'edit-other-user-info', roles: [Array], _updatedAt: 2019-06-06T10:08:06.016Z }, { _id: 'edit-other-user-password', roles: [Array], _updatedAt: 2019-06-04T09:08:35.592Z }, { _id: 'edit-other-user-avatar', roles: [Array], _updatedAt: 2019-06-04T09:08:35.594Z }, { _id: 'edit-privileged-setting', roles: [Array], _updatedAt: 2019-06-04T09:08:35.596Z }, { _id: 'edit-room', roles: [Array], _updatedAt: 2019-06-06T10:03:13.643Z }, { _id: 'edit-room-retention-policy', roles: [Array], _updatedAt: 2019-06-04T09:08:35.601Z }, { _id: 'force-delete-message', roles: [Array], _updatedAt: 2019-06-04T09:08:35.603Z }, { _id: 'join-without-join-code', roles: [Array], _updatedAt: 2019-06-04T09:08:35.605Z }, { _id: 'leave-c', roles: [Array], _updatedAt: 2019-06-06T10:08:11.005Z }, { _id: 'leave-p', roles: [Array], _updatedAt: 2019-06-06T10:08:12.218Z }, { _id: 'manage-assets', roles: [Array], _updatedAt: 2019-06-04T09:08:35.611Z }, { _id: 'manage-emoji', roles: [Array], _updatedAt: 2019-06-06T10:03:32.689Z }, { _id: 'manage-integrations', roles: [Array], _updatedAt: 2019-06-04T09:08:35.615Z }, { _id: 'manage-own-integrations', roles: [Array], _updatedAt: 2019-06-04T09:08:35.618Z }, { _id: 'manage-oauth-apps', roles: [Array], _updatedAt: 2019-06-04T09:08:35.620Z }, { _id: 'mention-all', roles: [Array], _updatedAt: 2019-06-06T10:03:40.551Z }, { _id: 'mention-here', roles: [Array], _updatedAt: 2019-06-06T10:08:20.866Z }, { _id: 'mute-user', roles: [Array], _updatedAt: 2019-06-06T10:03:43.846Z }, { _id: 'remove-user', roles: [Array], _updatedAt: 2019-06-06T10:04:06.315Z }, { _id: 'reset-other-user-e2e-key', roles: [Array], _updatedAt: 2019-06-06T10:08:28.117Z }, { _id: 'run-import', roles: [Array], _updatedAt: 2019-06-04T09:08:35.633Z }, { _id: 'run-migration', roles: [Array], _updatedAt: 2019-06-04T09:08:35.635Z }, { _id: 'set-moderator', roles: [Array], _updatedAt: 2019-06-06T10:08:32.818Z }, { _id: 'set-owner', roles: [Array], _updatedAt: 2019-06-06T10:08:33.460Z }, { _id: 'send-many-messages', roles: [Array], _updatedAt: 2019-06-04T13:54:37.574Z }, { _id: 'set-leader', roles: [Array], _updatedAt: 2019-06-04T09:08:35.643Z }, { _id: 'unarchive-room', roles: [Array], _updatedAt: 2019-06-06T10:08:37.206Z }, { _id: 'view-c-room', roles: [Array], _updatedAt: 2019-06-04T09:08:35.648Z }, { _id: 'user-generate-access-token', roles: [Array], _updatedAt: 2019-06-04T09:08:35.650Z }, { _id: 'view-d-room', roles: [Array], _updatedAt: 2019-06-06T10:08:41.329Z }, { _id: 'view-full-other-user-info', roles: [Array], _updatedAt: 2019-06-06T10:08:42.301Z }, { _id: 'view-history', roles: [Array], _updatedAt: 2019-06-06T10:08:42.918Z }, { _id: 'view-joined-room', roles: [Array], _updatedAt: 2019-06-06T10:08:45.178Z }, { _id: 'view-join-code', roles: [Array], _updatedAt: 2019-06-06T10:08:43.777Z }, { _id: 'view-logs', roles: [Array], _updatedAt: 2019-06-06T10:08:49.549Z }, { _id: 'view-other-user-channels', roles: [Array], _updatedAt: 2019-06-06T10:08:50.176Z }, { _id: 'view-p-room', roles: [Array], _updatedAt: 2019-06-04T09:08:35.675Z }, { _id: 'view-privileged-setting', roles: [Array], _updatedAt: 2019-06-04T09:08:35.678Z }, { _id: 'view-room-administration', roles: [Array], _updatedAt: 2019-06-06T10:07:23.314Z }, { _id: 'view-statistics', roles: [Array], _updatedAt: 2019-06-06T10:07:24.872Z }, { _id: 'view-user-administration', roles: [Array], _updatedAt: 2019-06-06T10:08:55.172Z }, { _id: 'preview-c-room', roles: [Array], _updatedAt: 2019-06-04T09:08:35.687Z }, { _id: 'view-outside-room', roles: [Array], _updatedAt: 2019-06-06T10:08:51.389Z }, { _id: 'view-broadcast-member-list', roles: [Array], _updatedAt: 2019-06-06T10:08:39.544Z }, { _id: 'call-management', roles: [Array], _updatedAt: 2019-06-06T10:07:42.864Z }, { _id: 'manage-apps', roles: [Array], _updatedAt: 2019-06-19T07:43:21.296Z }, { _id: 'auto-translate', roles: [Array], _updatedAt: 2019-06-04T09:08:35.860Z }, { _id: 'post-readonly', roles: [Array], _updatedAt: 2019-06-19T07:43:21.454Z }, { _id: 'set-readonly', roles: [Array], _updatedAt: 2019-06-19T07:43:21.457Z }, { _id: 'set-react-when-readonly', roles: [Array], _updatedAt: 2019-06-19T07:43:21.459Z }, { _id: 'mail-messages', roles: [Array], _updatedAt: 2019-06-19T07:43:21.462Z }, { _id: 'manage-sounds', roles: [Array], _updatedAt: 2019-06-19T07:43:21.516Z }, { _id: 'pin-message', roles: [Array], _updatedAt: 2019-06-19T07:43:21.684Z }, { _id: 'snippet-message', roles: [Array], _updatedAt: 2019-06-19T07:43:21.690Z }, { _id: 'start-discussion', roles: [Array], _updatedAt: 2019-06-04T09:08:37.146Z }, { _id: 'start-discussion-other-user', roles: [Array], _updatedAt: 2019-06-04T09:08:37.148Z }, { _id: 'access-mailer', roles: [Array], _updatedAt: 2019-06-19T07:43:22.671Z }, { _id: 'view-l-room', roles: [Array], _updatedAt: 2019-06-19T07:43:22.675Z }, { _id: 'view-livechat-manager', roles: [Array], _updatedAt: 2019-06-19T07:43:22.677Z }, { _id: 'view-livechat-rooms', roles: [Array], _updatedAt: 2019-06-19T07:43:22.680Z }, { _id: 'close-livechat-room', roles: [Array], _updatedAt: 2019-06-19T07:43:22.682Z }, { _id: 'close-others-livechat-room', roles: [Array], _updatedAt: 2019-06-19T07:43:22.684Z }, { _id: 'save-others-livechat-room-info', roles: [Array], _updatedAt: 2019-06-19T07:43:22.687Z }, { _id: 'remove-closed-livechat-rooms', roles: [Array], _updatedAt: 2019-06-19T07:43:22.689Z }, { _id: 'view-livechat-analytics', roles: [Array], _updatedAt: 2019-06-19T07:43:22.692Z }, success: true ] }
I20190619-11:06:41.147(2) server.js:199 API ➔ debug Success { statusCode: 200, body: { settings: [ [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object], [Object] ], count: 47, offset: 0, total: 47, success: true } }
I20190619-11:06:41.152(2) server.js:199 API ➔ debug POST: /api/v1/push.token
I20190619-11:06:41.161(2) server.js:199 API ➔ debug Success { statusCode: 200, body: { result: { _id: 'PRsmg97BJc9ZqwuRW', token: [Object], appName: 'Main', userId: 'jWMFtznkq9rz3raiJ', enabled: true, createdAt: 2019-06-19T08:18:04.891Z, updatedAt: 2019-06-19T08:56:37.051Z }, success: true } }
I20190619-11:06:47.022(2) server.js:199 API ➔ debug GET: /api/v1/info
I20190619-11:06:47.023(2) server.js:199 API ➔ debug Success { statusCode: 200, body: { info: { version: '1.0.3' }, success: true } }

@reetp
Copy link

reetp commented Jun 19, 2019

This should be closed and followed up here:
https://github.com/RocketChat/Rocket.Chat.Android

Possible duplicate of RocketChat/Rocket.Chat.Android#2360

@reetp
Copy link

reetp commented Jun 19, 2019

This may be related too:

RocketChat/Rocket.Chat.Android#2375

@p1t4bot
Copy link
Author

p1t4bot commented Jun 19, 2019

I don't think that those are related because of the error they get, that I don't get.

This should be closed and followed up here:
https://github.com/RocketChat/Rocket.Chat.Android

Possible duplicate of RocketChat/Rocket.Chat.Android#2360

Will post it there

@p1t4bot p1t4bot closed this as completed Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants