Using a 64-bit version of Ubuntu will give you access to a much newer version of the MongoDB software.įor those who do not know, MongoDB is a NoSQL database. The second path is to install the server software to a 64-bit version of Ubuntu. Raspbian’s repository provides an older version of MongoDB ( 2.4.14) as newer ARM builds of MongoDB requires ARM64, and Raspbian is only 32-bit. The first path is to install MongoDB on Raspbian. We will be showing you two different paths for installing MongoDB on your Pi. MacOS: sudo launchctl load /Library/LaunchDaemons/_DeadlineDatabase.In this guide, we will be walking you through the process of installing and setting up the MongoDB server software on your Raspberry Pi. Windows: sc start DeadlineDatabaseService Delete the contents of the DeadlineDatabase10 folder and replace it with the contents of the DeadlineDatabase10_backup folder you created at the start of these steps. Where is the MAJOR version number of Deadline, such as: 10.Ģ. MacOS: sudo launchctl unload /Library/LaunchDaemons/_ist To do that in a command prompt run the appropriate command for your operating system. If it seems that the import has failed you must: To test, open a Monitor to check if your job queue and settings have been successfully imported. No TLS/SSL: mongorestore -archive="" -host "" -port "27100" -drop TLS/SSL: mongorestore -archive="" -host "" -port "27100" -drop -ssl -sslPEMKeyFile "" -sslCAFile "" The dump file itself will be compatible between the two. This will be using the newly installed 4.2 executable, not the ones from your old 3.2 installation. Replace the data in the characters with your own. ![]() The command is different depending on if your database requires TLS/SSL or not. If you'd like more information on the mongorestore command, refer to the mongorestore documentation. Now we are going to import the database dump we created earlier and fill the new database with your existing data. There will be a couple of warnings including that there is an existing database and about how the existing database will be backed up. Go through the Repository installer but be sure to pick "Create new database". Run the Deadline Repository and install a new Database The flags used in the deadline_mongo script cannot be copied exactly but they should help guide you in the right direction.ģ. If these flags don't work, check the deadline_mongo connection script we provide to see what your settings should be: Windows : C :\ DeadlineDatabase10\ mongo\ application\ bin\ deadline_mongo Linux : / opt / Thinkbox / DeadlineDatabase10 / mongo / application / bin / deadline_mongo Mac : / Applications / Thinkbox / DeadlineDatabase10 / mongo / application / bin / deadline_mongo No TLS/SSL: mongodump -archive="" -db "deadline10db" -host "" -port "27100" TLS/SSL: mongodump -archive="" -db "deadline10db" -host "" -port "27100" -ssl -sslPEMKeyFile "" -sslCAFile "" ![]() ![]() ![]() If you'd like more information on the mongodump command, refer to the mongodump documentation. We're going to export the data from your database into a file. To recover, delete the contents of the DeadlineDatabase10 folder and replace it with the contents of this DeadlineDatabase10_backup folder. Name it DeadlineDatabase10_backup so it's easy to find later. If anything goes wrong you can use this to recover back to your existing setup. Restore database with mongorestore tool.įirst save a copy of your DeadlineDatabase10 folder elsewhere on the computer. Run the Deadline Repository installer and install a new database.Ĥ. If it's not clear in the log what is going wrong, please send that log along with how far you've gotten in these steps to Thinkbox Support by creating a new support request.Ģ. If at any point the database refuses to start, check DeadlineDatabase10\mongo\data\logs\log.txt for a possible explanation. What should I do if I have any issues while following these steps?
0 Comments
Leave a Reply. |