pako64
Forum Replies Created
-
Forum: Plugins
In reply to: [External files in Media Library] Issue with NextCloud synchronisationHello.
This morning I found some more time to test again, alas without a positive outcome…
To avoid any influence from a previous setup i decded to delete both plugins (and remove all data option enabled).Under the dashes I tried to keep a log of what I did. Hope this helps.
—–
Reinstalled External Files Plugin
First went to Settings > Choose Configuration > selected ‘Default settings’Media -> External Sources > Add External Source > Dialog click ‘here’
Select the source -> WebDav -> Install Plugin. Then follows an Error ‘Requested service is a plugin, that is not installed and activate!’
However, clicking ‘Your External Sources’ again, the page displays correctly.Again, Add External Source > Dialog click ‘here’. WebDav is not activated, click on WebDav ‘Activate Plugin’, Dialog ‘Yes, Activate it’. Now a dialog comes up ‘Installation and activatiob has been Executed’. Click ‘Done’.
The ‘Choose file(s) from your WebDAV screen appears. Now fill in:
- Server, Login, Password
- Path proposed value remains unchanged
- Activate ‘Save these credentials as external source’ and click ‘Show Directory’
- Directory is loading … and then directory structure displays.
Select the folder to be synchronized (files in the folder display on the right) and click ‘Save active directory as your external source’ (Note: ‘active directory’ is a bit confusing a term, maybe better ‘selected directory/folder’)
Dialog ‘The external source has been saved’ and click ‘OK’. Now nothing happens (bit confusing, maybe ‘Select another directory’ instead of OK? And add third button ‘Show External sources’).
In WP menu select ‘Your external sources’, now two (!) external sources appear. For both the ‘Synchronization’ is already set to ‘ON’ (maybe better set this to OFF and let the user configure it and then activate it per external source?) One is the selected directory, the second external source is the root folder of the WebDAV (why is this? it was not selected…)
Note: The Synchronization buttons are shown (part of the ‘Default Settings’ i guess, or a remainder of a previous setup?)
Note: The Log-mode in settings is set to ‘log all’, also part of the ‘Default settings’?)In the log a lot of ‘Set capability efml_cap_xxx for the following roles: [“administrator”,”editor”]’ messages appear.
However in Settings -> Permissions all thes seem to be set correctly (Default settings?)Back to External sources, I select ‘Configure’ on the second external source (the one i really selected). Set the following:
- Interval ‘every 15 minutes’
- No filetypes selected, so all should be synchronized
- Target folder ‘MyMusicFiles’ (I have installed CatFolders and defined the foder ‘MyMusicFiles’)
- Checkbox ‘copyright’
Then click ‘Save’, Dialog ‘Configuration Saved’ -> click ‘OK’
In the log another lot of ‘Set capability efml_cap_xxx for the following roles: [“administrator”,”editor”]’ messages appear.
In Settings -> Permissions I now click the ‘Default’ settings button. Dialog ‘Set Cabilities’ and click ‘Yes’. Then click ‘Save Changes’ at the bottom of the page (needed?)Check the log again, and again new the ‘Set capability…’ log entries have appeared. All these are State (i), so now errors apparently.
After 20 minutes: no files have been synchronized.
Then, in ‘Your External Sources’ clicked ‘Now’. Synchronize now? Choose ‘Yes, synchronize now’, synchronization in progress and the ‘An error occurred’, ‘Request timeout’. Clicked ‘OK’.
No files are synchronized to the library. Again, al lot of ‘Set capability… records a re added to the log.
Back to Settings > Permissions and under ‘Permissions for external sources’ i selected explicitly ‘Aministrator’ and ‘Editor’ for the WebDAV service and clicked ‘Save Changes’ at the bottom of the page.
Back to ‘Your External Sources’ and clicked ‘Now’ on the source i wanted to synchronize. Again a ‘request timeout’ occurs.
Final try: disabled all plugins except the ‘External Files…’ plugins.
Back to ‘Your External Sources’ and clicked ‘Now’ on the source i wanted to synchronize. Again a ‘request timeout’ occurs.—
Now I am no longer sure what to do to get this to work. And it seems as if I am further from home than before. What to do? Would it help if I send you the log (how)? We could schedule a call and I can share my screen?
Please advise.
Forum: Plugins
In reply to: [External files in Media Library] Issue with NextCloud synchronisationHi, thats earlier than expected…
I installed the 1.02 version, and did not make any changes to the settings after the installation (so synchronization should stil happen every 15 minutes). After that, I added one file in one of the three WebDAV folders which I have set up as external sources. When i checked after an hour or so, the file did not yet appear in the media library.
Then I checked the log and found that: (1) There are no more error lines appearing, but only records stating ‘‘Using protocol WebDAV for this URL.’ (2) However, these records are created at irregular intervals and not the 15 minutes as setup (as an example for one specific external source the timestamps in the log are 12:13, 13:01, 13:38, 13:52, 14:10).
So, something still seems to go not as expected. If I can be of any further help let me know. I really hope you can get this to work!
Forum: Plugins
In reply to: [External files in Media Library] Issue with NextCloud synchronisationHello. Thanks for your prompt reaction and you initial findings on the issue I reported.
I am looking forward to an updated version of the WebDAV plugin in which the synchronization works as expected.