-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Error in exception handler. #270
Comments
ok found the log and got the error below which I followed to #196 and tried that fix and no dice either... [2014-10-01 13:33:39] production.ERROR: exception 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException' in /var/www/assets_collectivebias_com/htdocs/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php:146 |
switched to debug=true and got this which points to the same issue in #271 I then fixed the permissions again and I get back to [2014-10-01 20:47:01] production.ERROR: exception 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException' in /var/www/assets_collectivebias_com/htdocs/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php:146 |
Is this error shown at the site entry... even before the logon page shows up? Did you get any errors or issues when you did the "migrate" command? You should also try the following from your root Snipe IT folder (all are non-destuctive):
|
Yes on site entry, no errors on migrate. On Wed, Oct 1, 2014 at 9:44 PM, Jay Richards notifications@github.com
|
Is this a production system? do you need to keep the data intact? was Beta1 version working perfectly ok before migrating? |
can you provide a screenshot of the exception error? is it showing as a PHP/Apache error in the browser, or you are getting from the log files, if so, which log file - Laravel or Apache? |
It is (I know I'm dumb), Would like to, yes On Wed, Oct 1, 2014 at 10:00 PM, Jay Richards notifications@github.com
|
Here is the error Screen Shot https://drive.google.com/file/d/0B7gegS3i5fUVd0tta1pYejdrZVU/edit?usp=sharing I was from Laravel On Wed, Oct 1, 2014 at 10:02 PM, Jay Richards notifications@github.com
|
FIRST - before doing anything, you should use mysqldump to take a backup of the snipeIT database, and/or using VMware take a powered-down snapshot. Was it working perfectly before migrating to Beta2? Could you re-clone or fetch the Beta2 code, then re-run the proper permissions changes and set all files/folders to chmod -R 754 and the app/storage directory to chmod -R 774 for the user account group your webserver is using. Also re-run the five commands shown earlier. You should not need to re-run migrate since it should have already be run against your database. Unfortunately we do not have a lot of experience and zero testing facilities for NGINX. This error being thrown seems to be a fairly deep Laravel exception caused by problems with the routing... |
Nothing worked.... I ended up creating a new site and then migrated with a Not sure what happened On Wed, Oct 1, 2014 at 11:04 PM, Jay Richards notifications@github.com
|
Wow. hmmmm... thats a tough one. |
we're at beta.0.5.4 What do I need to " to go through and ensure your base Entity, Location and On Thu, Oct 2, 2014 at 12:10 AM, Jay Richards notifications@github.com
|
Go to the top menu "admin" then to "Entities" and make sure you have one entity listed (your company) and it is named correctly. Then go to "Locations" and ensure you have at least one location listed with name, address, country set appropriately and that all locations have an Entity set. Finally, go to Admin-> default settings, and double check your defaults for Entity, Location, Country are set properly. These settings will become increasingly important as we add local currency settings and additional reports. |
Looks good! On Fri, Oct 3, 2014 at 3:41 AM, Jay Richards notifications@github.com
|
Migrated from Beta1 to Beta2 and now I get the above error.
Tried this #217 and no dice
I made sure that the folders/files all belonged to nginx user and were 755 (also tried 775 and 777)
I can't find an error log or at least one that is updated so I don't have anymore to chase.
Any help?
The text was updated successfully, but these errors were encountered: