Or you could try to use Volker OC app. See if it works with OC 8.
Unzip it and put it here:
/var/www/owncloud/apps
The file is attached.
Or you could try to use Volker OC app. See if it works with OC 8.
Unzip it and put it here:
/var/www/owncloud/apps
The file is attached.
Hi tekkb,
just tested it a little bit in my vm.
It works so far.
After installation there is one Error-Message in the log, which is obvisouly meaningless:
ZitatFatal core Invalid OCS content returned for app user_openmediavault 2015-04-19T10:05:07+00:00
Second problem is, that my username begins with a capital letter an the log is spammed with:
Error OC_Group_OpenMediaVault Failed to get user 'Arne' (code=6000, message=User 'arne' does not exist) 2015-04-19T10:07:30+00:00
But authentication works.
For research reasons I changed the capital 'A' to a lower-case 'a' in
/etc/openmediavault/config.xml, /etc/passwd
homedirs name + rights, oc-data-dir
table owncloud, database export (with 'drop before create'), import batch-file
That did it so far.
Did I forget something?
Is there an easier way to change usernames?
I think it is a good idea to stay at lowercase usernames. Isn't it?
There always seems to be a loss of performance when you use that plugin too. It slows OC down a lot.
There always seems to be a loss of performance when you use that plugin too. It slows OC down a lot.
Hi, Onwcloud 8.0 had many Problems with low performance, i will try Radicale.
I think, my OC haven't a internet connection. I can't find updates sinze 7.0.2 and download plugins (updates). An other testfolder with OC 8 have the same problem. Everybody ideas?
At some point I will come back and take a look at OC8. I am bored of it and it was taking up a lot of my time. Busy working on some other things for a while.
Hi, Onwcloud 8.0 had many Problems with low performance,
I have no performance issues with OC8 on my N54L.
From where do you have your information?
Did you try it yourself?
can everybody tell me what's the problem between the two configs?
i use an old config:
client_max_body_size 10G; # set max upload size
fastcgi_buffers 64 4K;
rewrite ^/caldav(.*)$ /remote.php/caldav$1 redirect;
rewrite ^/carddav(.*)$ /remote.php/carddav$1 redirect;
rewrite ^/webdav(.*)$ /remote.php/webdav$1 redirect;
index index.php;
error_page 403 /core/templates/403.php;
error_page 404 /core/templates/404.php;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~ ^/(data|config|\.ht|db_structure\.xml|README) {
deny all;
}
location / {
# The following 2 rules are only needed with webfinger
rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last;
rewrite ^/.well-known/carddav /remote.php/carddav/ redirect;
rewrite ^/.well-known/caldav /remote.php/caldav/ redirect;
rewrite ^(/core/doc/[^\/]+/)$ $1/index.html;
try_files $uri $uri/ index.php;
}
location ~ ^(.+?\.php)(/.*)?$ {
try_files $1 = 404;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$1;
fastcgi_param PATH_INFO $2;
fastcgi_param HTTPS off;
fastcgi_pass $socket;
}
# Optional: set long EXPIRES header on static assets
location ~* ^.+\.(jpg|jpeg|gif|bmp|ico|png|css|js|swf)$ {
expires 30d;
# Optional: Don't log access to assets
access_log off;
}
Alles anzeigen
and when i will use the config from a OC7 manuel:
# set max upload size
client_max_body_size 10G;
fastcgi_buffers 64 4K;
# Disable gzip to avoid the removal of the ETag header
gzip off;
# Uncomment if your server is build with the ngx_pagespeed module
# This module is currently not supported.
#pagespeed off;
rewrite ^/caldav(.*)$ /remote.php/caldav$1 redirect;
rewrite ^/carddav(.*)$ /remote.php/carddav$1 redirect;
rewrite ^/webdav(.*)$ /remote.php/webdav$1 redirect;
index index.php;
error_page 403 /core/templates/403.php;
error_page 404 /core/templates/404.php;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~ ^/(?:\.htaccess|data|config|db_structure\.xml|README){
deny all;
}
location / {
# The following 2 rules are only needed with webfinger
rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last;
rewrite ^/.well-known/carddav /remote.php/carddav/ redirect;
rewrite ^/.well-known/caldav /remote.php/caldav/ redirect;
rewrite ^(/core/doc/[^\/]+/)$ $1/index.html;
try_files $uri $uri/ /index.php;
}
location ~ \.php(?:$|/) {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param HTTPS on;
fastcgi_pass php-handler;
}
# Optional: set long EXPIRES header on static assets
location ~* \.(?:jpg|jpeg|gif|bmp|ico|png|css|js|swf)$ {
expires 30d;
# Optional: Don't log access to assets
access_log off;
}
Alles anzeigen
I have an error when i will safe like thees:
Failed to execute command 'export LANG=C; nginx -t 2>&1': Site configuration file 'openmediavault-nginx' not found.
nginx: [emerg] no port in upstream "php-handler" in /etc/nginx/sites-enabled/openmediavault-nginx:120
nginx: configuration file /etc/nginx/nginx.conf test failed
Fehler #4000:
exception 'OMVException' with message 'Failed to execute command 'export LANG=C; nginx -t 2>&1': Site configuration file 'openmediavault-nginx' not found.
nginx: [emerg] no port in upstream "php-handler" in /etc/nginx/sites-enabled/openmediavault-nginx:120
nginx: configuration file /etc/nginx/nginx.conf test failed' in /usr/share/openmediavault/engined/module/webserver.inc:41
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/config.inc(180): OMVModuleNginxAbstract->applyConfig()
#1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
#4 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
#5 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#6 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
#8 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
#9 {main}
Alles anzeigen
everybody can tell me the differnt and the problem?
Hallo Enra,
welche Vorteile siehst Du von Owncloud 8.x gegenüber dem Owncloud-Plugin-OpenMediaVault?
Schöne Grüße
openmedianer
From Post#1:
Advantage: Easy installation
Disadvantage: OwnCloud-Users are not synced with OMV-Users. You have to create them manually.
I installed OC this way since my "xpenology-days".
So I am not able to give a professional opinion on the OMV-plugin.
I see, you are still interested in OC. What prevents you from testing these ways in a VirtualBox?
It is better to make your own experiences and check whether it fits for you!
Hallo Enra,
würdest Du deine Methode oder die von tekkb (user_openmediavault.zip)
Owncloud 8 and MySQL: alternative approach
empehlen?
Welche Methode ist warum zu empfehlen?
These methods are not contrary.
The user_openmediavault.zip is an OC app to sync OC-users to OMV.
Test it, and if you like it, use it.
Alles anzeigenFrom Post#1:
I installed OC this way since my "xpenology-days".
So I am not able to give a professional opinion on the OMV-plugin.
I see, you are still interested in OC. What prevents you from testing these ways in a VirtualBox?
It is better to make your own experiences and check whether it fits for you!
Hallo Enra,
warum hast Du dich von XPEnology abgewandt?
Für XPEnology gibt es auch ein OwnCloud Plugin.
Was war der Hauptgrund?
Schöne Grüße
openmedianer
Hi,
warum hast Du dich von XPEnology abgewandt?
this becomes too much off-topic.
Pls start a new thread for this discussion.
LG
If anyone has problems starting MySQL via plugin like me: you need to allow mysql user to read/write the data directory you created for it.
And, does it all work now?
you need to allow mysql user to read/write the data directory you created for it
For me this was not necessary. Did you create the shared folder within the MySQL plugin?
Hello,
I need owncloud. I have used it via the plugin in the past but found it too slow to be usable. Im therefore interested in this method without the plugin.
As per this thread ownCloud - Best Practice?
I installed from the plugin and copied the files;
/etc/nginx/site-enabled/openmediavault-owncloud
/etc/nginx/openmediavault-webgui.d/owncloud.conf
/etc/php5/fpm/pool.d/openmediavault-owncloud.conf
I note that the file;
/etc/nginx/openmediavault-webgui.d/oc
was not available, so I couldnt copy it.
I then removed the plugin and replaced the files to there intended locations.
I then installed OC8 as per this method, this seemed to go ok except for 1 x message;
Your data directory and files are probably accessible from the internet because the .htaccess file does not work. . . .
OK. When I try to access owncloud, it gives me the login prompt and then at directs to the following link;
The webpage returns a 500 Internal Server Error.
Inspection of the nginx error log shows the below, whilst the owncloud-error.log is empty.
Zitat2015/05/02 15:15:37 [error] 20111#0: *669 rewrite or internal redirection cycle while internally redirecting to "/index.html", client: 192.168.2.3, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "192.168.2.20", referrer: "http://192.168.2.20/owncloud/index.php/settings/admin?trustDomain=localhost"
Im figuring the issue is an nginx configuration issue but its beyond my capabilities. Ive done a bit of googling, but have yet to unearth anything helpful.
Does anyone have any ideas that may be useful?
As an aside - if one is questioning why Im trying to use this method rather than the method in the post using the nginx plugin, the reason is because I need to access owncloud via www.mydomain/owncloud rather than www.mydomain:90 etc. . . . as my work locks down access via ports.
Any assistance appreciated.
Hi,
before srewing up your system totally, consider a fresh installation as presented.
Nginx is capable of named-based web-servers, so you can run your owncloud for example under "owncloud.lan".
If neccesary you have to create a proper DNS entry for "owncloud.lan".
But be aware that you should prior change the ports omv is listening and create a proper DNS entry for "owncloud.lan".
Not sure whether they both can listen on 80/443.
Thanks for the advice, you are correct the nginx webserver configuration is too much of a handful for me.
Im not sure I follow your comments on name based webservers. I want to be able to access from outside my lan, i.e http://www.mydomain.com/owncloud. For other applications I have done this using a proxypass in my sites-enabled 'default' file. Perhaps I need to install by your original method and then try to add the proxypass in manually?
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!