question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to auto config Collection without `mkdir -p /data/uploads` by manual

See original GitHub issue

I would like to auto config Collection, without create directory store by manual mkdir -p /data/uploads. Please help me

const Files = new FilesCollection({
  // debug: true,
  storagePath: () => {
    return '/data/meteor_uploads'
  },
  collectionName: 'app_files',
})

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dr-dimitrucommented, Jun 13, 2019

Hello @thearabbit ,

If /data/ directory exists and writable, /data/meteor_uploads will be automatically created. Feel free to close it in case if the issue is solved on your end.

0reactions
dr-dimitrucommented, Jul 26, 2019

Closed due to silence at issue owner end. Feel free to reopen it in case if the issue still persists on your end.

Read more comments on GitHub >

github_iconTop Results From Across the Web

mkdir - Manual
The directory path. Tip. A URL can be used as a filename with this function if the fopen wrappers have been enabled. See...
Read more >
mkdir -p functionality in Python [duplicate]
For Python ≥ 3.5, use pathlib.Path.mkdir : import pathlib pathlib.Path("/tmp/path/to/desired/directory").mkdir(parents=True, exist_ok=True).
Read more >
mkdir - Manual - PHP
mkdir ( string $directory , int $permissions = 0777 , bool $recursive ... using chmod() after mkdir() to set the mode without it...
Read more >
Use the Content Management Shell (CMShell)
Select the Connection > Data sub-category, and set the Auto-login username to “sshacs” (minus the quotes). This value must be used. Select the...
Read more >
The Buildroot user manual
There is no need to be root to configure and use Buildroot. ... The collected filesystem size data is only meaningful after a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found