Nextcloud,owncloud Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
satfoxy
Posts: 20
Joined: Mon Dec 26, 2016 6:40 am

Nextcloud,owncloud

Post by satfoxy »

Good day.
I have done many tests with all my hardware RPi 1 + Rp3 + and XU4.
All my working target is to have a home cloud server, owncloud ,nextcloud.
I have tested with lightpd and apache2.
At final project will work thi apache2.
I haven't done yet ssl encryption but I will.
There is one question i have.How to i change the default username and password to Nextcloud?
At first login to owncloud it lets you to insert what ever you want,but at nextcloud got to use the default.I dont know how to resolve this issuie.
Till resently i used for the XU4 ubuntu mate 16.04 but the dietpi is far far faster and there is no compare to how easy is to install softwares.
I become big fan of dietpi.
Thank you for your time.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Nextcloud,owncloud

Post by Fourdee »

satfoxy wrote:Good day.
I have done many tests with all my hardware RPi 1 + Rp3 + and XU4.
All my working target is to have a home cloud server, owncloud ,nextcloud.
I have tested with lightpd and apache2.
At final project will work thi apache2.
I haven't done yet ssl encryption but I will.
There is one question i have.How to i change the default username and password to Nextcloud?
At first login to owncloud it lets you to insert what ever you want,but at nextcloud got to use the default.I dont know how to resolve this issuie.
Till resently i used for the XU4 ubuntu mate 16.04 but the dietpi is far far faster and there is no compare to how easy is to install softwares.
I become big fan of dietpi.
Thank you for your time.
This can only be done currently in /boot/dietpi.txt, and, must be set on a fresh install, prior to 1st boot:

Code: Select all

#Global Password to be applied for the system
#  Affects root login password, and, all software installed by dietpi-software, that requires a password
#  eg: MySQL, Transmission, Deluge etc.
#  WARN: Passwords with the any of the following characters are not supported: \"$
#  WARN: Do NOT change this entry, after 1st run setup of DietPi has been completed. It is always scraped by dietpi-software.
AUTO_Global_Password=dietpi
And:

Code: Select all

#Optional username for nextcloud admin account, default is admin. Applied during installation.
dietpi_nextcloud_username=admin
There is a bug in v140 that causes a failed NextCloud install if using global password above. This is fixed for v141, but v141 is not completed yet, so you'll need to either wait, or, use the testing branch: https://github.com/Fourdee/DietPi/blob/ ... _SYSTEM.md
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
satfoxy
Posts: 20
Joined: Mon Dec 26, 2016 6:40 am

Re: Nextcloud,owncloud

Post by satfoxy »

Thank you for your answer.
I am in a try stage with my cloud server,cose I haft to get an ssd for the final setup.Till then i try and test.
For now I will let the things as they are.Its not that big problem the nextcloud default username and pass for now.
The only thing i haven't setup yet is SSL setup for nextcloud.For owncloud works very good.
I was wandering if it is possible in the future to see a dietpi distro for the normal desktop pc or laptops. ;)
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Nextcloud,owncloud

Post by Fourdee »

satfoxy wrote: I was wandering if it is possible in the future to see a dietpi distro for the normal desktop pc or laptops. ;)
Desktops are available for all RPi and Odroid devices from dietpi-software, see list below:
http://dietpi.com/phpbb/viewtopic.php?f=8&t=5#p5

For desktop from boot. Make sure you say "yes" to autostart options, then select "Desktops"

For SSL, if you are using Apache2 or Lighttpd webserver, CertBot is a great tool to generate free SSL certs, and, have it automatically configured on system:
http://dietpi.com/phpbb/viewtopic.php?f ... 1061#p1062
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
satfoxy
Posts: 20
Joined: Mon Dec 26, 2016 6:40 am

Re: Nextcloud,owncloud

Post by satfoxy »

Hi and happy new year.
When i run dietpi-letsencrypt i got

Code: Select all

[Ok] Apache2 webserver detected
/DietPi/dietpi/dietpi-letsencrypt: line 134: ./certbot-auto: No such file or directory
The certbot-auto file is inside the root folder.Where do i must put it?
Thanks.

Finally i did it.The comand i gave and progress went good was " ./certbot-auto "
so now my setup is complet.My home cloud server working with ssl is super fast and stable.
I will redo all from the begining when i will have a ssd disk.
For now i will let it as it is.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Nextcloud,owncloud

Post by Fourdee »

satfoxy wrote:Hi and happy new year.
When i run dietpi-letsencrypt i got

Code: Select all

[Ok] Apache2 webserver detected
/DietPi/dietpi/dietpi-letsencrypt: line 134: ./certbot-auto: No such file or directory
The certbot-auto file is inside the root folder.Where do i must put it?
Ah,

Looks like you didn't install certbot from dietpi-software?

DietPi-LetsEncrypt expects the certbot scripts to be installed in /etc/certbot_scripts. Which is done during install of certbot in dietpi-software: http://dietpi.com/phpbb/viewtopic.php?f ... 1061#p1062
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
satfoxy
Posts: 20
Joined: Mon Dec 26, 2016 6:40 am

Re: Nextcloud,owncloud

Post by satfoxy »

Good day
I have got a SSD disk.
I have reinstall from scratch the new version 141 to my XU4 with all data saved to the usb hard disk.
Instaled nextcloud, and owncloud with SSl encrypt and works perfect.
This time i have close the XU4 into the cloudshell to avoid me reinstall again and to be more carefuly.
I am very satisfaied by the all setup.
It is very usefull project,very fast,and enought easy to make it,thats to DietPi team.
Thanks. :) :)
przemko
Posts: 70
Joined: Sun Mar 15, 2020 5:40 pm

Re: Nextcloud,owncloud

Post by przemko »

This can only be done currently in /boot/dietpi.txt, and, must be set on a fresh install, prior to 1st boot
Hi, so it's impossible to change password for admin in nextcloud? If so maybe I will block admin user and add new user to nextcloud with admin privilages?
Regards Przemek
User avatar
Joulinar
Posts: 2044
Joined: Sat Nov 16, 2019 12:49 am

Re: Nextcloud,owncloud

Post by Joulinar »

which user you are referring to? The user Admin that is used to access NectCloud WebSite?

This user you can change on NextCloud WebSite themselves. Just login as admin user, go to Setting > Security and change the password.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
przemko
Posts: 70
Joined: Sun Mar 15, 2020 5:40 pm

Re: Nextcloud,owncloud

Post by przemko »

Hi, thanks for reply. I restart dietpi and now my new password works. Can You tell me it is possible to disable Admin user on nextcloud or change to different name?
Post Reply