cozy-labs / cozy-ghost Goto Github PK
View Code? Open in Web Editor NEWThe ghost blogging platform for cozy
License: Other
The ghost blogging platform for cozy
License: Other
I updated my platform yesterday, and the application was broken.
In the logs, I had
expected: 200, got: 401 -- Application is not authenticated -- undefined] status: 401 }
[Error: { error: 'Application is not authenticated' }]
process.env.TOKEN null
process.env.NAME blog
It is very weird that the application had no token since every other apps are working.
The problem disappear when reinstalling the app.
Hello
C'est peut être mon install de cozy, mais l'installation ne passe pas sur mon raspberry pi 2. Cozy est à jour. C'est lent jusqu'à ce que ça plante. Je n'ai trouvé qu'un fichier npm-debug.log, dont voici la fin
30744 info install [email protected]
30745 info postinstall [email protected]
30746 verbose rebuild bundle /usr/local/cozy/apps/blog/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/tar-pack
30747 info build /usr/local/cozy/apps/blog/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/tar-pack
30748 info preinstall [email protected]
30749 verbose linkStuff [ false,
30749 verbose linkStuff false,
30749 verbose linkStuff false,
30749 verbose linkStuff '/usr/local/cozy/apps/blog/node_modules/sqlite3/node_modules/node-pre-gyp/node_modules' ]
30750 info linkStuff [email protected]
30751 verbose linkBins [email protected]
30752 verbose linkMans [email protected]
30753 verbose rebuildBundles [email protected]
30754 verbose rebuildBundles [ 'debug',
30754 verbose rebuildBundles 'fstream',
30754 verbose rebuildBundles 'fstream-ignore',
30754 verbose rebuildBundles 'graceful-fs',
30754 verbose rebuildBundles 'once',
30754 verbose rebuildBundles 'readable-stream',
30754 verbose rebuildBundles 'rimraf',
30754 verbose rebuildBundles 'tar',
30754 verbose rebuildBundles 'uid-number' ]
30755 info install [email protected]
30756 info postinstall [email protected]
30757 info install [email protected]
30758 info postinstall [email protected]
30759 info install [email protected]
30760 verbose unsafe-perm in lifecycle true
30761 info [email protected] Failed to exec install script
30762 verbose node_modules/sqlite3 unbuild
30763 warn This failure might be due to the use of legacy binary "node"
30764 warn For further explanations, please read
/usr/share/doc/nodejs/README.Debian
30765 info preuninstall [email protected]
30766 info uninstall [email protected]
30767 verbose true,/usr/local/cozy/apps/blog/node_modules,/usr/local/cozy/apps/blog/node_modules unbuild [email protected]
30768 info postuninstall [email protected]
30769 error [email protected] install: `node-pre-gyp install --fallback-to-build`
30769 error Exit status 1
30770 error Failed at the [email protected] install script.
30770 error This is most likely a problem with the sqlite3 package,
30770 error not with npm itself.
30770 error Tell the author that this fails on your system:
30770 error node-pre-gyp install --fallback-to-build
30770 error You can get their info via:
30770 error npm owner ls sqlite3
30770 error There is likely additional logging output above.
30771 error System Linux 4.1.19-v7+
30772 error command "/usr/bin/nodejs" "/usr/bin/npm" "--production" "--loglevel" "info" "install"
30773 error cwd /usr/local/cozy/apps/blog
30774 error node -v v0.10.29
30775 error npm -v 1.4.21
30776 error code ELIFECYCLE
30777 verbose exit [ 1, true ]
Côté cozy il me dit ceci quand je clique sur l'application cassée
socket hang up: Error: socket hang up at createHangUpError (http.js:1472:15) at Socket.socketOnEnd [as onend] (http.js:1568:23) at Socket.g (events.js:180:16) at Socket.emit (events.js:117:20) at _stream_readable.js:929:16 at process._tickCallback (node.js:419:13)
Voilà, pas grand chose à dire de plus, je suis @ home derrière une freebox, d'autres apps s'installent donc je doute que ce soit le réseau. Si tu as besoin de plus de détail n'hésites pas à me dire où les trouver.
Bon courage,
(support email from Gafa)
The configuration interface allows to choose the blog theme, but we have no way to upload a theme into Ghost tree. We should add an easy way for users to upload a theme
(this may have some security impact, so ccing our security champion @poupotte )
nodemon server.js --ignore client/
(or npm start
) and brunch watch
in /client
.I got an
ERROR: Your site url in config.js is invalid.
http://null/public/blog/
I assume it is server/ghost/config.js
, but I don't know what to change.
Is there a way to check Ghost version? (Cozy application's version is 1.0.0, but it doesn't reflect Ghost version)
If it's not up to date, could you upgrade it to 0.11.7?
Thx.
When I uninstall Ghost and install it again, I lose all the covers I set on my pages or on my posts. I lose the blog logo too.
it seems a svg file is missing in ghost application
"api/applications/blog.svg"
no way to find that svg resource
/usr/local/cozy/apps/blog# find . -name "*.svg"
./client/vendor/assets/fonts/glyphicons-halflings-regular.svg
./server/ghost/package/core/client/assets/fonts/icons.svg
./server/ghost/package/content/themes/casper/assets/fonts/casper-icons.svg
./server/ghost/core/client/assets/fonts/icons.svg
./server/ghost/content/themes/casper/assets/fonts/casper-icons.svg
@vaz-ar told me he didn't manage to install the application. He got the following log:
ERROR: Your site url in config.js is invalid. http://https/public/blog/ Please make sure this is a valid url before restarting
He has defined his domain in the settings.
I have a pb with links inside the articles : nothing happens.
In settings > About links are not working but leave blank screen https://xx.cozycloud.cc/#apps/blog/
I have to deconnect, reconnect to use Ghost.
Bonjour à tous,
Je suis en train d'essayer Ghost et je le trouve super simple, efficace et rapide à l'utilisation.
Je n'ai pas trouvé comment autoriser les commentaires sur un article? Un captcha serait la bienvenue avec. C'est la seule fonction, que je considère comme basique, qui me manque.
I understood that it has to be implemented in the Theme but well I'm not sure.
I found these articles that seem interesting :
https://blog.slowb.ro/integrating-privacy-aware-comment-system-to-a-blog-part-1/
https://www.npmjs.com/package/nodebb-plugin-blog-comments
Hi,
Thank you for porting Ghost to Cozy. I met some issues I will report there. Here is the first one:
The link displayed to users to access to the RSS feed is broken. It targets the /rss
path while the right path is /public/blog/rss
.
I tried to install it via cozy web interface with following spec / logs
I now tells me in "my apps" that the app is "broken"
Data System: 2.5.14
Proxy: 2.5.17
Home: 2.5.22
Controller: 2.5.10
process.env.TOKEN ******
process.env.NAME blog
[2017-01-10 14:28:01:846] info - Cozy DB | blog - all request creation...
[2017-01-10 14:28:02:11] info - Cozy DB | succeeded
[2017-01-10 14:28:02:12] info - Cozy DB | cozyinstance - all request creation...
[2017-01-10 14:28:02:100] info - Cozy DB | succeeded
[2017-01-10 14:28:02:101] info - Cozy DB | cozyinstance - all request creation...
[2017-01-10 14:28:02:182] info - Cozy DB | succeeded
[2017-01-10 14:28:02:183] info - Cozy DB | user - all request creation...
[2017-01-10 14:28:02:192] info - Cozy DB | succeeded
[2017-01-10 14:28:02:194] info - Cozy DB | blog - define indexes...
[2017-01-10 14:28:02:197] info - Cozy DB | cozyinstance - define indexes...
domain : ******
Migrations: Database initialisation required for version 003
Migrations: Creating tables...
Migrations: Creating table: posts
Migrations: Creating table: users
Migrations: Creating table: roles
Migrations: Creating table: roles_users
Migrations: Creating table: permissions
Migrations: Creating table: permissions_users
Migrations: Creating table: permissions_roles
Migrations: Creating table: permissions_apps
Migrations: Creating table: settings
Migrations: Creating table: tags
Migrations: Creating table: posts_tags
Migrations: Creating table: apps
Migrations: Creating table: app_settings
Migrations: Creating table: app_fields
Migrations: Creating table: clients
Migrations: Creating table: accesstokens
Migrations: Creating table: refreshtokens
Migrations: Populating fixtures
persist blog changes...(false)
Migrations: Populating permissions
persist blog changes...(false)
Migrations: Creating owner
Migrations: Populating default settings
Migrations: Complete
persist blog changes...(false)
ghost.then()
persist blog changes...(false)
Ghost is running in development...
Listening on 127.0.0.1:2368
Url configured as: http://****/public/blog/
Ctrl+C to shut down
persist blog changes...(false)
The used v0.5 is quite outdated now (August 2014), is it possible to follow the release cycle (0.8.0 was published in May 2016, 0.9.0 is on its way)?
Hi,
Is it possible to add the code injection ?
http://support.ghost.org/use-code-injection/
Best regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.