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

Update to 5.2 #4191

Closed
ericrange opened this issue Sep 26, 2014 · 4 comments
Closed

Update to 5.2 #4191

ericrange opened this issue Sep 26, 2014 · 4 comments

Comments

@ericrange
Copy link

C:\Users\Eric\Documents\GitHub\Ghost>npm start

ghost@0.5.2 start C:\Users\Eric\Documents\GitHub\Ghost
node index

ERROR: AppField is already defined in the registry

Error: AppField is already defined in the registry
at preventOverwrite (C:\Users\Eric\Documents\GitHub\Ghost\node_modules\books
helf\plugins\registry.js:10:28)
at Object.bookshelf.model (C:\Users\Eric\Documents\GitHub\Ghost\node_modules
\bookshelf\plugins\registry.js:18:7)
at Object. (C:\Users\Eric\Documents\GitHub\Ghost\core\server\mode
ls\appField.js:18:30)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at C:\Users\Eric\Documents\GitHub\Ghost\core\server\models\index.js:33:28

C:\Users\Eric\Documents\GitHub\Ghost>

@ericrange
Copy link
Author

i had 5.1 and updated to 5.2

@halfdan
Copy link
Contributor

halfdan commented Sep 26, 2014

@ericrange Heya, did you make sure to delete the core/ directory before installing 0.5.2?

@JohnONolan
Copy link
Member

Hi Eric, if you need support please post on the Ghost forums - https://ghost.org/forum. This is a core development issue tracker.

@ruby0x1
Copy link

ruby0x1 commented Sep 27, 2014

For reference @halfdan is correct, I had the same issue where locally it worked (I had replaced core/ entirely) but on the server when uploading via FTP, it overwrites the existing files and adds new ones but does not remove older files.

Solution

  • delete entire core/ folder on server
  • re-upload core folder from 0.5.2

/ cc @ericrange

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants