NetLah / docker-crushftp

Dockerize CrushFTP 10 server on Alpine Linux 3.19 and OpenJDK 17
https://hub.docker.com/r/netlah/crushftp
MIT License
7 stars 3 forks source link

Unable to import user config from XML #5

Open smidley opened 1 year ago

smidley commented 1 year ago

When I attempt to import user config from XML, I get the following error:

Error:java.lang.RuntimeException: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver

image
thohng commented 1 year ago

Hi @smidley , we have not tried DB, so we not have experiences on the import/export with external Database.

  1. For setup DB, make sure we put the driver on the location as docs, should be mounted to volume or external folder Location: /var/opt/crushftp For example: mysql-connector-java-5.1.47-bin.jar from https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.47.zip Docs: https://www.crushftp.com/crush10wiki/Wiki.jsp?page=MySQL After place the driver to the location, we have to update the path (I guess) image

  2. We follow CrushFTP recommendation for User Store, use file based instead of SQL https://www.crushftp.com/crush10wiki/Wiki.jsp?page=User%20Config

image

  1. Lastly, you may need contact CrushFTP support for help setup SQL