Installation NC11 on FreeBSD w Postgresql

Hi there,

I tried to install NC11 on FreeBSD 11.0 via manual install (not the port) and I got this far:
Setup Database and finish NC setup w setting up the admin user and DB.
Now when trying to login, I get the following error:
websrv01:/usr/local/www/apache24/vhosts/nextcloud@[10:20] # cat data/nextcloud.log |grep gH6KEBLUJub5G+SwB0yo
{“reqId”:“gH6KEBLUJub5G+SwB0yo”,“remoteAddr”:“xx.xx.xx.xx”,“app”:“index”,“message”:“Exception: {“Exception”:“Error”,“Message”:“Call to undefined function OC\\Files\\Storage\\filter_var()”,“Code”:0,“Trace”:”#0 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/Files\/Storage\/Common.php(531): OC\\Files\\Storage\\Common->scanForInvalidCharacters(‘files’, ‘\\\\\/’)\n#1 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/Files\/Storage\/Common.php(522): OC\\Files\\Storage\\Common->verifyPosixPath(‘files’)\n#2 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(541): OC\\Files\\Storage\\Common->verifyPath(’.’, ‘files’)\n#3 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php(541): OC\\Files\\Storage\\Wrapper\\Wrapper->verifyPath(’.’, ‘files’)\n#4 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php(136): OC\\Files\\Storage\\Wrapper\\Wrapper->verifyPath(’.’, ‘files’)\n#5 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/Files\/Cache\/Scanner.php(320): OC\\Files\\Cache\\Scanner->scanFile(‘files’, 3, -1, NULL, true)\n#6 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/Files\/View.php(1301): OC\\Files\\Cache\\Scanner->scan(‘files’, false)\n#7 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/Files\/View.php(1342): OC\\Files\\View->getCacheEntry(Object(OCA\\Files_Trashbin\\Storage), ‘files’, ‘\/’)\n#8 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/Files\/Filesystem.php(876): OC\\Files\\View->getFileInfo(’\/amueller\/files’, false)\n#9 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/apps\/files\/lib\/Controller\/ViewController.php(135): OC\\Files\\Filesystem::getFileInfo(’\/’, false)\n#10 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/apps\/files\/lib\/Controller\/ViewController.php(199): OCA\\Files\\Controller\\ViewController->getStorageInfo()\n#11 [internal function]: OCA\\Files\\Controller\\ViewController->index(’’, ‘’, NULL, false)\n#12 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(160): call_user_func_array(Array, Array)\n#13 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/AppFramework\/Http\/Dispatcher.php(90): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OCA\\Files\\Controller\\ViewController), ‘index’)\n#14 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/AppFramework\/App.php(114): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Files\\Controller\\ViewController), ‘index’)\n#15 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/AppFramework\/Routing\/RouteActionHandler.php(47): OC\\AppFramework\\App::main(‘ViewController’, ‘index’, Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#16 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->__invoke(Array)\n#17 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/Route\/Router.php(299): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler), Array)\n#18 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/base.php(1010): OC\\Route\\Router->match(’\/apps\/files\/’)\n#19 \/usr\/local\/www\/apache24\/vhosts\/nextcloud\/index.php(40): OC::handleRequest()\n#20 {main}",“File”:"\/usr\/local\/www\/apache24\/vhosts\/nextcloud\/lib\/private\/Files\/Storage\/Common.php",“Line”:550}",“level”:3,“time”:“2016-12-14T09:19:50+00:00”,“method”:“GET”,“url”:"/index.php/apps/files/",“user”:“amueller”,“version”:“11.0.0.10”}

Since I am not a php-guy, any help here is really appreciated.

Cheers,
Tony

1 Like

Well, okay that fixed it. Only difference is, I’m runnning PHP7. Thanks @BernhardPosselt