Open dougthor42 opened 6 years ago
Hmmm, interesting. Anything in /var/log/nginx/error.log
(or the site-specific error log, if you've configure one)?
No errors in the logs.
I tried adding things like file_put_contents
to start debugging, but for some reason none of that worked. I have zero experience with php and nginx, so it might just be PEBKAC.
In the interim, I'm porting things to python (https://github.com/dougthor42/pynuget) so that (1) I can understand the project and (2) I can debug things in the future.
Same problem here, the logfiles are empty when pushing packages via NuGet. I've managed to create packages.sqlite3
running the index.php
in the public
folder via PHP-CLI as root...it's empty though. Even after pushing a package (returns http code 200) all tables stay empty and no packages are being saved.
The same happened to me. I solved checking the nginx configuration for the site. The default configuration forgets to "include snippets/fastcgi-php.conf;" (maybe something changed from previous nginx version?).
I'm still facing the same issue @stemoser.
So I've successfully pushed a test package, but now I am getting an error "Root element is missing" when trying to list the packages:
I looked through the source code a bit and saw that it's supposed to create an SQLite DB file at
./db/packages.sqlite3
by default, and store the package file itself in./packagefiles/
. However, neither of these files are created on push.Nginx shows no error in the logs, and
/var/log/nginx/access.log
looks like:Versions:
(It's hard to see in the output, but
ngx_http_dav_module
is indeed installed)