Feature #5992 Please Update Owncloud PBI Plugin to the Latest Version 09/03/2014 11:45 AM - Matthew Perkins
Total Page:16
File Type:pdf, Size:1020Kb
FreeNAS - Feature #5992 Please update owncloud PBI plugin to the latest version 09/03/2014 11:45 AM - Matthew Perkins Status: Closed Estimated time: 0.00 hour Priority: Nice to have Assignee: Joshua Ruehlig Category: Middleware Target version: N/A Severity: New Needs Merging: Yes Reason for Closing: Needs Automation: No Reason for Blocked: Support Suite Ticket: n/a Needs QA: Yes Hardware Configuration: Needs Doc: Yes Description As of the time of this posting the current version of owncloud is = 7.0.2 The current PBI plugin for FreeNAS is still at 6.0.3 History #1 - 09/03/2014 11:54 AM - Matthew Perkins I am also intrigued by this: http://forums.freenas.org/index.php?threads/how-to-owncloud-using-nginx-php-fpm-and-mysql.17786/page-3#post-102847 From this Guide: http://forums.freenas.org/index.php?threads/how-to-owncloud-using-nginx-php-fpm-and-mysql.17786/ I think many others would also find this valuable to be able to implement SSL and Fail2ban to their owncloud instance. As far as I understand this is not possible with the PBI version of owncloud. (Still would like to see it updated regardless . .) #2 - 09/04/2014 01:25 PM - Jordan Hubbard - Category set to 33 - Assignee set to Sean Fagan - Target version set to 49 #3 - 09/05/2014 08:35 AM - Matthew Perkins Please look at and consider this bug report in relation to updating this plugin: https://bugs.freenas.org/issues/5232 Previously I was using the owncloud PBI (ver 6.0.1), on FreeNAS 9.2.1.3; and everything worked great. I was using an external dataset with owncloud; and syncing it using the owncloud desktop sync clients. When I decided to update to the latest of both FreeNAS (ver 9.2.1.7) as well as owncloud (version 6.0.3 PBI) - Everything broke. I had deleted the plugin I was using; and tried installing a fresh version of the owncloud PBI. Nothing I do gets the external datasets files back into owncloud. The owner is set to "www"; which I know is the first question that would be asked. I tried manually instslling owncloud using a guide from the forum (using the latest at the time (owncloud ver 7.0.1); and the results were the same. I get a working owncloud; without the external files from my freenas dataset. 09/29/2021 1/5 When I say working; I can't confirm how well it is actually working; other than that it does not give all kinds of errors like you might expect. I just know that something definitely broke the ability to work with external datasets. Please let me know if there is anything I can provide you with to help diagnose this issue. I have tried many different versions of FreeNAS to see if it were some specific overlooked quirk only on one version. This does not seem to be the case. I tried testing out several of the M3 Nightly builds; as well as rolling back to 9.2.1.5; with no difference in the results. #4 - 09/05/2014 10:21 PM - Sean Fagan 7.0.2 is up now. #5 - 09/06/2014 12:28 PM - Matthew Perkins Upon trying to install the 7.0.7 owncloud plugin; it fails with these errors: Environment: Software Version: FreeNAS-9.3-M3-88f70f5-x64 Request Method: POST Request URL: http://freenas.local/plugins/plugin/install/6341116a734d6bdb1cb11470333d80c1b6500eee596ab205a0b500025e7bfabb/ Traceback: File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 105. response = middleware_method(request, callback, callback_args, callback_kwargs) File "/usr/local/www/freenasUI/../freenasUI/freeadmin/middleware.py" in process_view 156. return login_required(view_func)(request, *view_args, **view_kwargs) File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in wrapped_view 22. return view_func(request, *args, **kwargs) File "/usr/local/www/freenasUI/../freenasUI/plugins/views.py" in install_available 255. raise MiddlewareError(e) File "/usr/local/www/freenasUI/../freenasUI/middleware/exceptions.py" in init 38. log.warn(str(self)) File "/usr/local/www/freenasUI/../freenasUI/middleware/exceptions.py" in str 41. return "[%s: %s]" % (type(self)._name__, self.value.encode('utf-8')) Exception Type: AttributeError at /plugins/plugin/install/6341116a734d6bdb1cb11470333d80c1b6500eee596ab205a0b500025e7bfabb/ Exception Value: 'MiddlewareError' object has no attribute 'encode' Request information GET No GET data POST Variable Value __form_id u'form_str' FILES No FILES data COOKIES Variable Value csrftoken 'mgw6UmRj3ojLTeI8eP078MYezen83eyd' sessionid '0dxojhtb4ddegzpwm4eyjrbjof1bdt79' fntreeSaveStateCookie 'root%2Croot%2F193%2Croot%2F193%2F199%2Croot%2F57%2F64%2Croot%2F57%2F64%2F65%2Croot%2F57%2F64%2F65%2F70%2Croot% 2F57%2F64%2F65%2F70%2F83%2Croot%2F1%2Croot%2F149%2Croot%2F132%2F139%2Croot%2F12%2Croot%2F57%2Croot%2F57%2F58%2 Croot%2F141%2Croot%2F141%2F148%2Croot%2F158%2Croot%2F57%2F65%2Croot%2F57%2F65%2F66%2Croot%2F12%2F39%2Croot%2F42 %2Croot%2F42%2F44%2Croot%2F42%2F47%2Croot%2F42%2F51%2Croot%2F42%2F54%2Croot%2F201%2Croot%2F203%2Croot%2F203%2F 209%2Croot%2F1%2F5%2Croot%2F183%2Croot%2F133%2Croot%2F133%2F140%2Croot%2F194%2Croot%2F194%2F200%2Croot%2F194%2F 200%2F202%2Croot%2F187%2Croot%2F187%2F193%2Croot%2F187%2F193%2F195%2Croot%2F185%2Croot%2F1%2F2%2Croot%2F1%2F8% 2Croot%2F12%2F36%2Croot%2F186%2Croot%2F188%2Croot%2F188%2F194%2Croot%2F188%2F194%2F196%2Croot%2F40%2Croot%2F199 %2Croot%2F199%2F205%2Croot%2F199%2F205%2F207%2Croot%2F200%2Croot%2F200%2F206%2Croot%2F200%2F206%2F208%2Croot%2 F131%2Croot%2F138%2Croot%2F138%2F148%2Croot%2F204%2Croot%2F204%2F210%2Croot%2F204%2F210%2F212%2Croot%2F142%2Cro ot%2F142%2F152%2Croot%2F142%2F149%2Croot%2F12%2F18%2Croot%2F80%2Croot%2F80%2F90%2Croot%2F84%2Croot%2F84%2F85%2 Croot%2F84%2F88%2Croot%2F84%2F91%2Croot%2F125%2Croot%2F125%2F135%2Croot%2F195%2Croot%2F195%2F201%2Croot%2F195%2 F201%2F203%2Croot%2F119%2Croot%2F119%2F129%2Croot%2F124%2Croot%2F124%2F134%2Croot%2F193%2F199%2F201%2Croot%2F19 1%2Croot%2F118%2Croot%2F118%2F128%2Croot%2F128%2Croot%2F128%2F135' META 09/29/2021 2/5 Variable Value wsgi.multiprocess False HTTP_REFERER 'http://freenas.local/' REDIRECT_STATUS '200' SERVER_SOFTWARE 'nginx/1.6.1' SCRIPT_NAME u'' HTTP_X_CSRFTOKEN 'mgw6UmRj3ojLTeI8eP078MYezen83eyd' REQUEST_METHOD 'POST' PATH_INFO u'/plugins/plugin/install/6341116a734d6bdb1cb11470333d80c1b6500eee596ab205a0b500025e7bfabb/' SERVER_PROTOCOL 'HTTP/1.1' QUERY_STRING '' CONTENT_LENGTH '18' HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:31.0) Gecko/20100101 Firefox/31.0 Waterfox/31.0' HTTP_CONNECTION 'keep-alive' HTTP_COOKIE 'csrftoken=mgw6UmRj3ojLTeI8eP078MYezen83eyd; sessionid=0dxojhtb4ddegzpwm4eyjrbjof1bdt79; fntreeSaveStateCookie=root%2Croot%2F193%2Croot%2F193%2F199%2Croot%2F57%2F64%2Croot%2F57%2F64%2F65%2Croot%2F57%2F64 %2F65%2F70%2Croot%2F57%2F64%2F65%2F70%2F83%2Croot%2F1%2Croot%2F149%2Croot%2F132%2F139%2Croot%2F12%2Croot%2F57 %2Croot%2F57%2F58%2Croot%2F141%2Croot%2F141%2F148%2Croot%2F158%2Croot%2F57%2F65%2Croot%2F57%2F65%2F66%2Croot%2 F12%2F39%2Croot%2F42%2Croot%2F42%2F44%2Croot%2F42%2F47%2Croot%2F42%2F51%2Croot%2F42%2F54%2Croot%2F201%2Croot%2 F203%2Croot%2F203%2F209%2Croot%2F1%2F5%2Croot%2F183%2Croot%2F133%2Croot%2F133%2F140%2Croot%2F194%2Croot%2F194%2 F200%2Croot%2F194%2F200%2F202%2Croot%2F187%2Croot%2F187%2F193%2Croot%2F187%2F193%2F195%2Croot%2F185%2Croot%2F1 %2F2%2Croot%2F1%2F8%2Croot%2F12%2F36%2Croot%2F186%2Croot%2F188%2Croot%2F188%2F194%2Croot%2F188%2F194%2F196%2Cr oot%2F40%2Croot%2F199%2Croot%2F199%2F205%2Croot%2F199%2F205%2F207%2Croot%2F200%2Croot%2F200%2F206%2Croot%2F200% 2F206%2F208%2Croot%2F131%2Croot%2F138%2Croot%2F138%2F148%2Croot%2F204%2Croot%2F204%2F210%2Croot%2F204%2F210%2F2 12%2Croot%2F142%2Croot%2F142%2F152%2Croot%2F142%2F149%2Croot%2F12%2F18%2Croot%2F80%2Croot%2F80%2F90%2Croot%2F84 %2Croot%2F84%2F85%2Croot%2F84%2F88%2Croot%2F84%2F91%2Croot%2F125%2Croot%2F125%2F135%2Croot%2F195%2Croot%2F195% 2F201%2Croot%2F195%2F201%2F203%2Croot%2F119%2Croot%2F119%2F129%2Croot%2F124%2Croot%2F124%2F134%2Croot%2F193%2F1 99%2F201%2Croot%2F191%2Croot%2F118%2Croot%2F118%2F128%2Croot%2F128%2Croot%2F128%2F135' SERVER_NAME 'localhost' REMOTE_PORT '49895' wsgi.url_scheme 'http' SERVER_PORT '80' SERVER_ADDR '192.168.1.106' DOCUMENT_ROOT '/usr/local/etc/nginx/html' HTTP_PRAGMA 'no-cache' HTTP_CONTENT_LENGTH '18' HTTP_X_REQUESTED_WITH 'XMLHttpRequest' DOCUMENT_URI '/plugins/plugin/install/6341116a734d6bdb1cb11470333d80c1b6500eee596ab205a0b500025e7bfabb/' wsgi.input <flup.server.fcgi_base.InputStream object at 0x811542410> HTTP_HOST 'freenas.local' wsgi.multithread True HTTP_CACHE_CONTROL 'no-cache' HTTP_CONTENT_TYPE 'application/x-www-form-urlencoded; charset=UTF-8' REQUEST_URI '/plugins/plugin/install/6341116a734d6bdb1cb11470333d80c1b6500eee596ab205a0b500025e7bfabb/' HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' wsgi.version (1, 0) GATEWAY_INTERFACE 'CGI/1.1' wsgi.run_once False wsgi.errors <flup.server.fcgi_base.TeeOutputStream object at 0x81158a490> REMOTE_ADDR '192.168.1.104' HTTP_ACCEPT_LANGUAGE 'en-US,en;q=0.5' CONTENT_TYPE 'application/x-www-form-urlencoded; charset=UTF-8' CSRF_COOKIE u'mgw6UmRj3ojLTeI8eP078MYezen83eyd' HTTP_ACCEPT_ENCODING 'gzip, deflate' 09/29/2021 3/5 #6 - 09/06/2014 12:29 PM - Sean Fagan Hm, let me check the python version. Until then I am setting it back to the old version. #7 - 09/06/2014 12:36 PM - William Grzybowski That doesn't sound like a problem with the plugin. Can you install any plugin at all? #8 - 09/06/2014 12:37 PM - Matthew Perkins Could you please also test using an external ZFS dataset with owncloud? Have been unable recently to get data to propagate correctly into the jail . I use the standard "www" user/group owner for the dataset. #9 - 09/06/2014 12:43 PM - Sean Fagan - Assignee changed from Sean Fagan to John Hixson John, does the infodump mean anything to you? #10 - 09/06/2014 12:50 PM - Sean Fagan It's 7.0.2. It installed on my 9.2.1.7 system. I have no idea how to use owncloud, so I didn't do anything other than create an admin account in it. Putting it back. #11 - 09/06/2014 01:12 PM - Matthew Perkins I just installed the latest 9.3 M3 nightly earlier today as a fresh install.