Configure Strict Transport Security
Re: Configure Strict Transport Security
Did you manually move your data directory?
Re: Configure Strict Transport Security
no but I write and everything is back in the order by following the links of your sites https://www.novaspirit.com/2018/01/19/r ... h-diet-pi/MichaIng wrote:Did you manually move your data directory?

$ mkdir /datastore
$ chown www-data:www-data /datastore
$ chmod 0770 /datastore
mysql -u root -pdietpi
create database nextcloud;
rm /var/www/nextdcloud/config/config.php
Re: Configure Strict Transport Security
Hmm what you did, should have been done automatically by Nextcloud installation script actually. But okay if it now works for you. Note that you can adjust the data directory prior to automated installation by edit in /DietPi/dietpi.txt. Moving it afterwards is not supported and can cause errors, if not some manual database adjustments are done also.
Re: Configure Strict Transport Security
it's all right
there's just the cache memory to solve.

then I will install samba it won't cause any problems afterwards
there's just the cache memory to solve.

then I will install samba it won't cause any problems afterwards
Re: Configure Strict Transport Security
Samba and Nextcloud should not interact, but do not place Nextcloud data into Samba folder, that will not work due to permission issues.
To apply memory caching and some other enhancements to Nextcloud, run our installation script on top of your existing instence:
dietpi-software reinstall 114
It will not overwrite your current installation (if placed within /var/www/nextcloud) nor database (if named nextcloud), but will apply memory caching via APCu, Redis for transactional file locking and some other enhancements to your configuration.
To apply memory caching and some other enhancements to Nextcloud, run our installation script on top of your existing instence:
dietpi-software reinstall 114
It will not overwrite your current installation (if placed within /var/www/nextcloud) nor database (if named nextcloud), but will apply memory caching via APCu, Redis for transactional file locking and some other enhancements to your configuration.
Re: Configure Strict Transport Security
I reinstall over it like this if or by your software because it already checked and I can't reinstall it?MichaIng wrote:Samba and Nextcloud should not interact, but do not place Nextcloud data into Samba folder, that will not work due to permission issues.
To apply memory caching and some other enhancements to Nextcloud, run our installation script on top of your existing instence:
dietpi-software reinstall 114
It will not overwrite your current installation (if placed within /var/www/nextcloud) nor database (if named nextcloud), but will apply memory caching via APCu, Redis for transactional file locking and some other enhancements to your configuration.
I must have misunderstood


Re: Configure Strict Transport Security
Jep typing the following into your terminal is the right way:
Reinstalling via dietpi-software gui is not possible, that's true. The command above is more a developer tool so far, to allow us applying configuration changes to already installed software.
We did not (yet) allow this within gui for end users, as it might delete existing configs, in case even data, of software installations. But in case of ownCloud/Nextcloud it preserves existing data and manual config changes, just injecting certain enhancements to cloud and PHP.
Code: Select all
dietpi-software reinstall 114
We did not (yet) allow this within gui for end users, as it might delete existing configs, in case even data, of software installations. But in case of ownCloud/Nextcloud it preserves existing data and manual config changes, just injecting certain enhancements to cloud and PHP.
Re: Configure Strict Transport Security
Okay, thank you
I would like to change my external ip by a web address through this site https://www.duckdns.org/index.jsp.
Is it possible and how to modify it while I'm in https? :?:
right now I have my ip https:// 78. ***. **.***/nextcloud
I would like to change my external ip by a web address through this site https://www.duckdns.org/index.jsp.
Is it possible and how to modify it while I'm in https? :?:
right now I have my ip https:// 78. ***. **.***/nextcloud
Re: Configure Strict Transport Security
So you have a dynamic (~daily chaning) IP address right now? Yes a dyndns + domain provider makes sense then. https://www.noip.com/ is an alternative for this, implemented in DietPi. You need to change some config line in webserver and Nextcloud afterwards, but you can already set it up and try general access via the new external IP/domain.
I will reply later with details, am at work right now
.
I will reply later with details, am at work right now

Re: Configure Strict Transport Security
my ip address is fixed by my provider it is not dynamicMichaIng wrote:So you have a dynamic (~daily chaning) IP address right now? Yes a dyndns + domain provider makes sense then. https://www.noip.com/ is an alternative for this, implemented in DietPi. You need to change some config line in webserver and Nextcloud afterwards, but you can already set it up and try general access via the new external IP/domain.
I will reply later with details, am at work right now.
I started by creating a domaine
