jstaf / onedriver

A native Linux filesystem for Microsoft OneDrive
GNU General Public License v3.0
1.86k stars 91 forks source link

Onedriver does not function on MXLinux #314

Open malecamp opened 1 year ago

malecamp commented 1 year ago

I've been tryng to use onedrive with mxlinux, however does not work. The page of authorization does not appear. Only the onedriver page. When I click in the plus button and choose the folder, does not appear the auth page of the microsoft as other distros. It's not debian cause i tried on peppermint and worked.

Best regards,

Marcelo

zazo58 commented 1 year ago

I am also having the same problem, it does not open the microsoft authentication page.

jstaf commented 1 year ago

What do you see when you run it on the command line? onedriver /path/to/some/folder? This will print the error message. (Please paste it here)

(The workaround/fix is to run onedriver --no-browser /path/to/some/folder, as this does not require the authentication window.)

zazo58 commented 1 year ago

1- What do you see when you run it on the command line? onedriver /path/to/some/folder? This will print the error message. (Please paste it here) 07:31:10 WRN Configuration file not found, using defaults. error="open /home /denisar/.config/onedriver/config.yml: no such file or directory" path=/home /denisar/.config/onedriver/config.yml

2- (The workaround/fix is to run onedriver --no-browser /path/to/some/folder, as this does not require the authentication window.)

I'm sorry, I'm nine in Linux and the terminal there is a bit complicated. Could you help me, what do I have to do to run onedriver in the Browser? Thanks for the feedback.

Em qua., 25 de jan. de 2023 às 01:00, Jeff Stafford < @.***> escreveu:

What do you see when you run it on the command line? onedriver /path/to/some/folder? This will print the error message. (Please paste it here)

(The workaround/fix is to run onedriver --no-browser /path/to/some/folder, as this does not require the authentication window.)

— Reply to this email directly, view it on GitHub https://github.com/jstaf/onedriver/issues/314#issuecomment-1403063403, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATTTNFIHK7NSDMDV5RUMJVLWUCQMXANCNFSM6AAAAAAT6U7FXM . You are receiving this because you commented.Message ID: @.***>

malecamp commented 1 year ago

marcelo@mx:~ $ onedriver /home/marcelo/Onedrive 12:12:54 WRN Configuration file not found, using defaults. error="open /home/marcelo/.config/onedriver/config.yml: no such file or directory" path=/home/marcelo/.config/onedriver/config.yml 12:12:54 INF onedriver v0.13.0 b96e638d 12:12:58 INF Serving filesystem. cachePath=/home/marcelo/.cache/onedriver/home-marcelo-Onedrive mountpoint=/home/marcelo/Onedrive 12:12:58 DBG id=6E7150F5133A143D!173235 nodeID=99 op=Open path=/.xdg-volume-info 12:12:58 INF Found content in cache. id=6E7150F5133A143D!173235 nodeID=99 op=Open path=/.xdg-volume-info

malecamp commented 1 year ago

Dear Jeff,

I used your command line ( onedriver --no-browser /home/marcelo/Onedrive ) and worked and I can use the files. However when I close the terminal he dows not mount anymore. I think does not mount as login. What can i do?

Best regards,

Marcelo

malecamp commented 1 year ago

Fail to mount every time I open the file manager.

fail to mount

zazo58 commented 1 year ago

Hello, thank you for your feedback. I understood and it worked for me. I have no problem closing the file manager, as long as I don't close the Konsole with the command. I don't understand programming, but would it be possible to put this condition in the App? Wouldn't it be worth it for the users? Thanks again.

Em qua., 25 de jan. de 2023 às 12:40, malecamp @.***> escreveu:

Fail to mount every time I open the file manager.

[image: fail to mount] https://user-images.githubusercontent.com/122958431/214606985-0f5e5efb-f5fd-4b49-ba26-eead5ebe38ad.png

— Reply to this email directly, view it on GitHub https://github.com/jstaf/onedriver/issues/314#issuecomment-1403816501, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATTTNFIC554STFYQKB45B33WUFCPHANCNFSM6AAAAAAT6U7FXM . You are receiving this because you commented.Message ID: @.***>

jstaf commented 1 year ago

@malecamp Just open the the UI and unmount/remount (just click the switch in the UI) to fix this. The credentials are saved once you log in successfully once. (I probably should have told you to do onedriver -a --no-browser /path/to/mountpoint - sorry for the bad advice on my part, but you should be set now as long as you unmount/remount through the UI.)

@zazo58 Ctrl-C in the Konsole window and do the same "turn off, then turn on" again in the app UI. Yeah I probably could put the --no-browser option in the UI somewhere at some point.

jstaf commented 1 year ago

I created https://github.com/jstaf/onedriver/issues/318 as a follow up. Will leave this one open because we still haven't figured out what the issue with MX Linux is (never got the actual error message for why the auth window won't open).

malecamp commented 1 year ago

@jstaf Thank you for your comprehension.

Everytime I open onedriver it's unmounted and not saves the mount position. Then I mount and click and close the window of authorization. As i open onedrive is unmounted again as you can see below. So it never runs as I log in.

tela

Too different of Linux Mint 21.1 as you can see below that runs very well. My congratulations. Runs better than using windows 10. It's allways mounted and saved.

tela2

PS: I think we are close to solve this matter on mx linux.

Best regards,

zazo58 commented 1 year ago

I want to thank you for your attention to our problem. I am sure that it is a matter of time to solve this problem.

Denisar Arneiro

Em dom., 29 de jan. de 2023 às 18:24, Jeff Stafford < @.***> escreveu:

I created #318 https://github.com/jstaf/onedriver/issues/318 as a follow up. Will leave this one open because we still haven't figured out what the issue with MX Linux is (never got the actual error message for why the auth window won't open).

— Reply to this email directly, view it on GitHub https://github.com/jstaf/onedriver/issues/314#issuecomment-1407773503, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATTTNFNBSBAWDKMMUCP72P3WU3NXJANCNFSM6AAAAAAT6U7FXM . You are receiving this because you were mentioned.Message ID: @.***>