Coder Social home page Coder Social logo

owncloudpie's People

Contributors

jancborchardt avatar kmgalanakis avatar netzwerch avatar octhrope avatar petrockblog avatar shugabuga avatar simonspa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

owncloudpie's Issues

performance optimisations

I am fighting some problems with my sync client and WebDav being really slow especially when it comes to many files (suggestions on that would be greatly appreciated).
While searching the web for my problem, I found the following:

"7. To further optimize your web server setup I highly recommend you perform this last step. However, It’s not necessary.

Run the following command on your Pi -
apt-get install memcached php5-memcache php-apc varnish"

php-apc is already included in your script. memcached, php5-memcache and varnish all are supposed to do some performance improvements to php and http. While I did not test them separably my RaspberriPi web interface is much faster now.
File transfer is to be tested, but even if that is not effected its still worth it.

found it here:
http://rstreefland.com/2013/01/24/how-to-a-complete-super-fast-super-efficient-web-server-setup-for-the-pi/#more-56

Ps. grr I misspelled the headline

Greetings Lennart

use Linux packages instead of zip files

The script seems to assume Raspbian, so it would make sense to use the Linux packages instead of the generic zip files:
http://owncloud.org/install/#instructions-packages

The commands for that are

echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/ /' >> /etc/apt/sources.list.d/owncloud.list 
apt-get update
apt-get install owncloud

And for adding the key

wget http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/Release.key
apt-key add - < Release.key

What do you think @petrockblog?

Common name seems to be mandatory in certificates

Thanks for the great script! I ran into one issue while skipping through the certificate creation process (using via nginx): the dialog let's me assume that all certificate details are optional, but OwnCloud (5.0.6) does not seem to think so as all sync operations failed because Common name was blank.

So maybe it would be good to reword the dialog slightly? It does not matter what the common name says. My made-up domain name fixed the syncing.

Blank Page (owncloud/index.php) after first install

Hi there,

after doing a new installation with nginx I get a blank page when calling owncloud/index.php.

/var/log/nginx/access.log and /var/log/nginx/error.log don't give a hint. There is no logfile in /srv/http/owncloud/data/.

Thanks in advance for helping out. Cheers, Sascha

Server certificate was missing commonName attribute in subject name

Hi, I'm having the following issue after a default installation on the latest Raspbian build:

Server backend message: Server certificate was missing commonName attribute in subject name

This message shows up in my OSX Client. The iPhone client is also not working, can't upload.

can not connect to database, using sqlite3

I got this issue: “can not connect to database, using sqlite3. (unable to find package ‘MDB2_Driver_sqlite3′ file ‘MDB2/Driver/sqlite3.php’)”

Just typed: sudo apt-get install owncloud-sqlite

problem solved.

Maybe you can attach this into the script

Include "upgrade" option

Include "update" option to allow for an automatic upgrade of the owncloud installation to the newest release.

Please update readme file

the readme file is a bit outdated and it made me wounder if the script is going to use apache or not, and also which version of the owncloud is going to be used at all.

SSL problem mit Mac OS X Client + Apache

The Mac OS X ownCloud client refuses to connect via HTTPS in case of an apache installation. This problem can be solved by generating a pem AND a key file instead of only a pem file as done in the script:

sudo openssl req -new -x509 -days 365 -nodes -out /etc/apache2/apache.pem -keyout /etc/apache2/apache.key
sudo chmod 600 /etc/apache2/apache.pem
sudo chmod 600 /etc/apache2/apache.key

/etc/apache2/sites-available/default-ssl should then contain the lines:
SSLCertificateFile /etc/apache2/apache.pem
SSLCertificateKeyFile /etc/apache2/apache.key

owncloud/nginx unreachable

I'm using nginx and a self-generated SSL certificate. Without any direct intervention from me, browser and desktop client cannot connect anymore (timeout). Trying curl to access the owncloud directory might show a certificate problem:

$curl --local-port 53234 https://myserver
curl: (60) SSL certificate problem: Invalid certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.

with the -k (or --insecure) option I get a response at last:

<html>
<head><title>403 Forbidden</title></head>
<body bgcolor="white">
<center><h1>403 Forbidden</h1></center>
<hr><center>nginx/1.6.2</center>
</body>
</html>

I'm on the latest Raspbian Jessie lite, everything updated to the latest version. I also generated a new SSL cert, to no avail. Not sure if this is related, but a day earlier Jessie updated some or all of its php packages.

The following packages will be upgraded:
libldap-2.4-2 php-pear php5 php5-cgi php5-cli php5-common php5-curl php5-dev
php5-fpm php5-gd php5-mysql php5-readline php5-sqlite

"Set server URL" not working for me

hi,
the URL is not updating for me. Shouldn't you also update the redirect after Line 148 like you did in line 100? Or am I wrong here and just forgot to reboot?

I was also wondering, why you change the Servername back to default in 306 every time the script starts? Again, if I was wrong in part 1 would you be so kind to tell me what it does (googling for "__servername" is not working too well).

Ps. I hope I am not filing too many issues. I'm done now

have a good evening
Greetings Lennart

Nginx installation issue

Hi,

