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

Synchronizing takes to long and could not import from Toran Proxy #311

Closed
mostafasoufi opened this issue Oct 20, 2020 · 7 comments
Closed

Comments

@mostafasoufi
Copy link

I'm using the Toran Proxy and want to import the packages into the Repman but unfortunately could not import and takes too long.

screenshot-packagist codelight eu-2020 10 20-17_08_52

Some of the packages have the custom repository:

"repositories": [{
        "type": "composer",
        "url": "https://packages.domain.com/repo/private/"
    },
    {
        "type": "composer",
        "url": "https://packages.domain.com/repo/packagist/"
    }
],
@mostafasoufi mostafasoufi changed the title Synchronizing takes to long and could not import from Toran repository Synchronizing takes to long and could not import from Toran Proxy Oct 20, 2020
@mostafasoufi
Copy link
Author

I tested with a default GitHub package, still didn't work.

@karniv00l
Copy link
Contributor

Hi @mostafasoufi, how is your Repman setup? Can you confirm that consumer is working?

@mostafasoufi
Copy link
Author

It's self-hosted, nginx and php-fpm. I've checked permissions as well and there are no logs.

@karniv00l
Copy link
Contributor

Please have a look at #73

@akondas
Copy link
Member

akondas commented Oct 20, 2020

Is the consumer runnig? You need to run background task: bin/console messenger:consume async.
Pleas look at supervisor role in ansible or docker-compose.yml consumer container.

If problem still occurs you can check:

  • Failed message queue: bin/console messenger:failed:show
  • Message consumer logs var/log/consumer.log
  • Supervisor logs /var/log/supervisor/message-consumer_00-stderr

@mostafasoufi
Copy link
Author

mostafasoufi commented Oct 21, 2020

Thanks, I forgot to do Workers commands.
https://symfony.com/doc/current/messenger.html#deploying-to-production

@akondas
Copy link
Member

akondas commented Oct 21, 2020

@mostafasoufi Thanks for info.
@karniv00l This should be better documented. It's not the first time we have had such a problem, it would be worth adding to the docs.

Second, we can also start building a FAQ or troubleshooting section there. We will describe the most frequent problems and how to deal with them (where to look for logs, etc.)

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