vtsykun / packeton

:package: Private, self-hosted Packagist/Composer/Satis repository with unlimited private repos.
https://demo.packeton.org
MIT License
403 stars 63 forks source link

Cannot submit package, when running on docker (This value should not be blank.) #262

Open michalmicpaw opened 3 months ago

michalmicpaw commented 3 months ago

image

I get error: This value should not be blank.

Same when i'm trying to add public repo from GitHub

vtsykun commented 3 months ago

How do you run a web-server? With docker installation or local installation from source code. This error may happens if git binary is not accessible from PATH webserver user.

This value should not be blank. - this message related to package name and it happens when composer unable to fetch composer.json from remote repository.

michalmicpaw commented 3 months ago

from docker. Same error in apache2, after adding .htaccess and enabling mod rewrite.

In local server, runned by php -S i can upload repo, but there is no /packages.json route

michalmicpaw commented 3 months ago

It is weird. When I start server with php -S i can register repos but cannot access /packages.json, but on apache, I can access /packages.json but have error when I try to register repo. Same on docker, I can access packages.json but cannot register new repo

What's wrong?