Closed ctoomey closed 3 years ago
@shubhendumadhukar thanks for fixing the config. part of this. There's still the other part though -- when I have backup enabled, I get the startup error shown at the top of the ticket -- apparently it's attempting to copy a file on top of itself.
My apologies.
This should not happen since backup functionality copies the necessary folders to a new folder under $HOME/.camouflage_backup. But I do see an issue on fs-extra
project with similar issue.
Could you please let me know the node version you are on and absolute path of your grpc/mocks directory? (Please strip sensitive data if any)
Could you please let me know the node version you are on and absolute path of your grpc/mocks directory? (Please strip sensitive data if any)
Sorry had overlooked this request. Using node v16.5.0
. The base directory containing everything where I ran camouflage init
is /Users/christoomey/unix/dev/camouflageGrpcMock
which contains grpc/mocks
. In config.yml
I've left the default setting
protocols:
...
grpc:
...
mocks_dir: "./grpc/mocks"
...
Stale issue message
Describe the bug With the default configuration (backup.enable: true), the server fails with this error at startup:
Since there's some problem w/ the backup implementation, I tried to disable backups by setting
backup.enable: false
in myconfig.yaml
, but surprisingly still got the same startup error, indicating the backup enable config. was ignored.To Reproduce Steps to reproduce the behavior:
.proto
file togrpc/protos
. In my case I added the one given in #73 .camoflauge --config config.yml
Expected behavior
backup.enable: false
should disable backupDesktop (please complete the following information):
Additional context Here's a patch to
camouflage-server/bin/camoflauge.js
to stop ignoring thebackup.enable
config: