Giter Site home page Giter Site logo

Sync doesn't work on Ubuntu about joplin HOT 9 CLOSED

laurent22 avatar laurent22 commented on May 3, 2024
Sync doesn't work on Ubuntu

from joplin.

Comments (9)

tranduyhung avatar tranduyhung commented on May 3, 2024 1

I can access the URL.

When the app first runs, this error is in the Console tab:

Uncaught (in promise) TypeError: reg.syncTargets is not a function
    at Object.reg.syncHasAuth (/tmp/.mount_JoplinDrGI4A/app/resources/app/lib/registry.js:86)
    at timeoutCallback (/tmp/.mount_JoplinDrGI4A/app/resources/app/lib/registry.js:110)

After Synchronise is clicked:

Uncaught (in promise) TypeError: reg.oneDriveApi is not a function
    at Object.shared.synchronize_press (/tmp/.mount_JoplinDrGI4A/app/resources/app/lib/components/shared/side-menu-shared.js:39)
    at SideBarComponent.sync_click (/tmp/.mount_JoplinDrGI4A/app/resources/app/gui/SideBar.min.js:161)
    at onClick (/tmp/.mount_JoplinDrGI4A/app/resources/app/gui/SideBar.min.js:252)
    at HTMLUnknownElement.callCallback (/tmp/.mount_JoplinDrGI4A/app/resources/app/node_modules/react-dom/cjs/react-dom.development.js:540)
    at Object.invokeGuardedCallbackDev (/tmp/.mount_JoplinDrGI4A/app/resources/app/node_modules/react-dom/cjs/react-dom.development.js:579)
    at Object.invokeGuardedCallback (/tmp/.mount_JoplinDrGI4A/app/resources/app/node_modules/react-dom/cjs/react-dom.development.js:436)
    at Object.invokeGuardedCallbackAndCatchFirstError (/tmp/.mount_JoplinDrGI4A/app/resources/app/node_modules/react-dom/cjs/react-dom.development.js:450)
    at executeDispatch (/tmp/.mount_JoplinDrGI4A/app/resources/app/node_modules/react-dom/cjs/react-dom.development.js:834)
    at executeDispatchesInOrder (/tmp/.mount_JoplinDrGI4A/app/resources/app/node_modules/react-dom/cjs/react-dom.development.js:856)
    at executeDispatchesAndRelease (/tmp/.mount_JoplinDrGI4A/app/resources/app/node_modules/react-dom/cjs/react-dom.development.js:954)

Although this ticket is for Ubuntu, I use Debian Buster, maybe it is the same problem.

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

I haven't managed to replicate this on Ubuntu 17.04. Is it the issue where you click on Synchronise and there's just a white page with no error?

from joplin.

tranduyhung avatar tranduyhung commented on May 3, 2024

If nothing happens when clicking Synchronise, it is the same to my issue on Debian Buster. Everything is working except Synchronise button does nothing.

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

Yes this is really weird, they mentioned this in the omgubuntu article as well. I will try to run it on an Ubuntu 17.10 VM to see if I can replicate it.

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

For those having this problem, would you mind running the app with the dev tools open? To do so you just need to add a "flags.txt" file in the config directory:

echo "--open-dev-tools" > ~/.config/joplin-desktop/flags.txt

Then run the app again and it should display the dev tools. Open the "Console" tab then click on "Synchronise". Can you see any error message in the console?

Once it's done you can remove the dev tools by deleting the flags.txt file: rm ~/.config/joplin-desktop/flags.txt

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

Also just to be sure, do you have access to this url? https://login.microsoftonline.com/common/oauth2/v2.0/authorize (if you open it in your browser it should show the OneDrive sign in page with an error message).

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

Thanks that's very good to know. Actually this is code that I've removed some time ago and I wonder how it made its way to the Linux build, is that the latest version? (in Help > About you'll see the version number). The latest one is 0.10.28

from joplin.

tranduyhung avatar tranduyhung commented on May 3, 2024

I had 0.10.25 which was linked in omgubuntu. I thought I had the latest version. I have just downloaded 0.10.28 and synchronization works. I really appreciate your help @laurent22 ! Thank you!

from joplin.

laurent22 avatar laurent22 commented on May 3, 2024

Brilliant, thanks for the feedback and glad to hear it works now. I've added a comment on omgubuntu to let them know.

from joplin.

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.