File permissions should be ok, I changed the ownership of /var/www/owncloud and owncloud-data to www:www, no change whatsoever.
It must be something with owncloud, because when I am not logged in, I can see the owncloud login screen just fine. Furthermore, a phpinfo() page works, too. But when I log in with a correct username and password, I get the 500 error. I already ran the server in the foreground, with increased verbosity. It only gives an unspecific error: default 192.168.178.18 - - [29/Dec/2014:16:58:15 +0100] "GET /owncloud/index.php/apps/files/ HTTP/1.1" 500 0 server default, client 5 (1 active), 192.168.178.18:54562 -> 192.168.178.49, /owncloud/index.php/apps/files/ (500 Internal Server Error) Clemens On 29.12.14 16:42, mario wrote: > Sqlite3 is is fine. As I said I use it. > What about file permissions? > > Maybe run the httpd daemon in the foreground and increase its verbosity. > > Did you manage to run a simple perl or bash script through the server? > > > Sent from Samsung Mobile > > -------- Original message -------- > From: Clemens Goessnitzer <e1126...@student.tuwien.ac.at> > Date: 12-29-2014 04:12 (GMT-05:00) > To: misc@openbsd.org > Subject: Re: 500 httpd error with owncloud > > $ ldd /usr/bin/sqlite3 > /usr/bin/sqlite3: > Start End Type Open Ref GrpRef Name > 000000b21e800000 000000b21ec11000 exe 1 0 0 > /usr/bin/sqlite3 > 000000b491c4e000 000000b492120000 rlib 0 1 0 > /usr/lib/libsqlite3.so.28.0 > 000000b498a0f000 000000b498e42000 rlib 0 1 0 > /usr/lib/libedit.so.5.1 > 000000b430ec9000 000000b431323000 rlib 0 1 0 > /usr/lib/libcurses.so.14.0 > 000000b472f65000 000000b473377000 rlib 0 2 0 > /usr/lib/libpthread.so.18.1 > 000000b497b7e000 000000b49806a000 rlib 0 1 0 > /usr/lib/libc.so.78.0 > 000000b448400000 000000b448400000 rtld 0 1 0 > /usr/libexec/ld.so > > I copied all libraries used by sqlite3 in the folder /var/www/usr/lib/: > > $ ls -lh /var/www/usr/lib/ > total 17920 > -r--r--r-- 1 root daemon 3.2M Dec 29 09:01 libc.so.78.0 > -r--r--r-- 1 root daemon 1.4M Dec 29 09:01 libcurses.so.14.0 > -r--r--r-- 1 root daemon 480K Dec 29 09:01 libedit.so.5.1 > -r--r--r-- 1 root daemon 208K Dec 29 09:01 libpthread.so.18.1 > -r--r--r-- 1 root daemon 3.4M Dec 29 09:01 libsqlite3.so.28.0 > > I think it has something to do with sqlite3 - this is just a guess. > Trying to install wordpress form ports, it failed at the database setup > (although wp uses mariadb/mysql). Has anyone else experienced such problems? > > Clemens