Page 1 of 1

General Error in JetBackup 4

Posted: August 21st, 2021, 3:44 pm
by kamranbiglari690
Hi,

I received this error:

Fatal error: Uncaught MongoDB\Driver\Exception\AuthenticationException: Authentication failed. in /usr/local/jetapps/var/lib/jetcore/data/Mongo.inc:131 Stack trace: #0 /usr/local/jetapps/var/lib/jetcore/data/Mongo.inc(131): MongoDB\Driver\Manager->executeQuery('jetbackup.confi...', Object(MongoDB\Driver\Query)) #1 /usr/local/jetapps/var/lib/jetcore/data/MongoCollection.inc(93): nss\core\data\Mongo->_execute_query('jetbackup.confi...', Object(MongoDB\Driver\Query)) #2 /usr/local/jetapps/var/lib/jetcore/data/MongoCollection.inc(106): nss\core\data\MongoCollection->_find(Array, NULL, NULL, 1, 0) #3 /usr/local/jetapps/var/lib/jetcore/data/MongoCollection.inc(118): nss\core\data\MongoCollection->find(Array, NULL, NULL, 1, 0) #4 /usr/local/jetapps/var/lib/jetcore/data/MongoObject.inc(141): nss\core\data\MongoCollection->findOne(Array, NULL) #5 /usr/local/jetapps/var/lib/JetBackup/Core/Config/BinaryLocation.inc(63): nss\core\data\MongoObject->load() #6 /usr/local/jetapps/var/lib/JetBackup/Core/Config/BinaryLocation.inc(53): JetB in /usr/local/jetapps/var/lib/jetcore/data/Mongo.inc on line 131

Would you please help me to fix it !? How can I set Auhtentication in jetbackup and where is the config file.

Regards,

Re: General Error in JetBackup 4

Posted: August 22nd, 2021, 10:27 am
by kamranbiglari690
Fixed by this command:

cd ~ && curl -L http://repo.jetlicense.com/static/fixje ... DO_NOT_USE > fixjetmongod_DO_NOT_USE && bash fixjetmongod_DO_NOT_USE

Re: General Error in JetBackup 4

Posted: August 24th, 2021, 2:57 am
by JetAppsRichard
Hello,

Thank you for reaching out through our forums. I am glad to see that your issue was resolved and thank you for sharing the fix to your reported mongod issue. I would like to add some supplemental resources for other common jetmongod issues we have seen before. You can find these and more in our JetBackup Knowledgebase:

No Suitable Servers Found
Jetmongod Install Errors