[gollem] "Not supported" message while a file upload

Jan Schneider jan at horde.org
Thu Jun 22 11:29:53 UTC 2017


Zitat von Christian Schoepplein <c.schoepplein at musin.de>:

> Hi Jan,
>
> On Wed, Jun 21, 2017 at 08:23:59PM +0000, Jan Schneider wrote:
>> Zitat von Christian Schoepplein <c.schoepplein at musin.de>:
>>> I am using the latest horde and gollem packages and have configured a
>>> samba backend for my users. The backend definition looks like this,
>>> $servername is queried befor via a sql statement because the users are
>>> located on different servers:
>>>
>>>     $backends['smb'] = array(
>>>       'disabled' => false,
>>>       'name' => 'Home Verzeichnis auf Schulserver',
>>>       'driver' => 'smb',
>>>       'hordeauth' => true,
>>>       'params' => array(
>>>         'hostspec' => $servername,
>>>         'port' => 139,
>>>         'share' => 'homes',
>>>         'smbclient' => '/usr/bin/smbclient',
>>>         'permissions' => '750'
>>>       ),
>>>       'loginparams' => array(
>>>           // Allow the user to change to Samba server.
>>>           // 'hostspec' => '$servername',
>>>           // Allow the user to change the Samba port.
>>>           // 'port' => 'Port',
>>>           // Allow the user to change the Samba share.
>>>           // 'share' => 'Share',
>>>       ),
>>>       // 'root' => '',
>>>       // 'home' => '',
>>>       'createhome' => false,
>>>       // 'filter' => '^regex$',
>>>       'quota' => false,
>>>       'attributes' => array(
>>>         'type',
>>>         'name',
>>>         'edit',
>>>         'download',
>>>         'modified',
>>>         'size'
>>>       )
>>>     );
>>>
>>> When the users try to upload a file they get a message that just shows
>>> "Not supported" and the file is not stored on the server. If the upload
>>> is repeated immediately after the first try, the upload works and the
>>> file shows up on the server.
>>>
>>> So the upload seems to be working, but it has to be repeated because the
>>> first try failes.
>>>
>>> Has anyone a hint what the "not supported" message means and why the
>>> upload is not working during the first try? How can I debug this
>>> behaviour? I did not find something related in the webserver logs on the
>>> horde server, on our reverse proxy or on the samba backend :-(.
>>
>> Try setting the log level to DEBUG so that you get a backtrace to  
>> that error.
>
> Will try this when not that much users are working with the system,
> thanks.
>
> As a workaround I switched to a ftp backend. That seems to work better,
> but I can see many lines like this in the horde log:
>
> 2017-06-22T07:44:56+00:00 WARN: HORDE [gollem] PHP ERROR: rewind():
> stream does not support seeking [pid 30057 on line 1770 of
> "/usr/share/php/Horde/Mime/Part.php"]
> 2017-06-22T07:44:56+00:00 WARN: HORDE [gollem] PHP ERROR: fseek():
> stream does not support seeking [pid 30057 on line 73 of
> "/var/www/horde/gollem/view.php"]

If using the FTP backend?

> Is that something that can be ignored or what is causing this errors and
> what can / should I do to prevent them?

Report them to the bug tracker.

-- 
Jan Schneider
The Horde Project
https://www.horde.org/



More information about the gollem mailing list