![]() ![]() Once you log in you will see the main screen of the application along with some test files. When finished, you will see the login screen. On this screen, you have to set up the administrator user along with his password.īelow you have the Configure Database section, select MySQL / MariaDB, and write the parameters previously created. Open your favorite web browser and go to and you will see the first screen in Owncloud 4.- Owncloud main screen Now we need to install it from the web interface. sudo a2ensite nfĪnd to apply the changes, restart Apache: sudo systemctl restart apache2 Now save the changes and close the text editor.Įnable the rewrite module and the new Virtualhost. ![]() 3.- Creating a new Virtualhost for OwncloudĬhange the value of ServerName to your own. Sudo chmod -R 755 /var/Now create a new VirtualHost for owncloud: sudo nano /etc/apache2/sites-available/nf ĮrrorLog $/_access.log combined sudo chown -R www-data:www-data /var/www/html/owncloud The generated folder, you have move it to /var/www/html/ sudo mv owncloud /var/www/html/Ĭhanges the owner of the folder to www-data and the permissions. Then, decompress it using the unzip command. HTTP request sent, awaiting response… 200 OK Go to your home folder and download from there: cd /tmp/ You can change the database name, username, and password as you wish. GRANT ALL ON ownclouddb.* to IDENTIFIED BY 'owncloudpss' Įxit 1.- Preparing the database for Owncloud So, open the MariaDB shell: sudo mysql -u root -pĪnd it executes these commands to create the database, the new user, its password, and to assign him/her the corresponding permissions. On the other hand, it is also advisable to create a dedicated Owncloud user to avoid working with the root user. Owncloud as well as many applications require a database manager and therefore a database and it is time to create it. 2.- Creating the new database for Owncloud libapache2-mod-php7.4 openssl php-imagick php7.4-common php7.4-curl php7.4-gd php7.4-imap php7.4-intl php7.4-json php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-pgsql php-ssh2 php7.4-sqlite3 php7.4-xml php7.4-zip unzip Check our post about it.Īlso, you have to install the following packages for everything to work properly. In addition to a database manager such as MySQL / MariaDB or PostgreSQL. Up to now I only did a test install of Owncloud with two test users.As we are going to install Owncloud server this requires a functional web server. Is the Accounts info stored in a different table in OC 9.1? UPDATE oc_accounts SET home=’/mnt/owncloud/data/my_user/files’ĮRROR 1146 (42S02): Table ‘bitnami_owncloud.oc_accounts’ doesn’t exist This example assumes the user name is my_user and their id is 1. If a user does not have the path already set, you have to identify the users id and set the path with the following command, user by user. This column contains the absolute path for user folders, e.g., /mnt/owncloud/data/my_user/files. You next need to update the home column in the oc_accounts table. Then I get hung up here to Update the oc_accounts Table I managed to open the database and make the first steps from this instruction: Or do I have to open files to do those changes? Like the config.php file? I am using the terminal occasionally, but I am no expert. Where did you install ownCloud from: Bitnami Updated from an older ownCloud or fresh install: fresh SET: Command not found Server configuration WHERE id=‘local::/Volumes/Promise_Raid/P_Owncloud_App/apps/owncloud/data/’ SET id=‘local::/Volumes/Promise_Raid/P_Owncloud_Data/data/’ ![]() WHERE id=‘local::/var/www/owncloud/data/’ Sudo -u www-data php occ maintenance:mode -onĮrror Message: sudo: unknown user: www-data ![]() Tell us what should happen Actual behaviour Update the oc_storages Table Expected behaviour I run into problems at the step enable / disable maintenance mode Sudo rsync -avz /var/www/owncloud/data /mnt/owncloud (with my own paths) I can copy the content of the data directory with this: The Apache server is stopped by the Bitnami stack management tool ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |