Nextcloud Upgrade Issue via Web

My Nextcloud update via web was constantly failing. So looked for alternate CLI methods.

Method#1 Using occ cli

sudo -u www-data php ./occ upgrade
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Updating database schema
Updated database
Updating <files_pdfviewer> ...
Updated <files_pdfviewer> to 1.1.1
Updating <gallery> ...
Updated <gallery> to 17.0.0
Updating <activity> ...
Updated <activity> to 2.5.2
Updating <comments> ...
Updated <comments> to 1.2.0
Updating <theming> ...
Updated <theming> to 1.3.0
Starting code integrity check...
Finished code integrity check
Update successful
Maintenance mode is kept active
Reset log level

Method#1 Using updater.phar

Read more

Share

Adding NextCloud as a Windows Drive using Rclone

Pretty Straightforward-

rclone config
choose "n" for "New remote"
choose name for Nextcloud --> rshare (or any name you want to keep as rclone config name)
choose "Type of Storage" --> Webdav
provide Nextcloud URL for webdav access --> https://<nextclouddomain>/remote.php/dav/uploads/<user>/
choose Vendor --> Nextcloud
specify "user" --> (see `<user>` in "Configuring rclone" above).
password --> y (Yes type in my own password)
specify "password" --> (see `<password>` in "Configuring rclone" above).
bearer token --> ""
Edit advanced config? --> n (No)
Remote config --> y (Yes this is OK)
Current remotes --> q (Quit config)

Check the connectivty by apply the command in the command prompt-

Read more

Share

Install Collabora Online on Ubuntu 20 for Nextcloud

First, log in to your Ubuntu 20.04 server through SSH as the root user or any other user with sudo privileges:

ssh root@IP_Address -p Port_number

You will need to replace ‘IP_Address‘ and ‘Port_number‘ with your server’s respective IP address and SSH port number. Additionally, replace ‘root’ with the username of the system user with sudo privileges.

You can check whether you have the proper Debian version installed on your server with the following command:

$ lsb_release -a

You should get this output:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal

Before starting, you have to make sure that all Ubuntu OS packages installed on the server are up to date. You can do this by running the following commands:

Read more

Share

Troubled with broken Unicode Bengali fonts on onlyoffice document server

I was observing an issue on using bengali unicode font on my nextcloud integrated onlyoffice server. After spening a lot hours over google- I found the following pieces of information-

I was using onlyoffice server version 6.2 and on which the bengali font gets obfuscated and broken.

After reading the post entry on this site- https://github.com/ONLYOFFICE/DesktopEditors/issues/131 was now sure why it was troubling me. Someone said- “Version 7.2 support Bengali script. And a lot of new functionality with text shaping.” Gotcha!

Next, wanted to upgrade my current 6.2 to 7.3 (at the time I am writing). Followed this procedure with no luck- https://helpcenter.onlyoffice.com/installation/docs-community-update-linux.aspx

Read more

Share

Mapping drives with Windows for Nextcloud

To map a drive using the Microsoft Windows Explorer:

  • Open Windows Explorer on your MS Windows computer.
  • Right-click on Computer entry and select Map network drive… from the drop-down menu.
  • Choose a local network drive to which you want to map Nextcloud.
  • Specify the address to your Nextcloud instance, followed by /remote.php/dav/files/USERNAME/. For example:
  • https://example.com/nextcloud/remote.php/dav/files/USERNAME/
  • Click the Finish button.

Windows Explorer maps the network drive, making your Nextcloud instance available

Note

For SSL protected servers, check Reconnect at sign-in to ensure that the mapping is persistent upon subsequent reboots. If you want to connect to the Nextcloud server as a different user, check Connect using different credentials.

Share

Install Netxtcloud on Debian 10

Install Apache, MariaDB and PHP

NextCloud runs on the webserver, written in PHP and uses MariaDB to store their data. So you will need to install Apache, MariaDB, PHP and other required packages on your system. You can install all of them by running the following command:

apt-get install apache2 libapache2-mod-php mariadb-server php-xml php-cli php-cgi php-mysql php-mbstring php-gd php-curl php-zip wget unzip -y

Once all the packages are installed, open the php.ini file and tweak some recommended settings:

nano /etc/php/7.3/apache2/php.ini

Change the following settings:

memory_limit = 512M
upload_max_filesize = 1024M
post_max_size = 1024M
max_execution_time = 300
date.timezone = Asia/Dhaka

Save and close the file when you are finished. Then, start the Apache and MariaDB service and enable them to start after system reboot with the following command:

Read more

Share

Mapping drives with Windows Explorer in Nextcloud

To map a drive using the Microsoft Windows Explorer:

  1. Open Windows Explorer on your MS Windows computer.
  2. Right-click on Computer entry and select Map network drive… from the drop-down menu.
  3. Choose a local network drive to which you want to map Nextcloud.
  4. Specify the address to your Nextcloud instance, followed by /remote.php/dav/files/USERNAME/.
    or example:
https://example.com/nextcloud/remote.php/dav/files/USERNAME/

Src: https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html

Share

Install Nextcloud on Debian 10

Install Apache, MariaDB and PHP

NextCloud runs on the webserver, written in PHP and uses MariaDB to store their data. So you will need to install Apache, MariaDB, PHP and other required packages on your system. You can install all of them by running the following command:

apt-get install apache2 libapache2-mod-php mariadb-server php-xml php-cli php-cgi php-mysql php-mbstring php-gd php-curl php-zip wget unzip -y

Once all the packages are installed, open the php.ini file and tweak some recommended settings:

nano /etc/php/7.3/apache2/php.ini

Change the following settings:

memory_limit = 512M
upload_max_filesize = 500M
post_max_size = 500M
max_execution_time = 300
date.timezone = Asia/Kolkata

Save and close the file when you are finished. Then, start the Apache and MariaDB service and enable them to start after system reboot with the following command:

Read more

Share