fisheyectl restore fails when restoring to an external database

XMLWordPrintable

    • Type: Bug
    • Resolution: Not a bug
    • Priority: Medium
    • None
    • Affects Version/s: 2.3.5
    • Component/s: 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.

            Assignee:
            Unassigned
            Reporter:
            Andrew Myers [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: