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

Error in publish module #27

Closed
yujunz opened this issue Jan 8, 2019 · 3 comments
Closed

Error in publish module #27

yujunz opened this issue Jan 8, 2019 · 3 comments

Comments

@yujunz
Copy link

yujunz commented Jan 8, 2019

Do I need to create some folder manually on the server?

{"level":50,"time":1546914561312,"msg":"ENOENT: no such file or directory, mkdir '/snapshot/www/lib/34c0f200-12ed-11e9-9d35-afd5b76bbae6'","pid":8,"hostname":"citizen-5967b79fb6-zmk75","name":"citizen","type":"Error","stack":"Error: ENOENT: no such file or directory, mkdir '/snapshot/www/lib/34c0f200-12ed-11e9-9d35-afd5b76bbae6'","errno":-2,"code":"ENOENT","syscall":"mkdir","path":"/snapshot/www/lib/34c0f200-12ed-11e9-9d35-afd5b76bbae6","v":1}
{"level":50,"time":1546914561312,"msg":"Error: ENOENT: no such file or directory, mkdir '/snapshot/www/lib/34c0f200-12ed-11e9-9d35-afd5b76bbae6'","pid":8,"hostname":"citizen-5967b79fb6-zmk75","name":"citizen","v":1}
POST /v1/modules/foo/bar/aws/0.1.0 500 309.617 ms - 148
@outsideris
Copy link
Owner

@yujunz Are you using file storage?

@yujunz
Copy link
Author

yujunz commented Jan 8, 2019

@yujunz Are you using file storage?

Likely yes. I left most option as default

      - image:  outsideris/citizen
        name:  citizen
        env:
        - name: CITIZEN_DATA_PATH
          value: /citizen/data
        - name:  CITIZEN_STORAGE
          value:  file
        - name: CITIZEN_STORAGE_PATH
          value: /citizen/storage
        ports:
        - containerPort:  3000
          name:  server
        volumeMounts:
        - mountPath: /citizen/data
          name: data
        - mountPath: /citizen/storage
          name: storage
      volumes:
      - name: data
        emptyDir: {}
      - name: storage
        emptyDir: {}

outsideris added a commit that referenced this issue Jan 13, 2019
It throws an error when creating directory in packaged app
ref: #27

Signed-off-by: Outsider <[email protected]>
@outsideris
Copy link
Owner

@yujunz Please check new version.
I missed there is some error with packaged app.

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

2 participants