Skip to content

HipChat Cloud import fails (rooms -> channels) #8474

@matthewandrews

Description

@matthewandrews

Description:

Importing a HipChat (Cloud, not Enterprise) export file fails. Debug shows that the HipChat rooms have not been parsed (users and messages may be OK).

Server Setup Information:

  • Version of Rocket.Chat Server: 0.58.4
  • Operating System: Linux 64 bit (Ubuntu 16.04)
  • Deployment Method(snap/docker/tar/etc): snap
  • Number of Running Instances: 1
  • Node Version: 4.8.4

Steps to Reproduce:

  1. Generate an export file from a HipChat Cloud group.
  2. In Rocket.chat, go to Administration > Import and hit the HipChat button (not HipChat Enterprise).
  3. Hit the 'Choose File...' button and select the HipChat export file for upload.

Expected behavior:

Import to succeed, with users and channels created, and channels populated with messages.

Actual behavior:

Error message on screen: "The file uploaded isn't a valid HipChat export file".
Logs show that the users and messages appear to have been parsed successfully, but no channels ("rooms" in HipChat terms) have been parsed.

Relevant logs:

Server log (debug level):

[34mI20171013-14:20:42.330(11) [34mHipChat Importer ➔ debug Uploaded file information is: { ext: 'zip', mime: 'application/zip' } 
[34mI20171013-14:20:42.332(11) [34mHipChat Importer ➔ debug Expected file type is: application/zip 
[34mI20171013-14:20:42.335(11) [34mHipChat Importer ➔ debug HipChat is now at importer_preparing_started. 
[34mI20171013-14:20:43.826(11) [34mHipChat Importer ➔ debug HipChat is now at importer_preparing_channels. 
[34mI20171013-14:20:45.218(11) [34mHipChat Importer ➔ debug HipChat is now at importer_preparing_users. 
[34mI20171013-14:20:45.245(11) [34mHipChat Importer ➔ debug HipChat is now at importer_preparing_messages. 
[34mI20171013-14:21:07.739(11) [35mHipChat Importer ➔ warn The loaded users count 59, the loaded channels 0, and the loaded messages 56035 
[34mI20171013-14:21:07.745(11) [34mHipChat Importer ➔ debug HipChat is now at importer_import_failed. 

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions