Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download all error #261

Open
Freshm4at opened this issue May 18, 2021 · 1 comment
Open

Download all error #261

Freshm4at opened this issue May 18, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Freshm4at
Copy link

Freshm4at commented May 18, 2021

Hi Guys,
I try to setup pelias on AWS. I already install pelias docker on local server without any issues but now i try to reproduce the installation on an xlarge AWS server (8Go RAM)

Describe the bug

Steps to Reproduce

i follow the README installation instruction
and run the command "pelias download all"

Environment (please complete the following information):

Linux AWS server with docker and docker-compose latest version

Pastebin/Screenshots

Capture du 2021-05-18 13-01-28

Additional context

I modify nothing in the original france project

logs

When i check log with pelias compose logs, i have this :

interpolation_1 | TypeError: Cannot open database because the directory does not exist
interpolation_1 | at new Database (/code/pelias/interpolation/node_modules/better-sqlite3/lib/database.js:33:9)
interpolation_1 | at setup (/code/pelias/interpolation/api/search.js:12:14)
interpolation_1 | at Object. (/code/pelias/interpolation/cmd/server.js:32:11)
interpolation_1 | at Module._compile (internal/modules/cjs/loader.js:955:30)
interpolation_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
interpolation_1 | at Module.load (internal/modules/cjs/loader.js:811:32)
interpolation_1 | at Function.Module._load (internal/modules/cjs/loader.js:723:14)
interpolation_1 | at Function.Module.runMain (internal/modules/cjs/loader.js:1043:10)
interpolation_1 | at internal/main/run_main_module.js:17:11
interpolation_1 | /code/pelias/interpolation/node_modules/better-sqlite3/lib/database.js:33
interpolation_1 | throw new TypeError('Cannot open database because the directory does not exist');
interpolation_1 | ^

placeholder_1 | TypeError: Cannot open database because the directory does not exist
placeholder_1 | at new Database (/code/pelias/placeholder/node_modules/better-sqlite3/lib/database.js:32:9)
placeholder_1 | at DocStore.Database.open (/code/pelias/placeholder/lib/Database.js:17:13)
placeholder_1 | at Placeholder.module.exports.load (/code/pelias/placeholder/prototype/io.js:10:14)
placeholder_1 | at Object. (/code/pelias/placeholder/server/http.js:68:4)
placeholder_1 | at Module._compile (internal/modules/cjs/loader.js:955:30)
placeholder_1 | at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
placeholder_1 | at Module.load (internal/modules/cjs/loader.js:811:32)
placeholder_1 | at Function.Module._load (internal/modules/cjs/loader.js:723:14)
placeholder_1 | at Function.Module.runMain (internal/modules/cjs/loader.js:1043:10)
placeholder_1 | at internal/main/run_main_module.js:17:11
placeholder_1 | /code/pelias/placeholder/node_modules/better-sqlite3/lib/database.js:32
placeholder_1 | throw new TypeError('Cannot open database because the directory does not exist');
placeholder_1 | ^

Thanks :)

@Freshm4at Freshm4at added the bug Something isn't working label May 18, 2021
@missinglink
Copy link
Member

Hi @Freshm4at, I'm trying to understand this screenshot, it looks like you hit Control+C a couple times to cancel the pelias download all command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants