Posts by CreZo

    Do a ls -la on your Nextcloud directory, and paste it here.


    /www/nextcloud# ls -la
    insgesamt 224
    drwxr-s---+ 15 root www-data 4096 Dez 18 16:10 .
    drwxrwsr-x+ 3 Dennis users 4096 Dez 18 16:10 ..
    drwxr-s---+ 29 root www-data 4096 Dez 17 19:48 3rdparty
    drwxr-s---+ 45 www-data www-data 4096 Dez 14 18:12 apps
    -rw-r-----+ 1 root www-data 8868 Dez 14 16:55 AUTHORS
    drwxr-s---+ 2 www-data www-data 4096 Dez 14 17:15 config
    -rw-r-----+ 1 root www-data 3638 Dez 14 16:55 console.php
    drwxr-s---+ 16 root www-data 4096 Dez 14 16:55 core
    -rw-r-----+ 1 root www-data 5353 Dez 14 16:55 cron.php
    drwxr-x---+ 8 www-data www-data 4096 Dez 14 18:16 data
    -rw-r-----+ 1 root www-data 40622 Dez 14 16:55 db_structure.xml
    -rw-r--r--+ 1 root www-data 2771 Dez 14 17:17 .htaccess
    -rw-r-----+ 1 root www-data 179 Dez 14 16:55 index.html
    -rw-r-----+ 1 root www-data 2471 Dez 14 16:55 index.php
    drwxr-s---+ 3 root www-data 4096 Dez 14 16:55 l10n
    drwxr-s---+ 6 root www-data 4096 Dez 14 16:55 lib
    -rwxr-x--x+ 1 root www-data 283 Dez 14 16:55 occ
    drwxr-s---+ 2 root www-data 4096 Dez 14 16:55 ocs
    drwxr-s---+ 2 root www-data 4096 Dez 14 16:55 ocs-provider
    -rw-r-----+ 1 root www-data 3184 Dez 14 16:55 public.php
    -rw-r-----+ 1 root www-data 5431 Dez 14 16:55 remote.php
    drwxr-s---+ 4 root www-data 4096 Dez 14 16:55 resources
    -rw-r-----+ 1 root www-data 26 Dez 14 16:55 robots.txt
    drwxr-s---+ 11 root www-data 4096 Dez 14 16:55 settings
    -rw-r-----+ 1 root www-data 2110 Dez 14 16:55 status.php
    drwxr-s---+ 3 www-data www-data 4096 Dez 14 16:55 themes
    drwxr-s---+ 2 www-data www-data 4096 Dez 14 16:55 updater
    -rw-r-----+ 1 root www-data 163 Dez 14 16:55 .user.ini
    -rw-r-----+ 1 root www-data 277 Dez 14 16:55 version.php

    1. Ensure you save the script as .sh. and modify ocpath='/var/www/nextcloud' according to your installation directory.
    2. sudo chmod +x script_name.sh
    3. ./script_name

    Didn't work for me. I've got still the same error:


    Check for write permissions
    The following places can not be written to:

    • "just an example path"/www/nextcloud/updater/../.user.ini
    • etc /../public.php
    • and so on and so on

    First, THANK YOU SO MUCH FOR YOUR INSTALLATION GUIDE!!! I had so many issues with other guids (security problems etc.). So I'm on version 11.0.2 (stable) and I want to update to 12.0.4 but I used your security script (step 11) and I don't know how to do the update know. Can you help me please?