How to copy files using no owncloud web interface Rumi, July 22, 2019July 22, 2019 Migrating was instant since we’re moving on the local fs. Checking the above screenshot you can see the rights are still the same of course. Own the folders to the ownCloud user and change the permissions to octal 755: # Recursively own the folder to www-data sudo chown -R www-data:www-data $OWNCLOUD_DATA_DIR/<user>/files/<folder> # Set permissions so www-data has rwxr and group has read. sudo chmod 755 $OWNCLOUD_DATA_DIR/<user>/files/<folder> Moving a file/folder into ownCloud’s data directory doesn’t add it to the database automatically. Luckily, the ownCloud developers were kind enough to create a command line tool called occ that can manually add missing files and folders to the ownCloud database. You can run the following snippet on your server to check where this utility is located on the local file system: find / -name "occ" 2>/dev/null All you need to do is cd into that folder (in my case /var/www/owncloud) and run the following snippet: For all account execute the following command: sudo -u www-data php occ files:scan --all For specific owncloud user id execute the following: sudo -u www-data php occ files:scan <username> Where www-data is the user your web server runs on. And now, it is time for the results: YEAH!! So this command has definitely helped. Now you can add all your files directly into your ownCloud data folder without having to sync from the desktop client. Src: https://thibmaek.com/post/manually-migrating-existing-data-to-owncloud https://bartsimons.me/manually-add-files-to-owncloud/ Related Administrations Configurations (Linux) Owncloud
Install Zabbix 5.x Monitoring Server on Ubuntu 20.04 June 24, 2023 Zabbix is a free, open-source, and high-performance monitoring tool for servers, applications, and network devices. It uses agents to collect system metrics. It also monitors standard services such as SMTP or HTTP services and supports host monitoring via SNMP, TCP, and ICMP checks. It is designed for real-time monitoring of… Read More
Nginx Reverse Proxy with Sub Directory Mapping May 30, 2023May 30, 2023 Setup Note: My web application has a sub-directory, 192.168.1.8:8088/messages, that I want to expose to the outside world as messages.mysite.com. I’ve gotten half way there but I seem to be stuck. My requirements are as follows Redirect the site from HTTP to HTTPS. As I cannot edit the links the… Read More
Administrations Install gnome via tasksel on Debain 12 March 3, 2024 Tasksel is already installed on Debian 12, so you don’t need to install it. However, if for some reason tasksel is not installed on your system, you can install it via the command below sudo apt install tasksel To install Gnome via tasksel, you need first to run tasksel sudo… Read More