Reputation: 401
I am trying to install Symmetric DS on Docker which is running under PhotonOS. Since I just installed another Docker Image, I have at least some basic knowledge.
I run exactly these commands:
https://hub.docker.com/r/jumpmind/symmetricds
Which works so far untill I get
2024-01-04 21:47:38,623 INFO [startup] [SymmetricWebServer] [main] About to start SymmetricDS web server on 0.0.0.0:31415 :HTTP/1.1
2024-01-04 21:47:38,762 INFO [startup] [SymmetricEngineHolder] [main] Current directory is /opt/symmetric-ds
2024-01-04 21:47:38,762 INFO [startup] [SymmetricEngineHolder] [main] Starting in multi-server mode with engines director y at /opt/symmetric-ds/engines
2024-01-04 21:47:38,762 INFO [startup] [SymmetricEngineHolder] [main] No engine *.properties files found
2024-01-04 21:47:39,178 INFO [startup] [SymmetricWebServer] [main] Joining the web server main thread
Stopping abandoned wrapper PID 29
First of all I wonder, shouldnt a Docker Image more or less simply work and more important what am I missing?
Upvotes: 0
Views: 546
Reputation: 605
Symmetricds seem to go out of their way to make documentation and information as poor as possible - for the community version at least. They've even removed all the javadocs that used to be available on their site.
regardless, if you are going to use the docker image be sure to do something about the tmp directory which stores all the staging data (I haven't seen any docs that mention anything wrt docker). If you don't you'll lose it every time you restart the container. Something like this will work.
docker run --rm -i -p 31415:31415 --name sym -v "/`pwd`/engines":"/opt/symmetric-ds/engines" -v "/`pwd`/conf":"/opt/symmetric-ds/conf" -v "/`pwd`/security":"/opt/symmetric-ds/security" -v "/`pwd`/logs":"/opt/symmetric-ds/logs" -v "/`pwd`/patches":"/opt/symmetric-ds/patches" -v "/`pwd`/tmp":"/opt/symmetric-ds/tmp" jumpmind/symmetricds
Upvotes: 0
Reputation: 11
It is important to note that there are TWO SymmetricDS Docker images: one open-source and another for the PRO version (paid license). https://hub.docker.com/u/jumpmind
The open-source SymmetricDS Docker image depends on YOU to provide details of database connection in the .properties engine file (as described in the User guide). So this is working as designed. https://symmetricds.sourceforge.net/doc/3.15/html/user-guide.html
The PRO version of SymmetricDS has many more features, including a web console UI. This image works out of the gate and allows web console user to configure all database connections (multiple if you wish), provide license details and reboot to apply changes. https://downloads.jumpmind.com/symmetricds/doc/3.15/html/user-guide.html
Upvotes: 0
Reputation: 401
In the Symmetric Docker image, there seams to be no basic *.properties file. This file contains the fundamental settings without the startup reports errors.
If you don't know the basic concepts of SymmetricDS, just follow these steps: https://symmetricds.sourceforge.net/doc/3.12/html/tutorials.html
If you want more quickly to try out SymmetricDS, simply download it on Windows or Linux, install the latest JAVA from Oracle and follow the guide above. It takes about 30 minutes to learn the basics.
Upvotes: 1
Reputation: 64640
this is the culprit
No engine *.properties files found
please provide the engine configuration file.
Upvotes: 0