flingo64 / PhotoStation-Upload-Lr-Plugin

Photo StatLr (aka PhotoStation Upload) is a Lightroom Publish and Export Service Plugin that enables the export /publishing of photos and videos from Lr to a Synology Photo Station. It uploads the photos/videos and all required thumbnails. It can download comments and ratings and do a real two-way synch of various metadata (tags, ratings, labels).
http://messmer-online.de/index.php/software/11-photo-statlr
GNU General Public License v3.0
209 stars 21 forks source link

No permission to use this function #74

Closed drissslim closed 11 months ago

drissslim commented 1 year ago

Hello,

I'm getting this error today after adding many photos to Lightroom.

9:38:37, INFO : processRenderedPhotos(mode: Publish). 09:38:37, INFO : -------------------------------------------------------------------- 09:38:41, ERROR: Photos_uploadPictureFiles('/var/folders/5l/h80pd59s1p147h7sr07v7lc80000gn/T/6F2B4D68-D639-462E-8336-210430058AFF/20220619_084231.jpg', 'Photos/2022/06', '20220619_084231.jpg', '[{"name":"api","value":"SYNO.FotoTeam.Upload.Item"},{"name":"method","value":"upload_to_folder"},{"name":"version","value":"1"},{"contentType":"image/jpeg","fileName":"20220619_084231.jpg","filePath":"/var/folders/5l/h80pd59s1p147h7sr07v7lc80000gn/T/6F2B4D68-D639-462E-8336-210430058AFF/20220619_084231.jpg","name":"file"},{"name":"duplicate","value":"\"ignore\""},{"name":"name","value":"\"20220619_084231.jpg\""},{"name":"mtime","value":1655620951},{"name":"target_folder_id","value":616}]') failed: No permission to use this function (probably a session timeout)! 09:38:41, ERROR: Upload of '/Volumes/T7 Shield/Photos/2022/06/20220619_084231.jpg' to 'Photos/2022/06/20220619_084231.jpg' failed! 09:38:41, INFO : PSUtilities.deleteAllEmptyFolders: Deleted 0 empty albums. 09:38:41, INFO : --------------------------------------------------------------------

Do you have an idea how to resolve this issue which is blocking publication?

Thank you.

flingo64 commented 11 months ago

No ideas yet. What works, what not? Can you try to upload as admin? A Logfile with 'Debug' level might reveal some more insights.

drissslim commented 11 months ago

Please find below the trace log with debug activated. Thank you statlr_plugin_trace.txt

flingo64 commented 11 months ago

What kind of account are you using? Home\Slim doesn't Look Like Like a DSM Account. Could you try to upload a photo using this account via Photos Web UI.

drissslim commented 11 months ago

Hi, this account is declared on Synology Directory Service (used for Windows domain). I've already used this account to update thounsands of photos and videos. I will check usineg another account. Thank you

drissslim commented 11 months ago

Yes the issue seems to be coming from my account. Thanks a lot for your help.