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
External Storage Mount SMB did not work #290
Comments
@icewind1991 can you please have a look? THX |
The root configuration option is not a local path, but a folder in the smb share that is mounted |
OK now its functional, i m sorry for that. So i missed this during reading the documentation, so at least you wrote optional you can use the "/" for the root. If i use / for root i got an HTTP 500 Error for the hole Frontend. I mentioned it in the first post. Additional: It seems that it not work correct for me in anyway, i ma sorry about that. So mybe another handling error?
Here is the log for an upload: |
Hi, im sorry for this push, but i really need an answer if this a user error or an application error. In both cases it would be nice if someone can give me hint for the solution. Thx Update: Hey there! What about the error i mentoined above. I cant finish a upload in the webfrontend it runs without a end, but the file completly appears in the shard folder on the windows server after leavining the site i m not in the possition to access the folder again an run into a blank page. |
@icewind1991 any idea? |
Is there anything in the apache error log or owncloud error log after you try and upload a file. Also can you try running |
I am having a similar problem trying to get this to work on openSUSE 12.2, 4.5.4. a similar error message appears, and nothing shows up in the smb folder on ownCloud. |
Here the log files: ==> owncloud.local_log <== Here ist the output of smbclient: Domain=[AD] OS=[Windows Server 2008 R2 Enterprise 7600] Server=[Windows Server 2008 R2 Enterprise 6.1]
|
@xtruthx Do the file names in your SMB share contain non ascii characters? This is an open issue at the moment. |
@MTRichards I believe your issue has been fixed with #290 |
Excellent. I will test in tonight's stable build |
@MTRichards it's not yet merged - stay tuned THX |
ok, then I won't test yet. |
ok thank you. And no there are no ascii characters in the file names. i will test it manually tomorrow morning. |
@MTRichards @xtruthx |
great. I will try tomorrow.with stable daily. thanks! |
i had a first look on it. Great it works! I will perfom more test on the next week, for now all looks fine. |
I found another problem. I can create folders and subfolders in a share, but I cannot create a file and remove folders/subfolders. Using owncloud-5.0 on Centos 6.4 x86_64. |
I tried to create a Mountpoint with SMB and i run in errors in serveral ways.
So my installation is an SLES 11 SP2 x64 with owncloud2012 4.5 enterprise.
Here is my mount.php:
<?php return array ( 'user' => array ( 'admin2' => array ( '/$user/files/SMB' => array ( 'class' => 'OC_Filestorage_SMB', 'options' => array ( 'host' => 'server', 'user' => 'user', 'password' => 'password', 'share' => '/testsmb', 'root' => '/srv/www/htdocs/owncloud/data/smb/', ),), ), ), ); ?>
And this is the error i got:
[Tue Nov 06 16:49:17 2012] [error] [client 10.10.10.10] PHP Warning: stat(): stat failed for smb://user:password@server/testsmb/srv/www/htdocs/owncloud/data/smb/ in /srv/www/htdocs/owncloud/apps/files_external/lib/smb.php on line 57, referer: https://cloudy.server/settings/admin.php
If i check the connection for smbclient manually it works fine. ( for example: sbmclient -L HOST -U USER works).
Update:
If i tried it with other values for root like smb/ or / i got an http 500 error.
Additional:
The Timestamp of the folder which appears in files has a timestamp from 1.January.1970 and so on, and it is noch accessable.
The text was updated successfully, but these errors were encountered: