-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Packages.json missing V2 update not working #10
Comments
This issue I've never suffered before. I get this issue #6 and issue #8, but it's resolved. As far as I know, using the The Maybe it can do following steps:
|
Well, I'll try purge the downloaded files... It just takes with ZFS ages to complete 😓 |
12 hours later, 10M inodes purged, lot of inodes rebuilt and it magically created the packages.json... I decided to not support v1. It's anyways deprecated and probable going away in close future. |
Hi, Thanks @peter279k ;)
System:
Following steps done:
2nd :
==> change iteration_interval' to 20
==> Switch to https://packagist.fr/
lots of
and still no package.json nor packages.json.gz on mirror's root :(
|
Sorry. I cannot help you because I cannot reproduce your issue. I follow your steps to create Composer mirror and it doesn't have any error. I guess that the Network bandwidth is not good enough and it causes syncing mirror is not done correctly. |
I give another try
1st time :
2nd time
3rd
4th
and finally
OK let's brute force 👎 while [ $? != 0 ]; do ./mirror.php --v2 -v; done gave lots of stack trace but 4 hours later still no packages.json :( |
Tested from a VPS @ OVH 👎 :( $ ./mirror.php --v2 -v
Relaunched ... new error elsewhere |
Just share my experiences. I do same steps about running And one of host that I need to run the |
Shall we hence reopen the issue ? |
I think it doesn't have to reopen this issue because it's out of scope for this repository. |
I think I've found the workaround. See PR #11 :) |
😦 Seen in mirror.php#L67, I didn't understood this param correctly |
./mirror.php --resync -v
After this I see there is only
p2
folder created withoutpackages.json
.If I try run
--v2
it just fails.Config
System
The text was updated successfully, but these errors were encountered: