You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Ubntu Linux, sh doesn't seem to work at all, while bash does.
$ sh ./dotlakeIngest.sh
./dotlakeIngest.sh: 4: [[: not found
./dotlakeIngest.sh: 10: [[: not found
Unsupported operating system. Please install yq manually.
...
$ bash ./dotlakeIngest.sh
usage: yq [-h] [--yaml-output] [--yaml-roundtrip]
[--yaml-output-grammar-version {1.1,1.2}] [--width WIDTH]
[--indentless-lists] [--in-place] [--version]
[jq_filter] [files ...]
yq: error: argument files: can't open '.relay_chain': [Errno 2] No such file or directory: '.relay_chain'usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--yaml-output-grammar-version {1.1,1.2}] [--width WIDTH] [--indentless-lists] [--in-place] [--version]
With Bash, there seem to be issues with the statements such as yq eval '.databases[0].type' config.yaml
$ yq eval'.databases[0].type' config.yaml
usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--yaml-output-grammar-version {1.1,1.2}] [--width WIDTH] [--indentless-lists] [--in-place] [--version] [jq_filter] [files ...]
yq: error: argument files: can't open '.databases[0].type': [Errno 2] No such file or directory: '.databases[0].type'
In fact, config.yaml has the databases section marked out, so why is it being parsed in the first place?
I removed # in my config.yaml, but I also tried with # and neither way works.
My DB section w/o the sharp:
retain_db: true # Set to true to retain database after the end of process.databases:
- type: postgreshost: 127.0.0.1port: 5432name: dotlakeuser: postgrespassword: postgres
Can you take a look at the instructions and make it clear how it should be or maybe fix the installer script if the problem is there?
The text was updated successfully, but these errors were encountered:
This issue you are facing on Linux machine should be fixed after today's update.
Added a little more detailed instructions on how to setup the database configuration on README, hope that resolves any confusion with regards to the config file.
On Ubntu Linux,
sh
doesn't seem to work at all, whilebash
does.With Bash, there seem to be issues with the statements such as
yq eval '.databases[0].type' config.yaml
In fact,
config.yaml
has the databases section marked out, so why is it being parsed in the first place?I removed
#
in myconfig.yaml
, but I also tried with#
and neither way works.My DB section w/o the sharp:
Can you take a look at the instructions and make it clear how it should be or maybe fix the installer script if the problem is there?
The text was updated successfully, but these errors were encountered: