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

HOW TO MOUNT SPECIFIC FOLDER INSIDE ONEDRIVE USING ELFINDER NETMOUNT #3173

Closed
RAMKUMARIITR opened this issue Jun 3, 2020 · 5 comments
Closed
Labels

Comments

@RAMKUMARIITR
Copy link

@nao-pon
my root array >>

$opts['roots'][] = array_merge($tmbConfig, array(
    'id'       => '1', // set parent to Volume group (g1_) root "/" (Lw)
    'driver'      => 'OneDrive',
    'path'        => '/', // or folder id as root 
    'accessToken' => json_encode($ac_trail),  // @JSON String access token including refresh token
));

when I type folder name inside "path" error is popping up

what is folder id? is that something different than folder name or where can i get that folder id

@nao-pon
Copy link
Member

nao-pon commented Jun 5, 2020

@RAMKUMARIITR It can be obtained from the network mount dialog. You can also find it on the OneDrive website.
200605-214053

@RAMKUMARIITR
Copy link
Author

@RAMKUMARIITR It can be obtained from the network mount dialog. You can also find it on the OneDrive website.
200605-214053

Thank you... It worked.

@RAMKUMARIITR
Copy link
Author

@nao-pon Mounting of a specific folder is successful only if that folder is mounted at least once before. directly by entering folder id in path variable no mounting happening [loading bar slowly moves till 75% and stop]

one thing which we explored was :
The data of a previously mounted specific folder is being stored in cookies
When we change folder id and clear browser cookies then it is working
But when we change folder id without clearing browser cookies elfinder hangs a loading bar 80%.

@nao-pon
Copy link
Member

nao-pon commented Nov 30, 2020

@RAMKUMARIITR I have been away for a long time...

When I opened OneDrive for the first time in a while, it was not operating normally. The cause was that ca-bundle.crt was out of date and the PHP open_basedir setting was enabled.

I made a fix to the open_basedir setting on the OneDrive connector and updated ca-bundle.crt and it works fine in my environment.

Thanks!

@nao-pon
Copy link
Member

nao-pon commented Jun 9, 2021

Issue only accepts bug report and document request, so I'll close it.

Others can be posted to Discussions. Please post to Discussions if necessary.

@nao-pon nao-pon closed this as completed Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants