Были обнаружены ошибки конфигурации после обновления на 25.0.3

Привет! Мой первый тикет на форуме, прошу не судить строго.
Проблема возникла после обновления Nextcloud до версии 25.0.3, выдал ошибку об ошибке в конфигурации.
Results

  • core
    • INVALID_HASH
      • .htaccess
        Прошу помощи. Новичок в этих темах, только учусь, потому заранее прошу прощения за возможные глупые вопросы :slight_smile:
        Заранее большое спасибо за ответы!

Hi,
maybe there is a file .htaccess in “core” that is not from Nextcloud. Maybe you must delete the file.

возможно, в “core” есть файл .htaccess, который не из Nextcloud. Возможно, вам нужно удалить этот файл.
DeepL Translate: The world's most accurate translator

1 Like

Hey! There is no such file in the folder.

Can you search all folders?
find /path/to/nextcloud -name ".htaccess"

But there are needed .htaccess e.g. /path/to/nextcloud/.htaccess for e.g. rewrite.

I don’t quite understand what you are talking about :frowning:

Maybe this helps:
sudo -u www-data php /path/to/nextcloud/occ maintenance:update:htaccess

[SOLVED] Error: "Some files have not passed the integrity check". INVALID_HASH

1 Like

i have .htaccess here:
/nextcloud/.htaccess
/nextcloud/config/.htaccess
/nextcloud/data/.htaccess
and in backup’s

sudo: unknown user: www-data
sudo: error initializing audit plugin sudoers_audit

Sorry. I find in my system all the three .htaccess.
For the sudo-command. You must use the correct webserver user:

sudo -u username ...