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

Cannot Start Verdaccio After Upgrade to 2.1.5 #189

Closed
Zwergenpunk opened this issue May 12, 2017 · 5 comments
Closed

Cannot Start Verdaccio After Upgrade to 2.1.5 #189

Zwergenpunk opened this issue May 12, 2017 · 5 comments
Assignees
Milestone

Comments

@Zwergenpunk
Copy link

Zwergenpunk commented May 12, 2017

My issue:

I cannot start verdaccio anymore after upgrade to 2.1.5 (works finde with 2.1.4)

Steps to reproduce:

verdaccio

App Version:

verdaccio: 2.1.5
npm: 4.5.0
node: 6.10.0

Config file:

# path to a directory with all packages
storage: /home/user/.local/share/verdaccio/storage

auth:
  htpasswd:
    file: ./htpasswd


# a list of other known repositories we can talk to
uplinks:
  npmjs:
    url: https://registry.npmjs.org/

listen:
 - https://npm.myDomain.com:4873/

https:
   key: /home/user/.config/verdaccio/git.myDomain.key
   cert: /home/user/.config/verdaccio/git.myDomain.crt

packages:
  '@*/*':
    # scoped packages
    access: $all
    publish: $authenticated
    proxy: npmjs

  '**':
    # allow all users (including non-authenticated users) to read and
    # publish all packages
    #
    # you can specify usernames/groupnames (depending on your auth plugin)
    # and three keywords: "$all", "$anonymous", "$authenticated"
    access: $all

    # allow all known users to publish packages
    # (anyone can register by default, remember?)
    publish: $authenticated

    # if package is not available locally, proxy requests to 'npmjs' registry
    proxy: npmjs

# log settings
logs:
  - {type: stdout, format: pretty, level: http}
#  - {type: file, path: verdaccio.log, level: info}

Additional verbose log:

verdaccio
warn  --- config file  - /home/user/.config/verdaccio/config.yaml
fatal --- cannot create server: path must be a string or Buffer
@juanpicado juanpicado self-assigned this May 12, 2017
@juanpicado
Copy link
Member

The ca is missing in your config file. Sorry that was a breaking change.

https:
  key: /ssl/verdaccio-key.pem
  cert: /ssl/verdaccio-cert.pem
  ca: /ssl//verdaccio-cert.pem

@juanpicado
Copy link
Member

I'll fix it on 2.1.6

@Zwergenpunk
Copy link
Author

thanks for the quick response ;)

@juanpicado
Copy link
Member

@lock
Copy link

lock bot commented May 30, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the outdated label May 30, 2018
@lock lock bot locked as resolved and limited conversation to collaborators May 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants