Unable to upload files 5.0 RC1
Expected behaviour
Upload a file or create a directory
Actual behaviour
There isn't upload button
Steps to reproduce
- Fresh install
- Try to upload a file or to create a dir
Server configuration
Operating system: Ubuntu server 12.04
Web server: Apache/2.2.14 (Ubuntu) Server
PHP version: PHP Version 5.3.2-1ubuntu4.18
ownCloud version: 5.0 RC1
Client configuration
Browser: All
Operating system: All
With a fresh install there isn't the button to upload a file or to create a directory On te same server the 4.5.7 works good. In the apache vhost config there is already Allowoverride All

please double check if the web server user has write access to the folders/subfolders.
Upload will be disabled if there are not enough rights
https://github.com/owncloud/core/issues/2001#issuecomment-14278009
the permissions seem good:
/var/www/owncloud drwxr-xr-x 14 www-data www-data 4096 2013-03-01 13:13 owncloud
/var/www/owcloud/data drwxrwx--- 3 www-data www-data 4096 2013-03-01 13:14 data
/var/www/owncloud/data/admin drwxr-xr-x 3 www-data www-data 4096 2013-03-01 13:13 admin
/var/www/owncloud/data/admin/files drwxr-xr-x 2 www-data www-data 4096 2013-03-01 13:13 files
Also with a chmod -R 777 not work.
Some logs:
{"app":"PHP","message":"call_user_func() expects parameter 1 to be a valid callback, class '\OC\Files\Storage\Shared' not found at /var/www/owncloud/lib/hook.php#72","level":2,"time":1362148024} {"app":"core","message":"storage backend \OC\Files\Storage\Local not found","level":3,"time":1362148024} {"app":"core","message":"storage backend \OC\Files\Storage\Local not found","level":3,"time":1362148024} {"app":"core","message":"storage backend \OC\Files\Storage\Local not found","level":3,"time":1362148024} {"app":"core","message":"storage backend \OC\Files\Storage\Local not found","level":3,"time":1362148024} {"app":"core","message":"storage backend \OC\Files\Storage\Local not found","level":3,"time":1362148024} {"app":"core","message":"storage backend \OC\Files\Storage\Local not found","level":3,"time":1362148024} {"app":"core","message":"storage backend \OC\Files\Storage\Local not found","level":3,"time":1362148024} {"app":"PHP","message":"Undefined index: size at /var/www/owncloud/lib/helper.php#804","level":2,"time":1362148024} {"app":"core","message":"storage backend \OC\Files\Storage\Local not found","level":3,"time":1362148024} {"app":"core","message":"storage backend \OC\Files\Storage\Local not found","level":3,"time":1362148024} {"app":"core","message":"storage backend \OC\Files\Storage\Local not found","level":3,"time":1362148024} {"app":"PHP","message":"call_user_func() expects parameter 1 to be a valid callback, class '\OC\Files\Storage\Shared' not found at /var/www/owncloud/lib/hook.php#72","level":2,"time":1362148024} {"app":"PHP","message":"call_user_func() expects parameter 1 to be a valid callback, class '\OC\Files\Storage\Shared' not found at /var/www/owncloud/lib/hook.php#72","level":2,"time":1362148024} {"app":"PHP","message":"call_user_func() expects parameter 1 to be a valid callback, class '\OC\Files\Storage\Shared' not found at /var/www/owncloud/lib/hook.php#72","level":2,"time":1362148024} {"app":"PHP","message":"call_user_func() expects parameter 1 to be a valid callback, class '\OC\Files\Storage\Shared' not found at /var/www/owncloud/lib/hook.php#72","level":2,"time":1362148024} {"app":"PHP","message":"call_user_func() expects parameter 1 to be a valid callback, class '\OC\Files\Storage\Shared' not found at /var/www/owncloud/lib/hook.php#72","level":2,"time":1362148024} {"app":"PHP","message":"call_user_func() expects parameter 1 to be a valid callback, class '\OC\Files\Storage\Shared' not found at /var/www/owncloud/lib/hook.php#72","level":2,"time":1362148025} {"app":"core","message":"storage backend \OC\Files\Storage\Local not found","level":3,"time":1362148025} {"app":"PHP","message":"call_user_func() expects parameter 1 to be a valid callback, class '\OC\Files\Storage\Shared' not found at /var/www/owncloud/lib/hook.php#72","level":2,"time":1362148025} {"app":"PHP","message":"call_user_func() expects parameter 1 to be a valid callback, class '\OC\Files\Storage\Shared' not found at /var/www/owncloud/lib/hook.php#72","level":2,"time":1362148025} {"app":"PHP","message":"call_user_func() expects parameter 1 to be a valid callback, class '\OC\Files\Storage\Shared' not found at /var/www/owncloud/lib/hook.php#72","level":2,"time":1362148025}
Ouch!
@icewind1991 any idea? THX
On a fresh install of ubuntu work good
Same Problem
so this is an upgrade issue?
I had done a fresh install. On Ubuntu.
can you try the latest master version on git? I can create textfiles just fine
I had tried the latest version from github, last time pulled this afternoon.
My System: PHP Version 5.3.2-1ubuntu4.18
ownCloud version: 5.0 RC1
Can't reproduce here with PHP 5.4.10 on OS X 10.8
which apps do you use?
To minimize error vector i disabled all apps except calendar, contacts and files. Exactly as ccianciulli described 4.5.7 works good.
Enabled the same apps as you, still cant reproduce. In that case i need a more detailed description how i can reproduce it.
@Raydiation which PHP Version do you use, which OS?
Mine is: PHP Version 5.3.2-1ubuntu4.18 the same as @ccianciulli uses.
@im1981 PHP 5.4.12 archlinux
@im1981 starting from a new installation of Ubuntu (ubuntu-12.04.2-server-amd64.iso), upgrading the distro and installing owncloud 5.0 RC1 there aren't problem. The only edit needed is the AllowOverride All in /etc/apache2/sites-avaiable/default for the /var/www/ directory.
@ccianciulli is this documented :D? in the admin manual. Because if this is needed, it should be
Distro upgrade is not an option in my case. My System meets all oc requirements.
Very strange that the local storage class is not found. Can you confirm that the file /lib/files/storage/local.php exists?