Files inaccessable, Class 'OCA\files\lib\Helper' not found [5.0] [IIS]
Hello!
Expected behaviour
Clicking on a file should show it/download it.
Actual behaviour
After upgrading to OC5, no file can be opened, stating "Cloud not found".
Steps to reproduce
- Log in
- Click on any file
- Error. PHP.log says: [14-Mar-2013 08:33:34 UTC] PHP Fatal error: Class 'OCA\files\lib\Helper' not found in C:\inetpub\wwwroot\owncloud\apps\files\ajax\getstoragestats.php on line 9
Server configuration
Operating system: Windows 2008 R2 up-to-date
Web server: IIS7.5
Database: MySQL
PHP version: 5.3.13
ownCloud version: 5.0
Client configuration
Browser: Firefox 19
Operating system: Win7x64
Logs
Web server error log
[14-Mar-2013 08:02:44 UTC] PHP Fatal error: Class 'OCA\files\lib\Helper' not found in C:\inetpub\wwwroot\owncloud\apps\files\ajax\upload.php on line 16
[14-Mar-2013 08:11:29 UTC] PHP Notice: Undefined index: SERVER_SIGNATURE in C:\inetpub\wwwroot\owncloud\tool.php on line 246
[14-Mar-2013 08:11:46 UTC] PHP Warning: fileowner(): stat failed for ./data in C:\inetpub\wwwroot\owncloud\tool.php on line 92
[14-Mar-2013 08:12:13 UTC] PHP Warning: chmod(): No such file or directory in C:\inetpub\wwwroot\owncloud\tool.php on line 206
[14-Mar-2013 08:12:47 UTC] PHP Notice: Undefined index: SERVER_SIGNATURE in C:\inetpub\wwwroot\owncloud\tool.php on line 246
[14-Mar-2013 08:12:50 UTC] PHP Warning: fileowner(): stat failed for ./data in C:\inetpub\wwwroot\owncloud\tool.php on line 92
[14-Mar-2013 08:28:40 UTC] PHP Fatal error: Class 'OCA\files\lib\Helper' not found in C:\inetpub\wwwroot\owncloud\apps\files\ajax\upload.php on line 16
[14-Mar-2013 08:33:34 UTC] PHP Fatal error: Class 'OCA\files\lib\Helper' not found in C:\inetpub\wwwroot\owncloud\apps\files\ajax\getstoragestats.php on line 9
ownCloud log (data/owncloud.log)
{"app":"core","message":"Authentication cookie rejected for user Arndt","level":2,"time":1363248014}
{"app":"PHP","message":"Class 'OCA\\files\\lib\\Helper' not found at C:\\inetpub\\wwwroot\\owncloud\\apps\\files\\ajax\\upload.php#16","level":4,"time":1363248164}
{"app":"PHP","message":"filemtime(): stat failed for F:\\owncloud_datastore\/var\/gallery\/var\/\/2012-09-08 BSOD.png at C:\\inetpub\\wwwroot\\owncloud\\apps\\gallery\\lib\\thumbnail.php#95","level":2,"time":1363248490}
{"app":"PHP","message":"filesize(): stat failed for F:\\owncloud_datastore\/var\/gallery\/var\/\/2012-09-08 BSOD.png at C:\\inetpub\\wwwroot\\owncloud\\apps\\gallery\\lib\\thumbnail.php#96","level":2,"time":1363248490}
{"app":"PHP","message":"Undefined offset: 1 at C:\\inetpub\\wwwroot\\owncloud\\apps\\gallery\\ajax\\gallery.php#12","level":2,"time":1363248490}
{"app":"PHP","message":"Class 'OCA\\files\\lib\\Helper' not found at C:\\inetpub\\wwwroot\\owncloud\\apps\\files\\ajax\\upload.php#16","level":4,"time":1363249720}
{"app":"PHP","message":"Class 'OCA\\files\\lib\\Helper' not found at C:\\inetpub\\wwwroot\\owncloud\\apps\\files\\ajax\\getstoragestats.php#9","level":4,"time":1363250014}
Browser log
n/a
@DeepDiver1975
What's that?
C:\inetpub\wwwroot\owncloud\tool.php
THX
It's a tool from owncloud-forum (used for troubleshooting common problems like missing read-write-access, etc.). It didn't find any problem.
I just upgraded to 5.0, Windows 2008 R2, same issue, all files get cloud not found.
Please give the git branch stable5 a try - some windows issues have been resolved there already. THX
close due to inactivity
Sorry was on Vacation. Didn't mean to have inactivity. I just tried to upgrade my 4.5.8 to 5.0.2 and still experience same issue. upgrade says successful, see all files on web client, then when click on a file it says cloud not found.
Okay, tried 5.0.3, same result. On a side note, I cleared all documents on 4.5.8, then did an upgrade and then re-added documents via the cloud desktop sync, and since this version fixed the .part issue, I am good to go. I am just going to stick with 5.0.3, but others will probably have the issue of upgrading from 4.5.8 to 5.0.X on Windows 2008 using the data directory in a different location.
I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version.
Please reopen if you still encounter this issue with the latest stable version (currently ownCloud 5.0.9) and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :)
Thank you!