Comments (3)
If you are using docker-compose file relative path should work and you shouldn't get the error again
...
replicadb:
volumes:
- ./replica-db/replicadb.conf:/home/replicadb/conf/replicadb.conf
image: osalvador/replicadb
from replicadb.
Thank you for reporting the bug!
from replicadb.
As I can see, this is a common problem when mounting a docker volume with a file: https://stackoverflow.com/questions/42248198/how-to-mount-a-single-file-in-a-volume. You have probably failed to supply a valid and absolute path.
ReplicaDB Docker works perfectly with the correct parameters for the docker command:
docker run --rm \
-v /Users/oscar.salvador/replicadb.conf:/home/replicadb/conf/replicadb.conf \
-d --network=host osalvador/replicadb
2022-05-25 16:04:18,175 INFO ReplicaDB:63 Running ReplicaDB version: 0.11.8
2022-05-25 16:04:18,376 INFO SqlManager:386 Truncating sink table with this command: TRUNCATE TABLE b_notificacion_h
2022-05-25 16:04:18,752 INFO ReplicaTask:36 Starting TaskId-0
2022-05-25 16:04:18,771 INFO SqlManager:141 TaskId-0: Executing SQL statement: SELECT * FROM b_notificacion OFFSET ?
2022-05-25 16:04:18,771 INFO SqlManager:148 TaskId-0: With args: 0,
2022-05-25 16:04:18,784 WARN ConnManager:188 Options source-columns and sink-columns are null, getting from Source ResultSetMetaData: id,id_persona,id_tipo_notificacion,id_plantilla,cod_n_estado_notificacion,id_persona_creacion_mensaje,fec_envio_planificada,fec_enviado,fec_confirmacion,txt_error,txt_mensaje_contenido,txt_mensaje_titulo,txt_destinatario,cod_n_destinatario_tipo,cod_v_usuario_creacion,fec_dt_creacion,cod_v_usuario_modificacion,fec_dt_modificacion,txt_msgid
2022-05-25 16:04:18,785 INFO PostgresqlManager:163 Copying data with this command: COPY b_notificacion_h (id,id_persona,id_tipo_notificacion,id_plantilla,cod_n_estado_notificacion,id_persona_creacion_mensaje,fec_envio_planificada,fec_enviado,fec_confirmacion,txt_error,txt_mensaje_contenido,txt_mensaje_titulo,txt_destinatario,cod_n_destinatario_tipo,cod_v_usuario_creacion,fec_dt_creacion,cod_v_usuario_modificacion,fec_dt_modificacion,txt_msgid) FROM STDIN WITH DELIMITER e'\x1f' ENCODING 'UTF-8'
2022-05-25 16:04:18,793 INFO ReplicaTask:72 A total of 3 rows processed by task 0
2022-05-25 16:04:18,796 INFO ReplicaDB:54 Total process time: 637ms
from replicadb.
Related Issues (20)
- Error when trying to copy colums with special characters HOT 1
- docker: no matching manifest for linux/arm64/v8 in the manifest list entries. HOT 2
- The connection string contains an empty host '[]'. HOT 2
- How to give where condition in "source.where" HOT 1
- The connection string contains an empty host '[]'. HOT 2
- Is replicadb supports real time or point in time sync data replication? HOT 1
- please share the conf file for mssql to mssql
- Complete data is not copied(total rows are around 4,50,000)
- How many rows of data can be copied ? HOT 15
- / FS getting full HOT 10
- Password as a Variable HOT 1
- Is complete load mandatory or can we use Incremental directly?
- Max transaction size limitation with Galera Cluster HOT 1
- mysql - mssql HOT 3
- MSSQL specify number of jobs - Error
- Rounding decimal values during syncronization
- PostgreSQL Sequence Reset
- DB2 To SQL Server
- Incorrect BLOB data copied from MariaDB (LONGBLOB) to PostgreSQL (BYTEA) HOT 2
- Oracle DB sync to Oracle DB
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from replicadb.