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

[Bug] Windows FS_DIRECTORY path needs ending slashes #38

Open
cjerrington opened this issue Jan 7, 2021 · 0 comments
Open

[Bug] Windows FS_DIRECTORY path needs ending slashes #38

cjerrington opened this issue Jan 7, 2021 · 0 comments

Comments

@cjerrington
Copy link

I really liked this project and wanted to give it a try (wanted to make my own, but I'd contribute here first)! I followed the Guided Install from your website and it all went as it should. During the setup it asks for the File Storage directory so I put in D:\MyDriveStorage which is outside of the cloned repo and running application.

Upon creating a user and starting to upload files I noticed the files were being saved to D:\MyDriveStorage5e561239-0e6c-4879-8a11-528a1ff24e2b not D:\MyDriveStorage\5e561239-0e6c-4879-8a11-528a1ff24e2b.

I was able to update the paths in the MongoDB when I moved the files to the correct folder and updated the prod.env file paths to include the ending slash.

FS_DIRECTORY=D:\MyDriveStorage\
ROOT=D:\MyDriveStorage\

What would it take to add notes in the setup to include the ending slash or append this programatically when checking the path for FS_DIRECTORY and ROOT?

System Details

  • NodeJS: v12.8.0
  • npm: 6.14.4
  • Windows 10 Pro x64 (20H2)
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

1 participant