Announcement
Collapse
No announcement yet.
Upgrade 5.5.6 to 5.6.0 Error 406
Collapse
X
-
Hello,
Please attach the screenshot with a whole error statement (if it possible on English please). Check the error log files. This will help you to find them https://www.espocrm.com/documentatio...ent-check-logs. Also, try to debug the problem, press F12 in your browser, then switch to the 'network' tab, call error again, and check if there appear red records. This is an error. If you have caught some error, switch to the 'console' tab and take a look on it.
- Likes 1
-
Originally posted by Maximus View PostHello,
Please attach the screenshot with a whole error statement (if it possible on English please). Check the error log files. This will help you to find them https://www.espocrm.com/documentatio...ent-check-logs. Also, try to debug the problem, press F12 in your browser, then switch to the 'network' tab, call error again, and check if there appear red records. This is an error. If you have caught some error, switch to the 'console' tab and take a look on it.
I went to F12 and saw the error. The image is attached, but I don`t know what to do now! lol
Could you help me?
Comment
-
Originally posted by Maximus View PostHave you checked the log files?
Here is the log:
[2019-04-05 03:18:27] Espo.ERROR: API [GET]:/:controller/action/:action, Params:Array ( [controller] => Admin [action] => uploadUpgradePackage ) , InputData: - Action GET 'uploadUpgradePackage' does not exist in controller 'Admin'. [] []
[2019-04-05 03:18:28] Espo.ERROR: Display Error: Action GET 'uploadUpgradePackage' does not exist in controller 'Admin'., Code: 404 URL: /api/v1/Admin/action/uploadUpgradePackage [] []
Could you help me?
Comment
-
Originally posted by Maximus View PostHi Hamilton,
have you tried to make upgrade via CLI as Yuri has suggested? Please try it and reply.
Yes, I had tried make upgrade via CLI, but I received an error too.
This is the errorCurrent version is 5.5.6
Start upgrade process...
Error: Your PHP version does not support this installation package.
But I have the right PHP. This is the System Requirements->PHP Settings:PHP Version 7.1.24 Success
I don`t know more what to do.
Why is it saying "uploadUpgradePackage' does not exist in controller 'Admin' "?
Comment
-
1. When you have tried to upgrade EspoCRM via UI it caused the server Error 406. This error could be generated by the mod_security module. Mod_security, a type of firewall program that runs on Apache web server, scans for violations of the rules it has set. If an action occurs that violates one of these rules, the server will throw a 406 error.
So check please Mod-security, or if you are not the server owner please contact with support service.
2. When you have tried to upgrade EspoCRM via CLI it caused the Error: Your PHP version does not support this installation package. This error generated because your CLI PHP version is to low. It should be >= 7.1. To check it please input in your terminal the next command:
php -v
Comment
Comment