Comments (6)
Thank you !
from haste-server.
Thank you for the report! :)
from haste-server.
I did the update, and here the thing :
info: loading static document name=about, path=./about.md
info: loading static document name=statusnet, path=./statusnet.php
info: loading static document name=rss-feeds, path=./rss-feeds.opml
info: listening on localhost:7777
info: connected to memcached on 127.0.0.1:11211
debug: loaded static document success=true
debug: loaded static document success=true
debug: loaded static document success=true
verbose: retrieved document key=rss-feeds
(... after a while ...)
warn: document not found key=rss-feeds
warn: document not found key=rss-feeds
from haste-server.
The feature works by inserting hastes into your storage (memcached) server.
Any chance its going down and coming back up and losing keys?
from haste-server.
I just restarted my services (memcached, nginx, php5-fpm, mysql) and restarted the node server. I'll check it back tomorrow morning. Thanks for the support. :)
from haste-server.
I found what it seems to be the problem : the static documents failed to load when I push a new document after a while. Here is the log of the night with the relevant informations :
info: loading static document name=rss-feeds, path=./rss-feeds.opml
info: loading static document name=statusnet, path=./statusnet.php
info: listening on localhost:7777
info: connected to memcached on 127.0.0.1:11211
debug: loaded static document success=true
debug: loaded static document success=true
verbose: retrieved document key=statusnet
verbose: retrieved document key=rss-feeds
warn: store does not currently push forward expirations on GET
verbose: added document key=biqefexiqu
verbose: retrieved document key=biqefexiqu
warn: store does not currently push forward expirations on GET
Then memcache crashed :
/home/postblue/public_html/haste-server/node_modules/memcache/lib/memcache.js:260
var type = this.callbacks[0].type;
^
TypeError: Cannot read property 'type' of undefined
at Client.determine_reply_handler (/home/postblue/public_html/haste-server/node_modules/memcache/lib/memcache.js:260:30)
at Client.handle_received_data (/home/postblue/public_html/haste-server/node_modules/memcache/lib/memcache.js:217:21)
at Socket.Client.connect.conn.addListener.self.conn (/home/postblue/public_html/haste-server/node_modules/memcache/lib/memcache.js:62:12)
at Socket.EventEmitter.emit (events.js:88:17)
at TCP.onread (net.js:403:14)
npm ERR! [email protected] start: node server.js
npm ERR! sh "-c" "node server.js"
failed with 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is most likely a problem with the haste package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node server.js
npm ERR! You can get their info via:
npm ERR! npm owner ls haste
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.32-042stab057.1
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! cwd /home/postblue/public_html/haste-server
npm ERR! node -v v0.8.5
npm ERR! npm -v 1.1.46
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/postblue/public_html/haste-server/npm-debug.log
npm ERR! not ok code 0
from haste-server.
Related Issues (20)
- healthcheck in docker file need a shell HOT 2
- [QUESTION] what exactly is STORAGE_EXPIRE_SECONDS? HOT 2
- Add Font Awesome icons instead of the image thing. HOT 2
- Reopen request HOT 1
- Hastebin IPFS Support HOT 2
- Disable automatic closing of issues HOT 1
- self-hosted instace, buttons greyed out
- nginx config need help please HOT 1
- alpine image HOT 2
- Tried to host haste-server on a Plesk webspace, error occured HOT 2
- 503 error while post in /documents HOT 2
- daemonize haste-server HOT 3
- Important announcement: Soon a new version of Hastebin will be launched! HOT 15
- bun
- Haste server sends 413 for requests over 1mb
- Release containers in a public repo HOT 5
- Authentication failed (MongoDB) HOT 2
- pastebin HOT 1
- 1. Remove deprecation warning from existing trading-api hybrid websocket endpoint. HOT 3
- this lost almost all of the reasons why it was any good in the refactor. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haste-server.