-
Login to the Sage notebook – Username: admin, Password: sage
-
Login to the sage account in the virtual machine – Username: sage, Password: sage
-
Login as root (administrator account) to the virtual machine – Username: root, Password: sage
Engineering and technology notes
Removing Short Line Above Headings in Twenty Nineteen
h1:not(.site-title)::before, h2::before{ display:none; }
Source: Removing Short Line Above Headings in Twenty Nineteen | WordPress.org
Hardening and Security Guidance — ownCloud 9.1 Server Administration Manual 9.1 documentation
Enable HTTP Strict Transport Security¶
While redirecting all traffic to HTTPS is good, it may not completely prevent man-in-the-middle attacks. Thus administrators are encouraged to set the HTTP Strict Transport Security header, which instructs browsers to not allow any connection to the ownCloud instance using HTTP, and it attempts to prevent site visitors from bypassing invalid certificate warnings.
This can be achieved by setting the following settings within the Apache VirtualHost file containing the <VirtualHost *:443> entry:
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"
</IfModule>
Source: Hardening and Security Guidance — ownCloud 9.1 Server Administration Manual 9.1 documentation
Opera Forcing HTTPS | Opera forums
opera://net-internals/#hsts
File is locked – how to unlock – FAQ – ownCloud Central
Manually disable locking state:
- put ownCloud in maintenance mode: edit
config/config.phpand change this line:
'maintenance' => true, - Empty table
oc_file_locks: Use tools such as phpmyadmin or connect directly to your database and run:
DELETE FROM oc_file_locks WHERE 1 - disable maintenance mode (undo first step).
Source: File is locked – how to unlock – FAQ – ownCloud Central
File permission issues with shared folders under Virtual Box (Ubuntu Guest, Windows Host) – Unix & Linux Stack Exchange
Mounting VirtualBox shared folders in data directory
Virtualbox shared folder permissions
user management – How do I list the members of a group?
Permissions Problem with Shared Folder in Virtualbox – ownCloud Forums
OwnCloud /media/sf_OwnCloud vboxsf rw,uid=33,gid=33 0 0
Source: [Solved]Permissions Problem with Shared Folder in Virtualbox – ownCloud Forums
Local :: ownCloud Documentation
In the Folder name field enter the folder name that you want to appear on your ownCloud Files page. In the Configuration field enter the full file path of the directory you want to mount. In the Available for field enter the users or groups who have permission to access the mount; by default all users have access.
In addition to these steps, you have to ensure that Local storage is enabled in your ownCloud installation’s config/config.php file. It should have the following configuration:
'files_external_allow_create_new_local' => 'true',
Source: Local :: ownCloud Documentation
ownCloud client errors after migration: 403 forbidden, 404 not found and 503 service unavailable – Server – ownCloud Central
That couldn’t be done in this case. The instance went from a server where the data directory was on the same volume to a new server with an attached volume.
The problem was that the directory paths are hardcoded (or can be) in two tables, oc_storages and oc_accounts. In my case the problem was only in oc_accounts. I ran this MySQL command to update the hardcoded paths:
update oc_accounts set home = replace(home, "/var/www/data", "/data/owncloud-data") where home like "/var/www/data%";
Problem resolved.
Thanks!