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

Nextcloud remote folder don't exist #24

Closed
PrzemekSkw opened this issue Feb 7, 2023 · 28 comments
Closed

Nextcloud remote folder don't exist #24

PrzemekSkw opened this issue Feb 7, 2023 · 28 comments

Comments

@PrzemekSkw
Copy link

Hello, is there any guide how to configure Nextcloud. How to enter path of remote folder?

@hwittenborn
Copy link
Owner

Does the remote folder you're trying to add already exist on Nextcloud? If it doesn't I don't think Celeste supports setting up the sync directory from there, but there could probably be a prompt added to create it for you.

Or is it with an existing one and it just isn't working?

@PrzemekSkw
Copy link
Author

PrzemekSkw commented Feb 7, 2023

Hi, I try Documents folder that is default in Nextcloud. I try paths: /Documents and /files/admin/Documents. I try also full https://... path. I can't find any info how to put right path in Celeste.

@hwittenborn
Copy link
Owner

You should put the path how you'd see it in the Nextcloud web UI (i.e. a Documents folder that'd you'd see when opening up the Nextcloud file browser would be accessed from /Documents/).

If that doesn't work, could you send over the error message you're getting?

@PrzemekSkw
Copy link
Author

Do You mean https://myservername/apps/files/?dir=/Documents&fileid=16 ?
I try that and it don't work.

@hwittenborn
Copy link
Owner

No, just /Documents/, that's my bad for not being more specific. If just putting /Documents/ doesn't work can you send over a screenshot of the error, or at least the text of it?

@PrzemekSkw
Copy link
Author

First when I choose local folder I get this:
image
It means: Cannot display content of folder. Action has been cancelled.

then when I choose remote:
image

@hwittenborn
Copy link
Owner

hwittenborn commented Feb 9, 2023

Are you sure that Documents/ exists on your Nextcloud server? I haven't been having any issues, and Nextcloud is the primary thing I use with Celeste.

Would you be able to try removing the Nextcloud remote and re-adding it too? There might've been some issue during upgrades from one version of Celeste to the next. I don't think there was, but it wouldn't hurt to try to see if it fixes anything.

@PrzemekSkw
Copy link
Author

PrzemekSkw commented Feb 9, 2023

Yes, it exist. I will try another folder where I have some files.

@PrzemekSkw
Copy link
Author

Screenshot_2023-02-09-15-46-45-85_06ea656a9ba653ff96746f477f32d0f9

@PrzemekSkw
Copy link
Author

Meybe my docker installation is a problem?

@hwittenborn
Copy link
Owner

Are you saying you have Celeste installed inside of Docker? It'd probably be better to try from the Snap/Flatpak if so just to see if you can reproduce the issue.

@PrzemekSkw
Copy link
Author

PrzemekSkw commented Feb 9, 2023

No Nextcloud in Docker (DockStarter). Celeste in flatpak.

Edit.
I try other remote folder Templates - (/Szablony/) with the same issue.
I try Webdav with my Nextcloud and even cannot click Log in button. I remove that flatpak and will wait for AUR package.

@hwittenborn
Copy link
Owner

Hmm, I'm not quite sure what's up then. I can say that I've connected to Nextcloud just fine and haven't had any issues.

If you're using the WebDAV server type, you just add remote.php/dav/${USER}/files at the end of the URL. May you could try that?

If you're having an issue I definitely want to get it solved though. I'm not quite sure what's up, but we can get it figured out still if you want to keep giving it a shot.

@PrzemekSkw
Copy link
Author

@hwittenborn Hi, I have the same situation in AUR package. Is there any logs I could find from Celeste?

@hwittenborn
Copy link
Owner

Oh I didn't mention it, but make sure Celeste isn't running, and if you then run celeste from a terminal something there should be some output once your error occurs. Could you see if you can find anything from that @PrzemekSkw?

@PrzemekSkw
Copy link
Author

Hi, I have something like this:

(.tmpObWhr7:25840): Gtk-CRITICAL **: 18:23:39.172: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

(.tmpObWhr7:25840): Gtk-CRITICAL **: 18:23:39.673: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

(.tmpObWhr7:25840): Gtk-CRITICAL **: 18:23:39.675: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Adwaita-Message: 18:23:40.380: AdwMessageDialog mapped without a transient parent. This is discouraged.

(.tmpObWhr7:25840): Gtk-CRITICAL **: 18:23:45.746: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

(.tmpObWhr7:25840): Gtk-CRITICAL **: 18:23:45.749: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

(.tmpObWhr7:25840): Gtk-CRITICAL **: 18:23:46.251: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

@hwittenborn
Copy link
Owner

Hmm, there isn't anything that might be causing issues in that output. I'll do some debugging when I get home just to make sure everything's looking right, there are a few spots in the codebase I'm wanting to give a quick check over.

Just asking to make sure, but could you check that you're on the latest version?

@PrzemekSkw
Copy link
Author

I think there's no way to install old AUR version. Meybe there's some problem because SSL?

@hwittenborn
Copy link
Owner

hwittenborn commented Feb 14, 2023

Are you trying to install an older version for any particular reason? What error are you getting from the AUR too?

@PrzemekSkw
Copy link
Author

I have now AUR last version installed.

@hwittenborn
Copy link
Owner

Alright, thanks a ton @PrzemekSkw. I haven't found a solution yet, but I'll give this another look once I'm at home.

@PrzemekSkw
Copy link
Author

Meybe it's problem because I have Nextcloud in Docker and SSL from Nginx Proxy Manager. I also generate API token for Celeste app and don't login with my admin credentials.
But I also do that for other apps: Thunderbird, Cardbook (Thunderbird) and Fenrus. All works great.

@hwittenborn
Copy link
Owner

I wouldn't think so, as long as other things can access your Nextcloud instance just fine then it's probably just an issue with Celeste.

Would you be able to try logging in to any of the other storage backend (such as Google Drive or Dropbox)? That'd at least help to determine if it's just an issue with the Nextcloud integration or not.

@PrzemekSkw
Copy link
Author

I cant login to Google because I get warrning abut aplication is blocked.
Can You tell me it's normal view if I have login to Nextcloud but not add folders yet?
image

@Boricua3
Copy link

Hi. Sorry if I'm a little late to this topic. I just installed Celeste on Fedora 39 Silverblue and found this exact same issue. I tried with Flatseal adding acces to my failes, but the behavior remains the same. I'm using the latest Flatpak version.

@qntnlq
Copy link

qntnlq commented Apr 3, 2024

Hello,

Maybe we should reopen this issue. I came up with this exact same error. I'm on Silverblue with the Flatpak version of Celeste.
I'm trying to sync my logseq journal that I have setup locally :
Capture d’écran du 2024-04-03 19-08-20
The path to this folder is /var/home/quentin/logseq/

I have created a Nextcloud folder in my Documents :
Capture d’écran du 2024-04-03 19-07-25
So the remote folder path should be, if I am not mistaken, /Documents/logseq/

This is what I tried :
Capture d’écran du 2024-04-03 19-12-55

And I get this same message : The specified remote directory doesn't exist.

Maybe there is a problem on my end, but if I understood correctly what was written in this issue, I should have written the correct path. If you need more data, an app log or anything, I'd gladly help.

Thanks in advance !

EDIT : typo

@McBaumwolle
Copy link

I'm having the same issues as stated in #24 (comment) and cannot get this to work.

@jerem62
Copy link

jerem62 commented Nov 27, 2024

Same issue here, is there any solution or workarround ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants