owncloud / updater

GNU Affero General Public License v3.0
27 stars 20 forks source link

Update ownCloud with Updater app don't works #729

Open hannesa2 opened 11 months ago

hannesa2 commented 11 months ago

It's a copy of https://github.com/owncloud/core/issues/41145 and I think here is a better place.

I try to update my installation (here you see my setup ##39256) with this promising button.

image

but I run into

image

Client error response [url] https://localhost/owncloud/index.php/occ/config:list [status code] 404 [reason phrase] Not Found

Sure, the issue is a misconfiguration, but how to solve this ?

iasdeoupxe commented 11 months ago

See owncloud/core#41145

This specific case looks more like a web server misconfiguration, the "Client error response" to "/owncloud/index.php/occ/config:list" from the screenshot (usually it's better to not use screenshots for error message so that other user can find them but also can copy them for further search) with a 404 status (Not Found) shows that the web server seems to not provide ownCloud on the "localhost" domain which looks like that is mandatory.

My best bet would be that you need to fix the web server config (this doesn't look like a ownCloud specific thing) with the help of the support community of the web server in use. :-)

hannesa2 commented 11 months ago

From where does this localhost https://localhost/owncloud/index.php/occ/config:list comes from ? This is the main question !

I use ownClud in a sub directory of my apache. Obsolete, but this is my apache config

<VirtualHost *:80>
        ServerName www.mxxxxx.info
        DocumentRoot /srv/www/vhosts/mxxxxx
        ErrorLog /var/log/apache2/mxxxxx.error.log
        CustomLog /var/log/apache2/mxxxxx.access.log combined
        RewriteEngine on
        RewriteRule     ^/wordpress(.*)$ https://%{SERVER_NAME}/wordpress$1 [L,R]
        LogLevel alert rewrite:trace3

        <Directory /srv/www/vhosts/mxxxxx>
                DirectoryIndex index.php index.html
                Options Indexes SymLinksIfOwnerMatch
                Require all granted
                AllowOverride All
        </Directory>
RewriteCond %{SERVER_NAME} =www.mxxxxx.info
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>
jnweiger commented 3 months ago

From where does this localhost https://localhost/owncloud/index.php/occ/config:list comes from ? This is the main question !

I'd guess that one of the apps misbehaves. With some luck, there is a stacktrace in onwcloud.log telling you the name of the app.