I've been trying to install Owncloudpie via Nginx for the last few hours but it seems to fail indefinitely on this:

[FAIL] Restarting PHP5 FastCGI Process Manager: php5-fpm failed!

I don't know if this is related to nginx 1.6.1 or not (I see that nginx 1.9.0 has been released recently, don't know if your script is including this.)

On a sidenote: Apache seems to install fine, but load times are fairly slow it seems

Hope you can help

Add Hiawatha support

Please add Hiawatha as a server choice to your script as it is even more lightweight regarding the limited performance of a Raspberry Pi.
See
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=30&t=41914
and
http://doc.owncloud.org/server/5.0/admin_manual/installation/installation_others.html

It would be nice to get the configs of all supported servers tweaked for the highest performance.
Also note that there is a new version of ownCloud and Raspbian.

Looking forward to seeing this great project continued!

Great but a liitle buck

HUI,
first I wanna say, that the skript is a great Job for beginners and for lazy people as me ;-)
But I installed yesterday oc 8.0.2 in RasPI 2 and teh skript dont copy the file ".htaccess" from the download folder to the www/owncloud folder.
I get the error " .htaccess" ist not at tzhe right place....
I copied the file manually from the download folder and all ist good.

Automatic installation of git and dialog if missing

Currently there’s a check for the git and dialog packages. If they are not present, the setup exits:

type -P git &>/dev/null && echo "Found git command." || { echo "Did not find git. Try 'sudo apt-get install -y git' first."; doexit=1; }
type -P dialog &>/dev/null && echo "Found dialog command." || { echo "Did not find dialog. Try 'sudo apt-get install -y dialog' first."; doexit=1; }

Instead, we could just let the script do the commands and install the packages, right?

doesn't work with Raspberry Pi 2

I've reinstalled 2015-02-16-raspbian-wheezy.img a couple of times, first setting the locales and then installing Owncloud either with Apache2 or nginx.

I also updated all packages first.

Each time I got http://ip/owncloud not found.

owncloud .htaccess not recognised with nginx webserver

hi,
owncloud says under settings/admin, that it's .htaccess is not recognized and mentions security risks.
changing the root directory in line 109 from "root /var/www;" to "root /var/www/owncloud;" fixes the problem for me.
I decided not to do a pull request for that one, because it is not so elegant, since if people might decide to run other things on that webserver.
But since you seem to be more into server configurations I am sure you will find a better way to fix this.
maybe a .htaccess or a index.php in "/var/www"?

Ps. I really like your script and have already recommended it to a couple people, who are going to get a Raspberry Pi soon. Keep up the good work

Greetings Lennart

Menu item for updating the script itself

Updating the script from the menu further enhances the usability of the script.

The update function essentially calls "git pull" from within the script's folder and restarts the script.

Owncloud 5.0 and nginx configuration

I realized that the script seems to configure NGiNX such that Owncloud 5.0 does not run properly.

It would be great if someone could post a working nginx configuration file (/etc/nginx/sites-available/default) here.

How to change URL

how to change URL after first installation?
I run owncloudpie_setup.sh again, and(1)set new URL, but after[OK], it didn't save

OwnCloud 6.0.0a/Nginx requires Webdav

Hi, when following the steps on a stock RasPi, I get the following error:

Your web server is not yet properly setup to allow files synchronization because the WebDAV interface seems to be broken.

Please double check the installation guides.

This is the message I find in my owncloud error logfile:

{"app":"core","message":"isWebDAVWorking: NO - Reason: [CURL] Error while making request: SSL: unable to obtain common name from peer certificate (error code: 51) (Sabre_DAV_Exception)","level":2,"time":"2013-12-29T21:27:43+00:00"}

Possibly this page could be relevant?
http://nginx.org/en/docs/http/ngx_http_dav_module.html

Trying it with Apache now...

owncloud 5.0.0 + nginx --> This content failed to load.

I installed owncloud with this script. Storage directory is a external HDD whith the right path: /path/to/hdd/owncloud/data

After login (admin) I got always the error message: This content failed to load. I don*t have any other users yet. I just wanted to play around with the cloud.
image

After that owncloud looks like:
image

Currently I did the last update via script with no success.
Any ideas?

A few suggestions

Hi,

I've been using your script a few times now (really loving it, thanks!), and I've been doing a few details differently though:

  1. I did a sudo apt-get upgrade after de apt-get update.
  2. I actually installed MySQL prior to running your script - maybe it's just a personal preference.
  3. I increased the max upload size to 4000 MB.
  4. Adding an external partition (making a dir, adding line to fstab) and having the option to format it to ext4 (or another system of your choice)

As I said, I'm really enjoying your script, and I'm working on a Dutch blog article/howto in making an OwnCloudPie (I'm calling it SkyPi) in which I'm obviously crediting your for the great work you've done! Hope to have it out tomorrow... (link follows)

broken with Stretch?

the script just fails on Raspbian Stretch without giving an error message. Using 2018-04-18-raspbian-stretch-lite

Can you update it? (would be nice to be able to run the latest Raspbian. I think we need Stretch anyway as OwnCloud will require a newer version of PHP, which I think only runs on Stretch?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.