-
Notifications
You must be signed in to change notification settings - Fork 43
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
"Root element is missing" Error; SQLite3 file not being created? #31
Comments
Hmmm, interesting. Anything in |
No errors in the logs. I tried adding things like 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 |
The same happened to me. I solved checking the nginx configuration for the site. |
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.$ pwd /var/www/simple-nuget-server $ ll total 48K drwxr-xr-x 7 root root 4.0K Mar 2 08:58 ./ drwxr-xr-x 4 root root 4.0K Mar 2 08:58 ../ drwxrwx--- 2 www-data www-data 4.0K Mar 2 08:58 db/ drwxr-xr-x 8 root root 4.0K Apr 17 08:52 .git/ drwxr-xr-x 2 root root 4.0K Mar 2 08:58 inc/ drwxrwx--- 2 www-data www-data 4.0K Mar 2 08:58 packagefiles/ drwxr-xr-x 2 root root 4.0K Mar 2 08:58 public/ -rw-r--r-- 1 root root 132 Mar 2 08:58 .editorconfig -rw-r--r-- 1 root root 32 Mar 2 08:58 .gitignore -rw-r--r-- 1 root root 1.1K Mar 2 08:58 LICENSE -rw-r--r-- 1 root root 1.3K Mar 2 08:58 nginx.conf.example -rw-r--r-- 1 root root 3.9K Mar 2 08:58 README.md $ sudo ll db/ total 8.0K drwxrwx--- 2 www-data www-data 4.0K Mar 2 08:58 ./ drwxr-xr-x 7 root root 4.0K Mar 2 08:58 ../ -rw-r--r-- 1 root root 0 Mar 2 08:58 .gitkeep $ sudo ll packagefiles/ total 8.0K drwxrwx--- 2 www-data www-data 4.0K Mar 2 08:58 ./ drwxr-xr-x 7 root root 4.0K Mar 2 08:58 ../ -rw-r--r-- 1 root root 0 Mar 2 08:58 .gitkeep
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)The text was updated successfully, but these errors were encountered: