Dear colleagues I have encountered such problems
- How to set the default language so that the created user has this language
- In my language, in this panel, the test icons are superimposed on each other how to increase the distance between icons
Dear colleagues I have encountered such problems
You mean, that: You as admin use e.g. English, and you want to create a new user, whose default language is already set to e.g. German?
I donât think thatâs possible. But you could try and change the language of the admin (Settings > Personal Information) and then create a new user. After that just change the language back. No idea if this works.
I donât think that this is possible. The only app related to this is âApp Orderâ you can send a request to the developer to consider adding this feature. Or you progam it yourself⌠if you can⌠I canât
For 1.: Maybe something here helps:
https://docs.nextcloud.com/server/20/admin_manual/configuration_server/config_sample_php_parameters.html#user-experience
Dear colleague, I edited this config file , when editing it, the cloud went into error
Iâm not sure but in my file there are no lines with
âdefault_languageâ = > > âenâ,
I entered this line on my own
in my halyard config.php there is this
GNU nano 2.9.3 config.php
<?php $CONFIG = array ( 'apps_paths' => array ( 0 => array ( 'path' => '/snap/nextcloud/current/htdocs/apps', 'url' => '/apps', 'writable' => false, ), 1 => array ( 'path' => '/var/snap/nextcloud/current/nextcloud/extra-apps', 'url' => '/extra-apps', 'writable' => true, ), ), 'supportedDatabases' => array ( 0 => 'mysql', ), 'memcache.locking' => '\\OC\\Memcache\\Redis', 'memcache.local' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => '/tmp/sockets/redis.sock', 'port' => 0, ), 'log_type' => 'file', 'logfile' => '/var/snap/nextcloud/current/logs/nextcloud.log', 'logfilemode' => 416, 'passwordsalt' => 'Y7lOua4CWeK0QIjrsRo0IXrpIIGf6n', 'secret' => 'ctxDsGFODGfRsbADac5kQxvm0s97u5luke1sHjqiCOuaXUH/', 'trusted_domains' => array ( 0 => 'localhost', 1 => '10.3.25.90', ), 'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data', 'dbtype' => 'mysql', 'version' => '20.0.4.0', 'overwrite.cli.url' => 'http://localhost', 'dbname' => 'nextcloud', 'dbhost' => 'localhost:/tmp/sockets/mysql.sock', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'nextcloud', 'dbpassword' => '1eAUIkkGEbqBhlux4psQyB02KT9lik28wH53x8Y50YRWhzcUU5pq184fP5MfKxCg', 'installed' => true, 'instanceid' => 'ocrryzim9jyi', );you could also set this via occ:
sudo -u "$WEBUSER" "$NCPATH/occ" config:system:set default_language --value="en"
(you will need to modify WEBUSER and NCPATH to fit your setup)
How to use the occ command:
https://docs.nextcloud.com/server/20/admin_manual/configuration_server/occ_command.html#run-occ-as-your-http-user
thanks
dear colleagues can I step away from the topic a little and ask you this question
It is possible to make it so that after authorization, not the âcontrol panelâ opens, but the âFilesâ section immediately"
Usually you should open a new topic for that but you are lucky today!
This should do it:
sudo -u "$WEBUSER" "$NCPATH/occ" config:system:set defaultapp --value="files"
(You still need to modify WEBUSER and NCPATH to fit your setup)
thank you very much , in my case the command will look like this
sudo nextcloud.occ config:system:set defaultapp --value=âfilesâ
Dear colleague, there was again the problem of changing the language, only at this moment I have the NEXTCLOUD cloud installed via a zip archive and everything is configured via Apach, where can I find the configuration for setting the language that would be selected when creating a user and set the default language ?
when editing this file, I do not have these parameters
the file is located here
/var/www/html/nextcloud/config/config. php the content looks like
this<? php
$CONFIG = array (
âinstanceidâ = > âocbgjtnj5uz9â,
âpasswordsaltâ = > âHJ4rp3F9ytwNTzHw1x8Ak1A47hv / XFâ,
âsecretâ => âdDgyz / DwsfqBIh5pQpVGfExMnU6m2cN4yYr + t + cNhGa / k6xHâ,
âtrusted_domainsâ = >
array (
0 => ââ,
),
âparameter datadirectory parameterâ = > â/VAR/and WWW in / HTML-code-code/nextcloud/dataâ,
âdbtype and typeâ = > âin MySQL DBMSâ,
âversionâ = > â21.0.0.18â,
âoverwrite.command-line interface.URL-address-addressâ => âhttp://nextcloudâ,
âdb_nameâ = > ânextcloudâ,
âdbhostâ = > âlocalâ,
âdbportâ => ",
âdbtableprefixâ => âoc_â,
âin MySQL database.utf8mb4â = > true,
âDB userâ = > âdlâ,
âpassword_bdâ = > âHofbrâ,
âinstalledâ => correct,
âapp_install_overwriteâ = >
array (
0 = > âbruteforcesettingsâ,
), âldapProviderFactoryâ = > âOCA\User_LDAP\ \ LDAPProviderFactoryâ,
âdefault_phone_regionâ => âRUâ,
);
Just add it as a new line (but before the last line which closes the CONFIG array.)
I added it, but after saving the changes
, the cloud returns an error
that looks like this:
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the webserver log.
This is incorrect. It muss look like this:
'force_language' => 'ru',
Do you see the difference?
yes I see thank you for specifying the correct string