srk changed the topic of #nixos-cs to: ale ved 'man configuration.nix' je po anglicky /o\ | https://logs.nix.samueldr.com/nixos-cs
fpob has quit [Ping timeout: 245 seconds]
fpob has joined #nixos-cs
<smrtak[m]> nextcloud-occ maintenance:install
<smrtak[m]> What is the password you like to use for the admin account <admin>?
<smrtak[m]> Can't create or write into the data directory /nix/store/blaaaaaaaaaaaaaaaaah-nextcloud-16.0.4/data
<smrtak[m]> nejaky hint jak nainstalovat nextcloud pls?
smrtak[m] has quit [Remote host closed the connection]
smrtak[m] has joined #nixos-cs
<smrtak[m]> nextcloud-occ maintenance:install --admin-user=root --admin-pass=${xyz} --data-dir=/var/lib/nextcloud/data
<smrtak[m]> toto vyzera ze pomohlo
<smrtak[m]> ale rozbijam sa na db :)
<smrtak[m]> Nextcloud[3429]: {core} {"Exception":"Doctrine\DBAL\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[08006] [7] could not connect to server: No such file or directory\n\tIs the server running locally and accepting\n\tconnections on Unix domain socket "/tmp/.s.PGSQL.5432"?"
<b42> akorat teda ten postgres socket je v /run/postgresql a ne v /tmp
<smrtak[m]> mam zmenit dbhost na /run/postgresql ?
<b42> jo
<smrtak[m]> prave bezi nix-collect-garbage -d
<smrtak[m]> lebo som mazal /var/lib/nextcloud a tym zrusil no no file config.php, ktory spominaju v 15.2. bullete Pitfalls :D
<smrtak[m]> takze som si prirobil robotu ehm