-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Windows Installation #1319
Comments
Is the server running over https? |
@GrahamCampbell no it is still running via http |
You don'y need those. |
We compile assets for you. |
That error code is meaningless to us. It allows you to look in your own logs and identify the correct entry. If you refresh the page, you'll get a different code. We just randomly generate them. |
Wait, you said windows... Did you run the composer scripts? |
Installing with |
Running composer without --no-scripts gives me following error |
I know it will. That's why I said it. You need to manually run do what the scripts would have otherwise done on windows. |
So i need to run chmod -R 755 storage?? Don't know how I would do this on windows |
That shouldn't be needed. As long as your webserver can read and write to the storage folder, it's fine. |
You need to first copy the .env file. |
I already created that in a previous step. That's how the .env file looks APP_ENV=production DB_DRIVER=mysql CACHE_DRIVER=apc MAIL_DRIVER=smtp REDIS_HOST=null GITHUB_TOKEN=null |
Also laravel log: Next exception 'ErrorException' with message 'File dist/css/all.css not defined in asset manifest. (View: C:\Apache24\htdocs\resources\views\dashboard\partials\head.blade.php)' in C:\Apache24\htdocs\vendor\laravel\framework\src\Illuminate\Foundation\helpers.php:287 Next exception 'ErrorException' with message 'File dist/css/all.css not defined in asset manifest. (View: C:\Apache24\htdocs\resources\views\dashboard\partials\head.blade.php) (View: C:\Apache24\htdocs\resources\views\dashboard\partials\head.blade.php)' in C:\Apache24\htdocs\vendor\laravel\framework\src\Illuminate\Foundation\helpers.php:287 Next exception 'ErrorException' with message 'File dist/css/all.css not defined in asset manifest. (View: C:\Apache24\htdocs\resources\views\dashboard\partials\head.blade.php) (View: C:\Apache24\htdocs\resources\views\dashboard\partials\head.blade.php) (View: C:\Apache24\htdocs\resources\views\dashboard\partials\head.blade.php)' in C:\Apache24\htdocs\vendor\laravel\framework\src\Illuminate\Foundation\helpers.php:287 |
You need double quotes. |
Otherwise laravel will ignore the value. |
And all subsequent values in the .env file, actually. |
Did you try to run gulp yourself? You may have damaged the files. |
https://demo.cachethq.io/ runs simply with a .env file defined, and then by running the composer scripts. |
So I cleaned up my htdocs directory and downloaded v2.0.4 again with Git BASH, copied edited the .env.example file and saved it as .env : DB_DRIVER=mysql CACHE_DRIVER=file MAIL_DRIVER=smtp REDIS_HOST=null GITHUB_TOKEN=null I then ran composer install --no-dev -o --no-scripts followed by manually processing the script with Still get error 500 on http://cachet/public/ |
DId you run |
We do not support running from the public folder. You must setup the server to use the pulic folder as the root, or, at the least, change |
Edited DocumentRoot to the public folder and APP_URL to http://cachet.subzero.net/public, reran all the commands from above.. now I get an error 404 when accessing http://cachet and getting redirected to http://cachet/setup Sorry I'm not very familliar with running php and web apps in general.. my brain starts to hurt hah |
That's probably happening because you need to run the config cache command again. |
If you modify .env, you need to re-cache the config. |
still get the error after php artisan config:cache |
Ping @TheoBearman. He's your Windows man, if you've not read the Windows installation guide? Closing this though as it's an environment issue, not a Cachet one 😄 |
@acidconfusion Please email me at [email protected] with your RDC details if you'd like me to take a look. With your permission, once I have access, I will attempt a fresh install, using the .env variables you have put above (I will need the DB password). I have a stable install of Cachet with the |
@TheoBearman sent you an email, thanks! |
@jbrooksuk unfortunately @TheoBearman wasn't able to help me.. even copying his cachet install and replacing the .env file with mine didn't work. The problem is that accessing cachet/public/setup isn't possible as there's no setup folder inside public. |
Are you missing the
Yeah, there are no actual files to access, it's all routed. |
LoadModule rewrite_module modules/mod_rewrite.so is uncommented in httpd.conf so that's not the issue. |
Hi @acidconfusion ! |
@TheoBearman are you able to drop any advice here? I know you install on Windows a lot. |
@jbrooksuk It must be something to do with certain Apache extensions not being enabled but I wasn't able to isolate it when I took a look at @acidconfusion's install. To be honest, I got so frustrated with Windows I've been on the Linux gravy train for 8 months now! |
having the same issue. has anyone had any thoughts on this? @acidconfusion |
Bump, same issue as well. I have running versions in Docker and Debian. Thanks! |
I'm trying to install Cachet on a Windows Server 2012 R2 VM on a WAMP stack.

Apache 2.4.18
PHP 5.5.30
MySQL 5.7.10
Cachet v2.0.4
I was able to go through the writeup https://docs.cachethq.io/docs/installing-cachet-on-windows and got everything setup to the point where I need to do the initial site setup on the cachet page itself.
Unforunately the page looks like this:
php extensions and apache modules are all the same as in the writeup, also the php artisan migrate and key commands were successful.
Any clues what went wrong?
The text was updated successfully, but these errors were encountered: