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
I just tried OC 4.5.1 and detected a major regression with the sharing feature.
When USER1 shares FILE1 with USER2, the Shared folder is automatically created for USER2. With OC 4.5.1, however, USER2 is unable to open the Shared folder that should contain FILE1.
I understood what you were saying and I did those steps and couldn't reproduce. I'd like to know if there were any errors. Nothing happens isn't specific enough - does the page not reload or are you redirected back to the root folder?
Thanks for the prompt reply MTGap.
I was redirected to the root folder after clicking on the folder. I didn't see any error messages though. I'll try these steps again and see if I can reproduce this problem
Yeah this happened again. I'm not sure where I can check such an error log... I'm renting a server as shared hosting so... (if that has anything to do with it)
Maybe someone else can clarify the problem better than I.
Actually, the problem I reported here might be a duplicate of this: #87
if MTRichards is using a development build of OC 4.5 (and not the released version)
Sharing two folders to a group and 1 file to another user. First it worked and than stopped working unexpectedly. If you need debugging information, installing the git version etc. just ask. We are willing to test/help.
I do have the same issue (clean installed oC 4.5.1a)
I had a look at error and access log of apache aswell as the /data/owncloud.log (logging set to debug).
While clicking on the "Shared" folder I get this in acces log, others are empty:
Same problem here! I will setup a test-server and will share error logging tomorrow.
PS I had to look up "infelicitously". But you're welcome anyway ;-)
I can confirm that the same is happening here. I initially had it with an upgrade, then today I noticed that there was the 4.5.1a version so I created a brand new test system and copied my production data over, retrying the upgrade. Same issue with 4.5.1a. So then I decided to wipe my old data on the test system and try a fresh install and I receive the same problem.
Steps:
After install created admin account
Logged in under admin account and created a user account named "user"
Created a new directory named TEST
Uploaded a file to the new directory named TEST
Shared TEST with "user"
opened a new browser and logged in as "user"
Clicking on Shared just refreshes the page.
I enabled debugging in owncloud and cranked up debug logging in apache. The owncloud log isnt showing me anything but here are my apache logs. This comes up when I click on the Shared directory. In the browser the page just appears to reload and I never see what is inside of the Shared directory (i.e. I stay on the main page / index.php / kind of like pressing the refresh button on the browser):
Well I'm glad it has been narrowed down now, but unfortunately I still can't reproduce this. I can still navigate into the Shared folder and my shared pictures show up in the Pictures app as well.
VirtualHost 10.10.10.67:80
ServerName owncloud.amthinking.net
ServerAlias owncloud owncloud.amthinking.net
DocumentRoot /export/owncloud
LogLevel debug
/VirtualHost
Directory /export/owncloud
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
/Directory
Testing portion:
Create admin user
login
Create "user" user
Create a directory and copy a file to it
Share directory with user
Login as user and cannot open shared directory.
...Darn github markup... Doesnt like the gt/lt symbols...
Today I had access to a system where the bug occurs. I tragged it down to the point that one of the app causes the error. More precisely I some cases the filesystem setup hook gets intercepted and didn't reach the sharing app. On the test system it is also the Picture app which causes the problem. But on my dev system it also works with the Picture app enabled. Maybe it depends on the order in which the apps gets initialized? Maybe the order of the db entries for the apps?
I got the same issue on one of my test servers here. Will try to follow the track reported by schiesbn. So, for those who have the same error it worked well on 4.5.0?
Activity
MTGap commentedon Oct 25, 2012
I can't reproduce this with 4.5.1, you're going to need to provide more information.
areteichi commentedon Oct 25, 2012
After fresh installing OC 4.5.1:
Please report back if this reproduces this problem. Thanks!
EDIT:
Sorry, I accidentally clicked "Close & Comment" when I submitted this comment.
MTGap commentedon Oct 25, 2012
I understood what you were saying and I did those steps and couldn't reproduce. I'd like to know if there were any errors. Nothing happens isn't specific enough - does the page not reload or are you redirected back to the root folder?
areteichi commentedon Oct 25, 2012
Thanks for the prompt reply MTGap.
I was redirected to the root folder after clicking on the folder. I didn't see any error messages though. I'll try these steps again and see if I can reproduce this problem
MTGap commentedon Oct 25, 2012
Could you check your webserver error log?
areteichi commentedon Oct 25, 2012
Yeah this happened again. I'm not sure where I can check such an error log... I'm renting a server as shared hosting so... (if that has anything to do with it)
Maybe someone else can clarify the problem better than I.
areteichi commentedon Oct 25, 2012
Actually, the problem I reported here might be a duplicate of this:
#87
if MTRichards is using a development build of OC 4.5 (and not the released version)
jpaechnatz commentedon Oct 25, 2012
Confirmed with 4.5 and 4.5.1
Sharing two folders to a group and 1 file to another user. First it worked and than stopped working unexpectedly. If you need debugging information, installing the git version etc. just ask. We are willing to test/help.
dryo commentedon Oct 25, 2012
I do have the same issue (clean installed oC 4.5.1a)
I had a look at error and access log of apache aswell as the /data/owncloud.log (logging set to debug).
While clicking on the "Shared" folder I get this in acces log, others are empty:
Doesn't look that revealing to me.
dick1980 commentedon Oct 25, 2012
Same problem here! I will setup a test-server and will share error logging tomorrow.
PS I had to look up "infelicitously". But you're welcome anyway ;-)
gl1ch commentedon Oct 26, 2012
I can confirm that the same is happening here. I initially had it with an upgrade, then today I noticed that there was the 4.5.1a version so I created a brand new test system and copied my production data over, retrying the upgrade. Same issue with 4.5.1a. So then I decided to wipe my old data on the test system and try a fresh install and I receive the same problem.
Steps:
After install created admin account
Logged in under admin account and created a user account named "user"
Created a new directory named TEST
Uploaded a file to the new directory named TEST
Shared TEST with "user"
opened a new browser and logged in as "user"
Clicking on Shared just refreshes the page.
I enabled debugging in owncloud and cranked up debug logging in apache. The owncloud log isnt showing me anything but here are my apache logs. This comes up when I click on the Shared directory. In the browser the page just appears to reload and I never see what is inside of the Shared directory (i.e. I stay on the main page / index.php / kind of like pressing the refresh button on the browser):
Apache Log
owncloud.domain.com:80 192.168.5.104 - - [26/Oct/2012:12:07:05 -0700] "GET /?app=files&dir=//Shared HTTP/1.1" 302 456 "http://owncloud.domain.com/index.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1 Safari/536.26.14"
owncloud.domain.com:80 192.168.5.104 - - [26/Oct/2012:12:07:05 -0700] "GET /index.php HTTP/1.1" 200 2984 "http://owncloud.domain.com/index.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1 Safari/536.26.14"
owncloud.domain.com:80 192.168.5.104 - - [26/Oct/2012:12:07:05 -0700] "GET /?app=files&getfile=css%2Ffiles.css HTTP/1.1" 304 240 "http://owncloud.domain.com/index.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1 Safari/536.26.14"
owncloud.domain.com:80 192.168.5.104 - - [26/Oct/2012:12:07:05 -0700] "GET /remote.php/core.css HTTP/1.1" 304 239 "http://owncloud.domain.com/index.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1 Safari/536.26.14"
owncloud.domain.com:80 192.168.5.104 - - [26/Oct/2012:12:07:05 -0700] "GET /remote.php/core.js HTTP/1.1" 304 240 "http://owncloud.domain.com/index.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1 Safari/536.26.14"
owncloud.domain.com:80 192.168.5.104 - - [26/Oct/2012:12:07:05 -0700] "POST /core/ajax/translations.php HTTP/1.1" 200 433 "http://owncloud.domain.com/index.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1 Safari/536.26.14"
owncloud.domain.com:80 192.168.5.104 - - [26/Oct/2012:12:07:05 -0700] "GET /core/ajax/share.php?fetch=getItemsSharedStatuses&itemType=file HTTP/1.1" 200 433 "http://owncloud.domain.com/index.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1 Safari/536.26.14"
owncloud.domain.com:80 192.168.5.104 - - [26/Oct/2012:12:07:05 -0700] "GET /?app=files&getfile=ajax/scan.php&checkonly=true HTTP/1.1" 200 445 "http://owncloud.domain.com/index.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1 Safari/536.26.14"
owncloud.domain.com:80 192.168.5.104 - - [26/Oct/2012:12:07:05 -0700] "GET /cron.php HTTP/1.1" 200 423 "http://owncloud.domain.com/index.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.14 (KHTML, like Gecko) Version/6.0.1 Safari/536.26.14"
Error Log
[Fri Oct 26 12:05:59 2012] [debug] mod_deflate.c(615): [client 192.168.5.104] Zlib: Compressed 0 to 2 : URL /index.php, referer: http://owncloud.domain.com/index.php
[Fri Oct 26 12:05:59 2012] [debug] mod_deflate.c(615): [client 192.168.5.104] Zlib: Compressed 7457 to 2458 : URL /index.php, referer: http://owncloud.domain.com/index.php
gl1ch commentedon Oct 26, 2012
Just to add. I am running Debian Stable and I just updated to Debian Testing to see if it made a difference.
nidico commentedon Oct 26, 2012
Same thing happening to me on 4.5.1a (though not tested on a dedicated virgin environment):
2 remaining items
gl1ch commentedon Oct 26, 2012
sqlite here. You are welcome to setup a remote session with me using something like teamviewer to take a look.
nidico commentedon Oct 26, 2012
@gl1ch Confirmed! Disabling the Pictures app makes the problem disappear 👍
@MTGap sqlite here as well.
MTGap commentedon Oct 26, 2012
Well I'm glad it has been narrowed down now, but unfortunately I still can't reproduce this. I can still navigate into the Shared folder and my shared pictures show up in the Pictures app as well.
gl1ch commentedon Oct 26, 2012
Here is what I did to create a fresh system:
VirtualHost 10.10.10.67:80 ServerName owncloud.amthinking.net ServerAlias owncloud owncloud.amthinking.net DocumentRoot /export/owncloud LogLevel debug /VirtualHost Directory /export/owncloud Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all /DirectoryTesting portion:
Create admin user
login
Create "user" user
Create a directory and copy a file to it
Share directory with user
Login as user and cannot open shared directory.
...Darn github markup... Doesnt like the gt/lt symbols...
jpaechnatz commentedon Oct 27, 2012
Mysql 5.5.28
Owncloud 4.5.1
Disabled App "Pictures" and sharing works again.
schiessle commentedon Oct 27, 2012
Today I had access to a system where the bug occurs. I tragged it down to the point that one of the app causes the error. More precisely I some cases the filesystem setup hook gets intercepted and didn't reach the sharing app. On the test system it is also the Picture app which causes the problem. But on my dev system it also works with the Picture app enabled. Maybe it depends on the order in which the apps gets initialized? Maybe the order of the db entries for the apps?
thomask24 commentedon Oct 27, 2012
I had the same problem with 4.5.1 and 4.5.1a and downgraded to 4.5.
You can reproduce that problem in the demo installation at demo.owncloud.org:
friedeva commentedon Oct 28, 2012
Same problem here, sqlite, shared hosting, 4.5.1a (upgraded from 4.5). I can confirm also that disabling the picture app solves the problem!
blizzz commentedon Oct 28, 2012
I got the same issue on one of my test servers here. Will try to follow the track reported by schiesbn. So, for those who have the same error it worked well on 4.5.0?
blizzz commentedon Oct 28, 2012
Workaround:
in apps/files_sharing/appinfo/app.php add
OC_Util::tearDownFS();
before the connectHook and
OC_Util::setupFS();
at the end
I don't consider it a fix, because the problem is that setupFS runs, before all apps are loaded and thus all Hooks connected to.
make sure all filesystem apps are loaded when setupFS is proceeded, t…
Merge pull request owncloud#89 from owncloud/add-codecov