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

The requested URL /setup was not found on this server. #2925

Closed
fiftyy opened this issue Feb 25, 2018 · 17 comments
Closed

The requested URL /setup was not found on this server. #2925

fiftyy opened this issue Feb 25, 2018 · 17 comments

Comments

@fiftyy
Copy link

fiftyy commented Feb 25, 2018

I have installed all: now i got this:
The requested URL /setup was not found on this server.

My D.Root!
`DocumentRoot /var/www/status.ventix.eu/Cachet/public/

a2enmod rewrite
Module rewrite already enabled

@uxen-ab
Copy link
Contributor

uxen-ab commented Feb 26, 2018

Hello,
Is the error shown with the Cachet layout or a plain old Apache page?

I had the same error the last week-end, but I hadn't enabled the rewrite module. I've enabled it, restarted Apache and it worked then.

@fiftyy
Copy link
Author

fiftyy commented Feb 26, 2018

It is already started...

@uxen-ab
Copy link
Contributor

uxen-ab commented Feb 26, 2018

I meant restarted, I'd launched sudo service apache2 restart in order to restart Apache after enabling the rewrite module. But perhaps you'd already done that.

@fiftyy
Copy link
Author

fiftyy commented Feb 26, 2018

I have restarted it doesnt work... go to: https://status.ventix.eu/

@uxen-ab
Copy link
Contributor

uxen-ab commented Feb 26, 2018

Indeed. We are indeed redirected to /setup.
Perhaps your virtual host is misconfigured? Does it allow the .htaccess using AllowOverride All?

@fiftyy
Copy link
Author

fiftyy commented Feb 26, 2018

Okay i fixed it, now i got this error:

Look at: https://status.ventix.eu/setup

@uxen-ab
Copy link
Contributor

uxen-ab commented Feb 26, 2018

Great.
Now, check the log file in storage/logs/, the error is inside. It may be about write rights on storage/ or something like that.

@fiftyy
Copy link
Author

fiftyy commented Feb 26, 2018

[2018-02-26 13:23:56] production.ERROR: exception 'InvalidArgumentException' with message 'View [setup] not found.' in /var/www/status.ventix.eu/Cachet/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137
Stack trace:

#73 {main} {"identification":{"id":"f050d6b6-9d92-4508-848b-5cf1ff0c40af"}} 
[2018-02-26 13:24:34] production.ERROR: exception 'InvalidArgumentException' with message 'View [setup] not found.' in /var/www/status.ventix.eu/Cachet/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137
Stack trace:
#0 /var/www/status.ventix.eu/Cachet/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php(79): Illuminate\View\FileViewFinder->findInPaths('setup', Array)

@uxen-ab
Copy link
Contributor

uxen-ab commented Feb 26, 2018

That's the end of the stacktrace, can you paste the complete message?

@fiftyy
Copy link
Author

fiftyy commented Feb 26, 2018

yeah! look here: https://hastebin.com/hevibiguxa.pas

@uxen-ab
Copy link
Contributor

uxen-ab commented Feb 26, 2018

Thanks! So the error is following:
[2018-02-26 13:26:34] production.ERROR: exception 'InvalidArgumentException' with message 'View [setup] not found.' in /var/www/status.ventix.eu/Cachet/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137
I've never hot that error. Does the file resources/views/setup/index.blade.php exist?
Are you on branch 2.4?

@fiftyy
Copy link
Author

fiftyy commented Feb 26, 2018

What is branch 2.4?

And i cant find the file or the setup folder?

https://i.imgur.com/9WOCWWy.png

@uxen-ab
Copy link
Contributor

uxen-ab commented Feb 26, 2018

Do you have followed the installation process?
I think you are on a tag, 2.3.X, right?

The next time you create an issue please give your branch or tag in the first comment.

@fiftyy
Copy link
Author

fiftyy commented Feb 26, 2018

Iam on 2.3.9

@fiftyy
Copy link
Author

fiftyy commented Feb 26, 2018

i followed all commands?

@fiftyy
Copy link
Author

fiftyy commented Feb 26, 2018

it works now: php artisan config:cache

@fiftyy
Copy link
Author

fiftyy commented Feb 26, 2018

#960

this helped me. thank you

@fiftyy fiftyy closed this as completed Feb 26, 2018
@cachethq cachethq locked as resolved and limited conversation to collaborators Mar 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants