CyberKeeda In Social Media
Showing posts with label Owncloud. Show all posts
Showing posts with label Owncloud. Show all posts

Owncloud : Unable to change Max Upload size




Increase File Upload Size from default admin pannel.

Go to File handling --  Change Upload size.


Chnage it's value from 2 to something as per your requirement.

Now save -- Login as a normal user after 5 Min and then check back again.
If all seems good then.. this tutorial is just got an ending for you.


If not, just dig into some files.

I have tried to change it from 2 to 8 MB , but even after saving it didn't went well.

Locate your  owncloud root folder, wherever you have kept it, i have my owncloud folder under /var/www/html/owncloud and open the file .htaccess

cybeerkeeda@Linux-Maniac:~ vim /var/www/html/owncloud/.htaccess
cybeerkeeda@Linux-Maniac:~ vim .htaccess
You must find the updated value within the two lines, if not change it do the desired value but remember both must be of same value ( like i have taken limit as 8 MB )

 php_value upload_max_filesize 8M
 php_value post_max_size 8M


Save and restart webserver 


cybecybeerkeeda@Linux-Maniac:~ service httpd restart
cyberkeeda@Linux-Maniac:~ systemctl restart httpd
Now, check again it should work.

Till now, if it's not working for you locate the default php.ini file , find and update the same value over there too.


cybeerkeeda@Linux-Maniac:~ locate php.ini
cybeerkeeda@Linux-Maniac:~ vim php.ini

upload_max_filesize = 8M

post_max_size = 8M


Restart your web server again and check, it must be working.

Now you can upload file size more then default value.
Read more ...

How to enable Microsoft Word support on OwnCloud



This tutorial will guide to enable Microsoft / LibreOffice/OpenOffice Word document Online view on browser.


Install Libreoffice package on Owncloud server
cybeerkeeda@Linux-Maniac:~ yum install libreoffice*
cybeerkeeda@Linux-Maniac:~ yum install libreoffice-headless
cybeerkeeda@Linux-Maniac:~ yum install libreoffice-impress

These are the mandatory packages that are supposed to be installed within your Owncloud Server

Now Enable Documents from the App window



Check within your config.php file ( owncloud/config/config.php ), if the below mentioned line has been added or not
if not then add it manually
'preview_libreoffice_path' => '/usr/bin/libreoffice',

Now Again Click on Admin -- Documents -- Local - Apply and Test

Now confirm it from the below similar looking pic

You must be able to View the Document within your browser.

Read more ...
Designed By Jackuna