You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce
1.Create SMB / CIFS external storage with option “Log-In credentials, save in session”
2.Use Collabora online to open any Office file from this storage.
Expected behaviour
Document opens in Collabora Office.
Actual behaviour
You receive a message: "Failed to read document from storage. Please contact your storage server (you.host.name) administrator.
Server configuration
CentOS Linux release 7.7.1908
Apache 2.4.6
MariaDB 5.5.64
php 7.2.25
ownCloud 10.3.2
CODE-brand-4.0-2
loolwsd-4.0.9
Collabora Online 2.2.0
Additional info:
Everything works fine when I create SMB / CIFS external storage with option “Username and Password”. I may be wrong, but I think that it means that Owncloud can’t translate credentials to Collabora Online.
I, also, see this in log (corrected):
Dec 25 14:31:28 my-host-name ownCloud[6981]: [XgNIkMidtdBX5PI3n0IqrgAAAAM][IP.IP.IP.IP][1E302CBD-16AE-4A25-8943-D2399C1BBE21][richdocuments][GET][/index.php/apps/richdocuments/wopi/files/2355_ocpwuq48hvp9_0_0?access_token=vnMR6djYyacvhuirZMUitAHK9YPrMvPS&access_token_ttl=0&reuse_cookies=_ym_d%3D1571316561%3A_ga%3DGA1.2.643618832.1548410423%3A_ym_uid%3D1548…7902%3Aocp…vp9%3D0gk2eosm2h227sbnq17d0pj50t%3Aoc_sessionPassphrase%3DNppgeuDF07Pp%2F6W…Ut%2FS3%2F8pnH1ZDaMnv…cooQfJPYsmdlJfJMg0WDsLBPYMmRkDzH2P&permission=edit] wopiCheckFileInfo(): Could not retrieve file
The text was updated successfully, but these errors were encountered:
if (!$this->appConfig->encryptionEnabled()) {
// Set session for a user
\OC::$server->getUserSession()->setUser($user);
to this (add just one line):
if (!$this->appConfig->encryptionEnabled()) {
// Set session for a user
\OC::$server->getUserSession()->setUser($user);
\OC_Hook::emit('OC_User', 'post_login', ['run' => true, 'uid' => $user->getUID(), 'password' => 'myuserpassword']);
everything starts working for my session only (because of the constant ‘myuserpassword’)
As workaround, if there's no other way, how can I get the password which have been saved for SMB connection and insert it here for current user session?
Steps to reproduce
1.Create SMB / CIFS external storage with option “Log-In credentials, save in session”
2.Use Collabora online to open any Office file from this storage.
Expected behaviour
Document opens in Collabora Office.
Actual behaviour
You receive a message: "Failed to read document from storage. Please contact your storage server (you.host.name) administrator.
Server configuration
CentOS Linux release 7.7.1908
Apache 2.4.6
MariaDB 5.5.64
php 7.2.25
ownCloud 10.3.2
CODE-brand-4.0-2
loolwsd-4.0.9
Collabora Online 2.2.0
Additional info:
Everything works fine when I create SMB / CIFS external storage with option “Username and Password”. I may be wrong, but I think that it means that Owncloud can’t translate credentials to Collabora Online.
I, also, see this in log (corrected):
Dec 25 14:31:28 my-host-name ownCloud[6981]: [XgNIkMidtdBX5PI3n0IqrgAAAAM][IP.IP.IP.IP][1E302CBD-16AE-4A25-8943-D2399C1BBE21][richdocuments][GET][/index.php/apps/richdocuments/wopi/files/2355_ocpwuq48hvp9_0_0?access_token=vnMR6djYyacvhuirZMUitAHK9YPrMvPS&access_token_ttl=0&reuse_cookies=_ym_d%3D1571316561%3A_ga%3DGA1.2.643618832.1548410423%3A_ym_uid%3D1548…7902%3Aocp…vp9%3D0gk2eosm2h227sbnq17d0pj50t%3Aoc_sessionPassphrase%3DNppgeuDF07Pp%2F6W…Ut%2FS3%2F8pnH1ZDaMnv…cooQfJPYsmdlJfJMg0WDsLBPYMmRkDzH2P&permission=edit] wopiCheckFileInfo(): Could not retrieve file
The text was updated successfully, but these errors were encountered: