User cannot delete folder

Ask all your questions regarding OC 8.2 Please read the Support Forum Rules
Forum rules
The forums were migrated over to https://central.owncloud.org which is based on the forum software Discourse. The forums here is put into read-only mode starting from today.

More background information about this move and the reasoning behind it is available in this blogpost:

https://daniel.molkentin.net/2016/07/20 ... d-central/
kallet
Beginner
Posts: 15
Joined: Mon Jun 09, 2014 11:16 am
ownCloud version: 7.0.1
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 5.4.4

User cannot delete folder

Postby kallet » Mon Jun 27, 2016 3:35 pm

User cannot remove one directory. Is it possible to find it by hand from DB and remove it?

Steps to reproduce
I don't know how to reproduce this situation - maybe it was shared folder (shared from third user and possibly from another instance) but web gui doesn't show the folder as if it was shared. User who has this problem wasn't sure were it comes from.

When I look at directory tree on server then this folder is not viewable under _user_/files or _user_/files_encryption/keys/files directory.

Expected behaviour
User should be able to remove any files/folders he has under his account.

Actual behaviour
Folder is grayed out and when deleted under desktop client it reappears.

Server configuration
Operating system: debian
Web server: nginx
Database: mysql
PHP version: 5.6.17
ownCloud version (see ownCloud admin page): 8.2.2
Updated from an older ownCloud or fresh install: updated
ownCloud log (data/owncloud.log): something like
"app":"PHP","message":"fopen(\/somedir\/subdir\/file): failed to open stream: No such file or directory at \/var\/www\/owncloud\/lib\/private\/files\/storage\/local.php#247","level":3

Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):
server-side encryption

tflidd
Forum Moderator
Posts: 7159
Joined: Sat Dec 07, 2013 7:27 pm
ownCloud version: 8.2.3
Webserver: Apache
Database: MySQL
OS: Linux

Re: User cannot delete folder

Postby tflidd » Tue Jun 28, 2016 9:34 am

You can run a file scan from your terminal:
https://doc.owncloud.org/server/8.2/adm ... operations

You should also consider updating to the current version 8.2.5 which contains a lot of bugfixes.

kallet
Beginner
Posts: 15
Joined: Mon Jun 09, 2014 11:16 am
ownCloud version: 7.0.1
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 5.4.4

Re: User cannot delete folder

Postby kallet » Thu Jun 30, 2016 4:32 pm

Thank you for pointing that out.
I run this scan couple of times but since it didn't show me any output after run I thought that this didn't fix anything.
But I now asked user and he confirmed that this problem was solved.
So seems that this scan is like little black box - you don't know what it does and what should be the outcome .. but it works. marvelous.

tflidd
Forum Moderator
Posts: 7159
Joined: Sat Dec 07, 2013 7:27 pm
ownCloud version: 8.2.3
Webserver: Apache
Database: MySQL
OS: Linux

Re: User cannot delete folder

Postby tflidd » Thu Jun 30, 2016 4:37 pm

You can add -v(vvv) to increase the amount of output.


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Server 8.2”

Who is online

Users browsing this forum: No registered users and 1 guest