{"action":"created","issue":{"url":"https://api.github.com/repos/thingsboard/thingsboard/issues/629","repository_url":"https://api.github.com/repos/thingsboard/thingsboard","labels_url":"https://api.github.com/repos/thingsboard/thingsboard/issues/629/labels{/name}","comments_url":"https://api.github.com/repos/thingsboard/thingsboard/issues/629/comments","events_url":"https://api.github.com/repos/thingsboard/thingsboard/issues/629/events","html_url":"https://github.com/thingsboard/thingsboard/issues/629","id":302397610,"number":629,"title":"Update to v1.4.0 fails.","user":{"login":"fotis400","id":3100169,"avatar_url":"https://avatars0.githubusercontent.com/u/3100169?v=4","gravatar_id":"","url":"https://api.github.com/users/fotis400","html_url":"https://github.com/fotis400","followers_url":"https://api.github.com/users/fotis400/followers","following_url":"https://api.github.com/users/fotis400/following{/other_user}","gists_url":"https://api.github.com/users/fotis400/gists{/gist_id}","starred_url":"https://api.github.com/users/fotis400/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fotis400/subscriptions","organizations_url":"https://api.github.com/users/fotis400/orgs","repos_url":"https://api.github.com/users/fotis400/repos","events_url":"https://api.github.com/users/fotis400/events{/privacy}","received_events_url":"https://api.github.com/users/fotis400/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-05T17:48:03Z","updated_at":"2018-03-05T23:38:00Z","closed_at":null,"author_association":"NONE","body":"Hi, I just tried to update my Thingsboard installation, but it failed.\r\n\r\nI had a properly working installation of v1.3.1, and tried to update it to v1.4.0. I followed closely the instructions [here](https://thingsboard.io/docs/user-guide/install/upgrade-instructions/#upgrading-to-140). Everything went ok (apart from the fact that the package manager never prompted me to merge anything), till I reached the step with the upgrade script.\r\n\r\nI execute:\r\n`$ sudo /usr/share/thingsboard/bin/install/upgrade.sh --fromVersion=1.3.1`\r\n\r\nBut the output is:\r\n```\r\n ===================================================\r\n :: ThingsBoard ::       (v1.4.0)\r\n ===================================================\r\n\r\nError creating bean with name 'thingsboardInstallService': Unsatisfied dependency expressed through field 'databaseUpgradeService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlDatabaseUpgradeService': Unsatisfied dependency expressed through field 'dashboardService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dashboardServiceImpl': Unsatisfied dependency expressed through field 'relationService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'baseRelationService': Unsatisfied dependency expressed through field 'entityService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'baseEntityService': Unsatisfied dependency expressed through field 'deviceService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'deviceServiceImpl': Unsatisfied dependency expressed through field 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in class path resource [org/thingsboard/server/dao/cache/CaffeineCacheConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NullPointerException\r\nThingsBoard upgrade failed!\r\n```\r\n\r\nThe server is not working any more.\r\n\r\n[Here](https://pastebin.com/gwQvpkAU) is the application log.\r\n\r\n[Here](https://pastebin.com/qGYQ4LEH) is the installation log.\r\n\r\nAny ideas on fixing this?\r\n"},"comment":{"url":"https://api.github.com/repos/thingsboard/thingsboard/issues/comments/370606898","html_url":"https://github.com/thingsboard/thingsboard/issues/629#issuecomment-370606898","issue_url":"https://api.github.com/repos/thingsboard/thingsboard/issues/629","id":370606898,"user":{"login":"fotis400","id":3100169,"avatar_url":"https://avatars0.githubusercontent.com/u/3100169?v=4","gravatar_id":"","url":"https://api.github.com/users/fotis400","html_url":"https://github.com/fotis400","followers_url":"https://api.github.com/users/fotis400/followers","following_url":"https://api.github.com/users/fotis400/following{/other_user}","gists_url":"https://api.github.com/users/fotis400/gists{/gist_id}","starred_url":"https://api.github.com/users/fotis400/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fotis400/subscriptions","organizations_url":"https://api.github.com/users/fotis400/orgs","repos_url":"https://api.github.com/users/fotis400/repos","events_url":"https://api.github.com/users/fotis400/events{/privacy}","received_events_url":"https://api.github.com/users/fotis400/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T23:38:00Z","updated_at":"2018-03-05T23:38:00Z","author_association":"NONE","body":"Forgot to mention that I am using a Postgresql database."}}
{"actor":{"display_login":"fotis400"}}