Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-4280

fisheyectl restore fails when restoring to an external database

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Medium Medium
    • None
    • 2.3.5
    • Server administration
    • None

      Its looking for database drivers in FISHEYE_INST/lib:

      [amyers@erdinger:fecru-2.3.5]$ ./bin/fisheyectl.sh restore -t postgresql -j jdbc:postgresql://localhost:5433/fisheye -f backup/backup_2010-20-09_1211.zip -u username -p password --sql --force
      ERROR - Unable to connect to PostgreSQL database jdbc:postgresql://localhost:5433/fisheye: 
      java.lang.ClassNotFoundException: org.postgresql.Driver: 
      is the database driver jar file properly installed in the FISHEYE_INST/lib directory?
      
      Cannot open target database at: jdbc:postgresql://localhost:5433/fisheye 
      (Unable to connect to PostgreSQL database jdbc:postgresql://localhost:5433/fisheye: 
      java.lang.ClassNotFoundException: org.postgresql.Driver: 
      is the database driver jar file properly installed in the FISHEYE_INST/lib directory?)
      

      The workaround is to copy the driver JAR files from FISHEYE_HOME/lib/dbdrivers into FISHEYE_INST/lib.

              Unassigned Unassigned
              andrew.myers Andrew Myers [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: