Coder Social home page Coder Social logo

Comments (4)

abraunegg avatar abraunegg commented on August 11, 2024

@mikespolk
You are best to uninstall by following https://github.com/skilion/onedrive#uninstall , then ensuring that there are no remaining systemd service files lurking around.

Once that is done and your system is cleaned up, install the client the correct way following: https://github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md

from onedrive.

mikespolk avatar mikespolk commented on August 11, 2024

Thank you, that helped a lot!
In fact, the instructions to follow in my LM21.1 case were very accurate: first the https://github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md and from there, the Debian+Ubuntu-specific install section, as clearly stated in the version table.

However, one problem is still left: After creating the config file with its sync_dir and skip_file sections and installing OneDrive as service, I keep getting this error constantly repeating:

user1@LM4:~$ journalctl --user-unit onedrive -f
Jun 19 21:06:32 LM4 systemd[951]: onedrive.service: Failed with result 'exit-code'.
Jun 19 21:06:36 LM4 systemd[951]: onedrive.service: Scheduled restart job, restart counter is at 3.
Jun 19 21:06:36 LM4 systemd[951]: Stopped OneDrive Free Client.
Jun 19 21:06:36 LM4 systemd[951]: Started OneDrive Free Client.
Jun 19 21:06:36 LM4 onedrive[1631]: onedrive.service: ProtectHostname=yes is configured, but UTS namespace setup is prohibited (container manager?), ignoring namespace setup.
Jun 19 21:06:36 LM4 onedrive[1631]: Configuration file successfully loaded
Jun 19 21:06:36 LM4 onedrive[1631]: config file has been updated, checking if --resync needed
Jun 19 21:06:36 LM4 onedrive[1631]: An application configuration change has been detected where a --resync is required
Jun 19 21:06:36 LM4 systemd[951]: onedrive.service: Main process exited, code=exited, status=126/n/a
Jun 19 21:06:36 LM4 systemd[951]: onedrive.service: Failed with result 'exit-code'.
Jun 19 21:06:39 LM4 systemd[951]: onedrive.service: Scheduled restart job, restart counter is at 4.
Jun 19 21:06:39 LM4 systemd[951]: Stopped OneDrive Free Client.
Jun 19 21:06:39 LM4 systemd[951]: Started OneDrive Free Client.

...etc.

That is, after initial manual sync (which I terminated with Ctrl+C), no more files have synced from cloud.

How to correct or troubleshoot?

from onedrive.

mikespolk avatar mikespolk commented on August 11, 2024

Edit: After writing the previous, I found the reason. In fact, it was visible in the journal text itself: I had to terminate the onedrive process and then run the onedrive --resync one more time.
When I then restarted the onedrive service, it was working OK.

@abraunegg Thank you for support!

from onedrive.

abraunegg avatar abraunegg commented on August 11, 2024

Edit: After writing the previous, I found the reason. In fact, it was visible in the journal text itself: I had to terminate the onedrive process and then run the onedrive --resync one more time. When I then restarted the onedrive service, it was working OK.

@abraunegg Thank you for support!

No problem - also this GitHub repository is not managed or maintained. Please post questions or support queries here: https://github.com/abraunegg/onedrive

from onedrive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.