Skip to content

OnlyOffice RabbitMQ User failsย #5516

@Mariuss811

Description

@Mariuss811

โœ… Have you read and understood the above guidelines?

yes

๐Ÿ“œ What is the name of the script you are using?

OnlyOffice

๐Ÿ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/onlyoffice.sh)"

โš™๏ธ What settings are you using?

  • Default Settings
  • Advanced Settings

๐Ÿ–ฅ๏ธ Which Linux distribution are you using?

No response

๐Ÿ“ Provide a clear and concise description of the issue.

When creating the LXC and accessing the example server and opening a doc, the page won't load up and no document shows up.
But I found an error on systemctl status ds-docservice.service

[AMQP] Error: Handshake terminated by server: 403 (ACCESS-REFUSED) with message "ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN.

This error indicates an authentication problem when OnlyOffice tries to connect to RabbitMQ. The cause can be incorrect credentials, missing permissions, or the user not being flagged as a management user.
Possible Causes:

  1. Incorrect Credentials: The username or password for RabbitMQ access configured in OnlyOffice are incorrect.
  2. Missing Management Tag: The configured user does not have the necessary rights to log in to the Management Interface.
  3. Missing Permissions: The configured RabbitMQ user does not have the required permissions (configure, write, read) for the used VHost (default is "/").

I managed to solve the issue by:

  1. Checking if the user exists fpr RabbitMQ sudo rabbitmqctl list_users In my case the User wasn't known.
  2. Creating the User manually sudo rabbitmqctl add_user onlyoffice_rmq password
  3. Set up the permissions. sudo rabbitmqctl set_permissions -p / onlyoffice_rmq ".*" ".*" ".*"
  4. Set the user tag. sudo rabbitmqctl set_user_tags onlyoffice_rmq administrator

After these steps, i could open up a document via ds-example service and edit it

๐Ÿ”„ Steps to reproduce the issue.

Install the LXC
Try to access the example server and open a doc
Fails to load up

โŒ Paste the full error output (if available).

`
systemctl status ds-docservice.service

[AMQP] Error: Handshake terminated by server: 403 (ACCESS-REFUSED) with message "ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN.`

๐Ÿ–ผ๏ธ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions