Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone-updater runs into http/403 #1049

Open
D3rManiac opened this issue Nov 27, 2023 · 9 comments
Open

Standalone-updater runs into http/403 #1049

D3rManiac opened this issue Nov 27, 2023 · 9 comments

Comments

@D3rManiac
Copy link

When trying to update from 2.0.2 to the latest version (currently 2.0.5), I'm just running into a 403 from my Apache server (version 2.4.56) on Debian 11.

I do believe thats not an error of microweber, but can't find a solution to it either, so maybe theres someone here who can help me?

The Log from the Apache says
"GET /userfiles/standalone-update/3381701083453/index.php?installVersion=latest HTTP/1.1" 403 521 "https://<domain>/admin/settings?group=updates"

The folder where microweber is stored is owned by the apacheuser and the rights are set to 744 (tried to set them to 777, nothing changed).
Is there anything further I could provide to resolve this?

@PlatonB
Copy link

PlatonB commented Dec 9, 2023

I got the same error when trying to update from 2.0.4 to 2.0.6.

@phausleitner
Copy link
Contributor

phausleitner commented Jan 2, 2024

Also Forbidden when upgrading from 2.0.5 to 2.0.7, 2.0.5 to 2.0.8, 2.0.7 to 2.0.8, 2.0.7 to 2.0.9, 2.0.8 to 2.0.9 and 2.0.9 to 2.0.10 (Curl as well as fgets methods).

@Svenjoelsson
Copy link

Got the same from 1.2.12 to 2.0.7.

@PlatonB
Copy link

PlatonB commented Jan 25, 2024

@peter-mw Is there any hope of fixing this problem?

@phausleitner
Copy link
Contributor

phausleitner commented Jan 27, 2024

Found this... Changed permissions in config, storage and userfiles to 777, no change, so I put it back. Laravel log doesn't report anything about this problem. Enabled debug.. does it debug only to Laravel log?

@phausleitner
Copy link
Contributor

Found this beautiful helper. It is not Standalone Updater, but works (from 2.0.7 to 2.0.9).

@phausleitner
Copy link
Contributor

Hi, any news about the issue/ more people having it? Also 403 from 2.0.10 to 2.0.12. Today's log...
standaloneupdaterissue.laravel.log

@fsbis
Copy link

fsbis commented Mar 4, 2024

So is there any solution to this or is the CMS just broken? Such a shame.

@peter-mw
Copy link
Member

peter-mw commented Mar 7, 2024

Please add the following line to .htaccess

  RewriteCond %{REQUEST_URI} ^/userfiles/standalone-update/.*\.php$ [NC]
  RewriteRule ^ - [L]

See #1063

image

Additionally if you have command line access you can update with

php artisan microweber:update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants