Can not erase a folder and containing folders/files

Nextcloud version 0 21.03
Operating system and version (eg, Ubuntu 20.04): Ubunto 20.04
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): 7.4

The issue you are facing:

I started migrating m,y files to Next Cloud an dallowed the synchronization start.

I was having errors due to file names. My file names had “*” in them.

I renamed them, and the sync was not changing the names on the server side.

I removed the offending folder.

The syn would not removing the folder on the server.

I triedremoving the offending fold on the server. It errors:
Error deleting file “XXXX”.

I even reinstalled the desktop client, in case there was an issue with it.

In the client, the error for the not deleting of the folder was:
Server replied: 423 locked

Any ideas on why this is happening?


Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

  1. try erasing the folder in question. I did not try other folders. Maybe this will happen to them as well.

The output of your Nextcloud log in Admin > Logging:

Error PHP Error: is_file(): open_basedir restriction in effect. File(/l10n/en.js) is not within the allowed path(s): (/var/www/clients/client1/web13/web:/var/www/clients/client1/web13/private:/var/www/clients/client1/web13/tmp:/var/www/ at /var/www/clients/client1/web13/web/lib/private/Template/ResourceLocator.php#106
Error PHP Error: file_exists(): open_basedir restriction in effect. File(/templates/) is not within the allowed path(s): (/var/www/clients/client1/web13/web:/var/www/clients/client1/web13/private:/var/www/clients/client1/web13/tmp:/var/www/mydomain/web:/srv/www/ at /var/www/clients/client1/web13/web/lib/private/Template/Base.php#68

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php $CONFIG = array ( 'instanceid' => 'oc9inbki1oos', 'passwordsalt' => 'secret', 'secret' => 'secret', 'trusted_domains' => array ( 0 => '', ), 'datadirectory' => '/var/www/clients/client1/web13/web/data', 'dbtype' => 'mysql', 'version' => '', 'overwrite.cli.url' => '', 'dbname' => 'c1nextcloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'secret', 'dbpassword' => 'secret', 'installed' => true, 'default_phone_region' => 'CA', 'memcache.local' => '\\OC\\Memcache\\APCu', 'app_install_overwrite' => array ( 0 => 'joplin', ), 'maintenance' => false, 'has_rebuilt_cache' => true, 'theme' => '', 'loglevel' => 2, '' => 'stable', ); The output of your Apache/nginx/system log in `/var/log/____`: [Wed Jul 28 00:00:32.155336 2021] [:error] [pid 371285] python_init: Python version mismatch, expected '2.7.17', found '2.7.18'. [Wed Jul 28 00:00:32.161987 2021] [:error] [pid 371285] python_init: Python executable found ''. [Wed Jul 28 00:00:32.162015 2021] [:error] [pid 371285] python_init: Python path being used '/lib/python2.7:/lib/python2.7/plat-x86_64-linux-gnu:/lib/python2.7/lib-tk:/lib/python2.7/lib-old:/lib/python2.7/l> [Wed Jul 28 00:00:32.162049 2021] [:notice] [pid 371285] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads. [Wed Jul 28 00:00:32.162073 2021] [:notice] [pid 371285] mod_python: using mutex_directory /tmp [Wed Jul 28 00:00:32.317779 2021] [mpm_prefork:notice] [pid 371285] AH00163: Apache/2.4.41 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f mod_python/3.3.1 Python/2.7.18 mod_perl/2.0.11 Perl/v5.30.0 configured -- r> [Wed Jul 28 00:00:32.317834 2021] [core:notice] [pid 371285] AH00094: Command line: '/usr/sbin/apache2' [Wed Jul 28 00:00:32.317935 2021] [mpm_prefork:warn] [pid 371285] AH00167: long lost child came home! (pid 729232) [Wed Jul 28 06:48:30.438241 2021] [php7:error] [pid 1154599] [client] script '/var/www/html/index.php' not found or unable to stat

You made may day :wink:

Glad I made you laugh :wink: But, being that it did not error when I created the name, how would I know that * is not a proper character to use?

I learned. Now, I need to see what is causing my sync problems. If you have any suggestions, please share them:)

Maybe I am into computer too long :wink:

Please search the web regarding this string. One result:

1 Like