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

jitsu apps view App and jitsu apps list gets out of sync and App does not update. #29

Closed
dominictarr opened this issue May 20, 2011 · 7 comments
Assignees

Comments

@dominictarr
Copy link
Contributor

I'm having a strange problem with jitsu.

I'm gettings some apps which won't update. they seem to get stuck at a particular version.

this is the pattern I've found:

I deploy and it gives be a 500 error. if I deploy again, it says 'ok'.

now if I jitsu apps view App I get a message like this:

data:   {
data:       active: {
data:           id: '0.0.0-7',
data:           ctime: 1305920004638,
data:           md5: '49867d677cdd0c6d3bdf39ba02e9bf5c',
data:           filename: 'dominictarr-SweetAs2-0.0.0-7.tgz'
data:       },
data:       name: 'SweetAs2',
data:       scripts: { start: 'server.js' },
data:       snapshots: [
data:           { id: '0.0.0-2', created: '2011/5/20 12:26:33' },
data:           { id: '0.0.0-3', created: '2011/5/20 12:32:13' },
data:           { id: '0.0.0-4', created: '2011/5/20 12:32:27' },
data:           { id: '0.0.0-5', created: '2011/5/20 12:32:41' },
data:           { id: '0.0.0-6', created: '2011/5/20 12:33:16' },
data:           { id: '0.0.0-7', created: '2011/5/20 12:33:24' }
data:       ],
data:       state: 'started',
data:       subdomain: 'sweetas2',
data:       user: 'dominictarr',
data:       version: '0.0.0-7'
data:   }

looks reasonable, expect it doesn't agree with jitsu apps list:

info:   Listing apps
data:   name        state   subdomain   start     latest                              
data:   SweetAs     stopped sweetas     server.js dominictarr-SweetAs-0.0.0-14.tgz    
data:   SweetAs2    started sweetas2    server.js dominictarr-SweetAs2-0.0.0-2.tgz    
data:   crm         stopped crm         app.js    dominictarr-crm-0.0.0-1.tgz         
data:   hello-world started hello-world server.js dominictarr-hello-world-0.0.0-1.tgz 
data:   hi-express  stopped hi-express  app.js    dominictarr-hi-express-0.0.0-1.tgz  
info:   Nodejitsu ok

Note that view reports that SweetAs 2 is active on 0.0.0-7 but list says it's at version 0.0.0-2 (which seems to be what is happening, because it does not change update)

@Marak
Copy link
Contributor

Marak commented May 20, 2011

I can confirm something is wrong as I'm here with Dominic watching this issue happen.

@dominictarr
Copy link
Contributor Author

okay, this is definitely still happening for me. I'm developing an automatic test for this issue.

@dominictarr
Copy link
Contributor Author

app is actually updating, it's just the jitsu list which is wrong.

@AvianFlu
Copy link
Contributor

AvianFlu commented Jun 8, 2011

Dominic, any status on this?

@dominictarr
Copy link
Contributor Author

last check I'm still seeing this happen,

although the apps do actually update fine it seems. I thought that this was
a symptom of whatever was making the apps not work.

I'll check with nodejitsu-tester to confirm.

On Wed, Jun 8, 2011 at 10:52 AM, AvianFlu <
reply@reply.github.com>wrote:

Dominic, any status on this?

Reply to this email directly or view it on GitHub:
#29 (comment)

@ghost ghost assigned dominictarr Jun 8, 2011
@dominictarr
Copy link
Contributor Author

this is still an issue. I'm working on this.

On Wed, Jun 8, 2011 at 12:48 PM, AvianFlu <
reply@reply.github.com>wrote:

Are you working on this currently, or should this still be regarded as open
and unresolved?

Reply to this email directly or view it on GitHub:
#29 (comment)

@dominictarr
Copy link
Contributor Author

fixed in 9831fea

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

3 participants