Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

378
Views
El servidor de Appsmith no se inicia debido a la excepción de MongoDB

Mi instancia de Appsmith acaba de actualizarse a v1.6.4 y ya no se inicia. En los registros, puedo ver la excepción a continuación:

 Caused by: com.mongodb.MongoCommandException: Command failed with error 17 (ProtocolError): 'Attempt to switch database target during SASL authentication.' on server mongo:27017. The full response is {"ok": 0.0, "errmsg": "Attempt to switch database target during SASL authentication.", "code": 17, "codeName": "ProtocolError"}

¿Hay algo que pueda hacer para abrir mi instancia de Appsmith?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Este es un cambio importante que se introdujo en v1.6.4 de Appsmith debido a las actualizaciones de la biblioteca de Spring. Se describe una solución completa en: https://docs.appsmith.com/troubleshooting-guide/deployment-errors#server-not-booting-because-of-mongocommandexception

Paso 1: Edite el URI de MongoDB

Agregar &authSource=admin al final del valor de la variable APPSMITH_MONGODB_URI en su archivo docker.env . Por ejemplo, en su archivo docker.env , si tiene la siguiente línea:

 # Old config APPSMITH_MONGODB_URI=mongodb://<your_username>:<your_password>@mongo/appsmith?retryWrites=true

Cámbielo a lo siguiente (observe que el único cambio es &authSource=admin . NO copie y pegue esta línea completa. Solo agregue la &authSource=admin a su valor existente.

 # New config APPSMITH_MONGODB_URI=mongodb://<your_username>:<your_password>@mongo/appsmith?retryWrites=true&authSource=admin

Guarda el archivo.

Paso 2: reiniciar el servidor

Ahora reinicie su contenedor con el siguiente comando:

 sudo docker-compose up -d --force-recreate appsmith-internal-server

En uno o dos minutos, el servidor debería aparecer y estar listo.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!