vicalloy / outline-docker-compose

Install a self-hosted Outline wiki instance in a couple of minutes
BSD 3-Clause "New" or "Revised" License
738 stars 120 forks source link

Export uploads do not work #46

Open 50bbx opened 1 year ago

50bbx commented 1 year ago

I am trying to upload an export from the cloud version of Outline.

image

The issue is that it doesn't work and I can get a hint of the issue when looking at wk-outline logs:

{
   "error":"Inaccessible host: `127.0.0.1' at port `8888'. This service may not be available in the `xx-xxxx-x' region.",
   "stack":"UnknownEndpoint: Inaccessible host: `127.0.0.1' at port `8888'. This service may not be available in the `xx-xxxx-x' region.\n    at Request.ENOTFOUND_ERROR (/opt/outline/node_modules/aws-sdk/lib/event_listeners.js:557:46)\n    at Request.callListeners (/opt/outline/node_modules/aws-sdk/lib/sequential_executor.js:106:20)\n    at Request.emit (/opt/outline/node_modules/aws-sdk/lib/sequential_executor.js:78:10)\n    at Request.emit (/opt/outline/node_modules/aws-sdk/lib/request.js:686:14)\n    at error (/opt/outline/node_modules/aws-sdk/lib/event_listeners.js:389:22)\n    at ClientRequest.<anonymous> (/opt/outline/node_modules/aws-sdk/lib/http/node.js:99:9)\n    at ClientRequest.emit (node:events:526:28)\n    at ClientRequest.emit (node:domain:475:12)\n    at Socket.socketErrorListener (node:_http_client:442:9)\n    at Socket.emit (node:events:526:28)\n    at Socket.emit (node:domain:475:12)\n    at emitErrorNT (node:internal/streams/destroy:157:8)\n    at emitErrorCloseNT (node:internal/streams/destroy:122:3)\n    at processTicksAndRejections (node:internal/process/task_queues:83:21)",
   "level":"error",
   "message":"Error getting file from S3 by key"
}{
   "error":"Failed to fetch data for import from storage.",
   "stack":"InternalServerError: Failed to fetch data for import from storage.\n    at InternalError (/opt/outline/build/server/errors.js:35:34)\n    at ImportMarkdownZipTask.perform (/opt/outline/build/server/queues/tasks/ImportTask.js:55:41)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n    at async Queue.<anonymous> (/opt/outline/build/server/services/worker.js:132:7)",
   "level":"error",
   "message":"Error processing task in ImportMarkdownZipTask"
}

I think that importing an Outline exports works like this:

It looks like a config error. Is there a variable to define the minio's server side URL? It should be something like http://wk-minio:9000

g4ngli0s commented 1 year ago

I have the same error but exporting the data. Have you found the solution?

It could be a bug in outline: https://github.com/outline/outline/issues/5116