Nextcloud
Nextcloud is an open source, self-hosted file share and communication platform. Access & sync your files, contacts, calendars & communicate and collaborate across your devices.

Live demo: https://try.nextcloud.com/
Perintah Umum
Menjalankan OCC command
Jalankan perintah dibawah ini dalam direktori Nextcloud.
Troubleshooting
Some files have not passed the integrity check
Pesan lengkap problemnya adalah, Some files have not passed the integrity check. Further information on how to resolve this issue can be found in the documentation.
Cara penyelesaiannya,
Buka link
List of invalid files…dan lihat file/folder apa saja yang ditampilkan.Verifikasi keberadaan file tersebut, dan hapus.
MySQL is used as database but does not support 4-byte characters
Pesan lengkap problemnya adalah, MySQL is used as database but does not support 4-byte characters. To be able to handle 4-byte characters (like emojis) without issues in filenames or comments for example it is recommended to enable the 4-byte support in MySQL. For further details read the documentation page about this.
Cara penyelesaiannya,
Login ke
mysql(jgn menggunakanroot).Ketik
show variables like 'innodb_file_format';lalu cek kolom Value apakah =Barracuda. Jika benar, lanjutkan ke langkah nomor5.Apabila Value ternyata justru =
Antelope, edit konfigurasi file/etc/mysql/conf.d/mysql.cnf, tambahkan kode dibawah ini.Login ke
mysqldan cek lagi apakah sudah berubah.Jika sudah, jalankan perintah berikut.
Keluar dari
mysql, jalankan perintah dibawah ini secara berurutan dari dalam path tempat Nextcloud.
The “X-Content-Type-Options” HTTP header is not set to “nosniff”
Pesan lengkap problemnya adalah, The "X-Content-Type-Options" HTTP header is not set to "nosniff". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly.
Cara penyelesaiannya,
Dari terminal, jalankan perintah berikut.
Pastikan entri
X-Content-Type-Options: nosniffada disitu.Jika ternyata entri tersebut muncul beberapa kali, periksa file
/etc/httpd/conf/httpd.conf. Kemungkinan entri ini pernah ada sebagai bagian setting-an dari versi yang lama. Hapus jika ada disitu.
The “X-Robots-Tag” HTTP header is not set to “none”
Pesan lengkap problemnya adalah, The "X-Robots-Tag" HTTP header is not set to "none". This is a potential security or privacy risk, as it is recommended to adjust this setting accordingly.
Cara penyelesaiannya,
Dari terminal, jalankan perintah berikut.
Pastikan entri
X-Robots-Tag: noneada disitu.Jika ternyata entri tersebut muncul beberapa kali, periksa file
/etc/httpd/conf/httpd.conf. Kemungkinan entri ini pernah ada sebagai bagian setting-an dari versi yang lama. Hapus jika ada disitu.
SQLite is currently being used as the backend database
Pesan lengkap problemnya adalah, SQLite is currently being used as the backend database. For larger installations we recommend that you switch to a different database backend. This is particularly recommended when using the desktop client for file synchronisation. To migrate to another database use the command line tool: 'occ db:convert-type', or see the documentation ↗.
Cara penyelesaiannya,
Buat db mysql baru.
Jalankan perintah berikut pada folder Nextcloud diinstal.
Masukkan pass db jika diminta.
Some columns in the database are missing a conversion to big int.
Pesan lengkap problemnya adalah, Some columns in the database are missing a conversion to big int. Due to the fact that changing column types on big tables could take some time they were not changed automatically. By running 'occ db:convert-filecache-bigint' those pending changes could be applied manually. This operation needs to be made while the instance is offline. For further details read the documentation page about this.
Cara penyelesaiannya,
Jalankan perintah berikut pada folder Nextcloud diinstal.
The PHP OPcache is not properly configured.
Pesan lengkap problemnya adalah, The PHP OPcache is not properly configured. For better performance we recommend to use following settings in the php.ini:
Cara penyelesaiannya,
Edit file
/etc/opt/rh/{PHP_VERSION}/php.d/10-opcache.inisesuaikan dengan konfigurasi yang disarankan pada halaman admin Nextcloud.Jangan lupa aktifkan
opcache.enable_cli=1juga.Simpan, dan restart dengan
systemctl restart httpd.
The database is missing some indexes.
Pesan lengkap problemnya adalah, The database is missing some indexes. Due to the fact that adding indexes on big tables could take some time they were not added automatically. By running "occ db:add-missing-indices" those missing indexes could be added manually while the instance keeps running. Once the indexes are added queries to those tables are usually much faster.
Cara penyelesaiannya,
Jalankan perintah berikut pada folder Nextcloud diinstal.
The database is missing some optional columns.
Pesan lengkap problemnya adalah,
The database is missing some optional columns. Due to the fact that adding columns on big tables could take some time they were not added automatically when they can be optional. By running "occ db:add-missing-columns" those missing columns could be added manually while the instance keeps running. Once the columns are added some features might improve responsiveness or usability.
Cara penyelesaiannya,
Jalankan perintah berikut pada folder instalasi Nextcloud.
This instance is missing some recommended PHP modules.
Pesan lengkap problemnya adalah,
This instance is missing some recommended PHP modules. For improved performance and better compatibility it is highly recommended to install them.
Cara penyelesaiannya,
Install modul PHP yang diminta. Contoh,
Cari tahu lokasi file
php.inidalam server dengan perintah,Kemudian tambahkan pada file
php.inibaris dibawah, pada bagian Dynamic Extension.Langkah terakhir, restart
httpddengan perintah berikut.
Last updated
Was this helpful?