2

Had a RunDeck installation which was configured (by some one else who no longer works and made no documentation) to store all meta-data in MySQL. Both were running on different VMs.

Lost RunDeck application VM. MySQL still remains. Deployed a new RunDeck Application, and configured it to use existing MySQL. On starting it, got the following error in service.log:

FrameworkException{message='Project does not exist: project-redis_scans', resource='FrameworkProjectMgr{name=name, baseDir=/var/rundeck/projects}'}

There are 4 projects in total which needs to be imported back into RunDeck. What is the right way?

Gautam Somani
  • 456
  • 1
  • 4
  • 18

1 Answers1

0

In the rundeck-config.properties file check if the connection url is correct

dataSource.dbCreate = update
dataSource.url = jdbc:mysql://localhost:3306/rundeck?autoReconnect=true
dataSource.username=root
rundeck.security.useHMacRequestTokens=false

replace localhost with ip of the VM also check if your new VM is able to telnet to the mysql VM on port 3306

KronnorK
  • 539
  • 5
  • 17
  • Yes, all that is fine. The error I mentioned above shows that RunDeck is able to read MySQL and see a project (project-redis_scans) also. – Gautam Somani Aug 11 '16 at 20:40
  • You need to recover the projects folder and port it to new projects folder in the new rundeck.... – KronnorK Aug 12 '16 at 04:40
  • The projects folder from the App VM on which RunDeck App was running is lost. Are you referring to any other folder? – Gautam Somani Aug 12 '16 at 15:19
  • 1
    Ok then it would be difficult for you to recover the present rundeck into fully operational mode. You will need to rework the whole of the project.. – KronnorK Aug 16 '16 at 08:54