question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WebUI packages disappeared after restarting the server

See original GitHub issue

Discussed in https://github.com/verdaccio/verdaccio/discussions/2441

<div type='discussions-op-text'>

Originally posted by mopinon September 17, 2021

Your Environment

  • verdaccio version: 5.1.4
  • node version 14.17.6
  • package manager: npm@6.14.15
  • os: clients: [mac, win10], server: ubuntu
  • platform: docker

Describe the bug Packages disappeared from WebUI after restarting the server and update verdaccio 5.1.0 -> 5.1.4, package comes back after upgrading with version history, all packages remained on the server in the folder

docker-compose.yaml

version: '3.1'

services:
  verdaccio:
    image: verdaccio/verdaccio
    container_name: "verdaccio"
    networks:
      - node-network
    environment:
      - VERDACCIO_PORT=4873
    ports:
      - "4873:4873"
    volumes:
      - "./storage:/verdaccio/storage"
      - "./config:/verdaccio/conf"
      - "./plugins:/verdaccio/plugins"
    user: "root:root"  
networks:
  node-network:
    driver: bridge

config.yaml

storage: ./storage
auth:
  htpasswd:
    file: ./htpasswd
    max_users: -1
uplinks:
  npmjs:
    url: https://registry.npmjs.org/
packages:
  '@*/*':
    access: $authenticated
    publish: davs
  '**':
    access: $authenticated
    publish: davs
    proxy: npmjs
logs:
  - { type: stdout, format: pretty, level: http }
```</div>

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
juanpicadocommented, Oct 22, 2021
1reaction
224137748commented, Oct 22, 2021

hi folks, I need more, a list of exact commands you are executing. Which permissions has the folders etc. I also wonder if you are aware of https://verdaccio.org/docs/docker#running-verdaccio-using-docker the notes described there, especially permissions to the volumes are required.

===================================================================================

Sorry, I found that I made a mistake while editing the “config.yaml”, I used the relative path to set storage directory , when I restarted the docker, I got this problem. I should use absolute path.

Finally, thianks for your reply~!

Read more comments on GitHub >

github_iconTop Results From Across the Web

WebUI packages disappeared after restarting the server #2441
Packages disappeared from WebUI after restarting the server and update verdaccio 5.1.0 -> 5.1.4, package comes back after upgrading with version history, ...
Read more >
Bug #1049: After reinstalling packages at bootup, WebUI not ...
After a firmware update and the first reboot of pfSense installed packages get reinstalled. Sometimes all packages get reinstalled, sometimes only one.
Read more >
Lose Progress When Restarting Server - MineOS Forum
Hi, when I restart the server I tend to lose a lot of my progress in the game. My character still has their...
Read more >
Can't access FreePBX (Asterisk) web UI after configuration ...
Issue command service httpd restart in command line (Terminal application accessible from desktop environment by going to Applications > Utilities) and observe ...
Read more >
WFO: Integration Server Configuration Lost After Server Restart
In a similar issue, all the adapters under the Integration Sever Package in the WFO application disappeared after a restart of the WFO...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found