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

Self-hosting. Cannot upload neither download .zip files. #1391

Closed
aguerta opened this issue Jan 7, 2024 · 1 comment
Closed

Self-hosting. Cannot upload neither download .zip files. #1391

aguerta opened this issue Jan 7, 2024 · 1 comment

Comments

@aguerta
Copy link

aguerta commented Jan 7, 2024

Describe the bug
I am trying to use desktop docker with Notion2Anki but cannot upload my .zip files in the Upload page.
What message it gives me?: "The "path" argument must be of type string. Received undefined"

To Reproduce
Steps to reproduce:

  1. Build the container.
  2. Run it with the following command: docker run -p 8080:8080 --detach --name nn
  3. Go to the upload page and try to ankize a notion page.
  4. Fail.

Expected behavior
Not fail, getting my ankicards like I can get in the oficial server.

Screenshots
image

Desktop (please complete the following information):

  • Docker desktop. v4.26.1 default version.
  • Windows 10 (Host) & WSL 2 Ubuntu 22.04.2 LTS (Docker containers)
  • Notion2Anki commit 95892e5 with the Docker file from the commit f0a1256
  • Browser: Brave

Additional context
Really grateful for all the support all people give to this project and hope this isn't happening to only me. Kudos for y'all.
I am not really an expert in javascript, neither Typescript or Docker but I have a question @aalemayhu: Why did you remove the docker image in recent commits?

@aalemayhu
Copy link
Contributor

The long-term plan is to provide documentation for self-hosting and running it locally. This is a duplicate of #552

I'm closing this issue, but I wanted to clarify why the Dockerfile was removed. I migrated the server from DigitalOcean, where it was running in a container with Dokku, to bare metal. Since the project is no longer using Docker, I removed the Dockerfile to avoid any confusion or maintenance issues. I didn't have the time to continue supporting Docker for this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants