signal-setup-guide icon indicating copy to clipboard operation
signal-setup-guide copied to clipboard

database migration command gives an error ?

Open umesh25 opened this issue 3 years ago • 1 comments

when I entered this command java -jar service/target/TextSecureServer-3.21.jar abusedb migrate service/config/config.yml

it gives an error like this

io.dropwizard.configuration.ConfigurationParsingException: service/config/config.yml has an error:
  * Unrecognized field at: attachments
    Did you mean?:
      - awsAttachments
      - gcpAttachments
      - httpClient
      - cache
      - admin
        [29 more]

so I change attachments to awsAttachments and the error is solved but again it gives a new error for keysdatabase

Unrecognized field at: keysDatabase

so I comment keysDatabase section in the config.yml file then again it gives an error like this

io.dropwizard.configuration.ConfigurationValidationException: service/config/config.yml has the following errors:
  * gcpAttachments must not be null
  * pubsub must not be null
  * remoteConfig must not be null
  * zkConfig must not be null

may be what i did for attachment and key database error is not a solution but I will try to proceed without it.

config11-3-21.txt

umesh25 avatar Mar 11 '21 11:03 umesh25

You have uncomplete config file, fill all the field and chexk if your config file match the example file @umesh25

madeindra avatar Mar 15 '21 23:03 madeindra