You are not logged in.
Pages: 1
Hello to the whole community.
I am in need of your help, I have a VPS with GNU / LINUX DEVUAN, I need to install the Nexcloud, will you have any idea how to do it? Can you guide me?
Thank you very much!
Best regards,
Brian.
Offline
Wow, VPS services offer Devuan! That sounds nice. You could adapt the instructions from https://www.howtoforge.com/tutorial/how … -debian-9/. You will need to control system services with service instead of systemctl. Tell us how it goes, or where you get stuck.
This space intentionally left blank.
Offline
There are a lot of tutorials and examples on the 'net. I found this one which is relatively new and it may be of assistance. It is for Debian 10, but it followed closely the steps that I took to install it. The only change is the command to restart the apache service, which the article states as
sudo systemctl restart apache2
but should be
service apache2 restart
The web updater has improved a lot over the past few versions. If I may say so, please remember to back up your NC install (files, data, and database) before updating as it may have mishaps. Good luck with it!
Offline
Hello everyone, thanks for your help!
I was trying to install as indicated, but in one step I ran to give "www-data" permissions to Nextcloud but it was given to the whole system, the issue is that I have no idea how to fix that.
At this moment I can't do anything because I don't have permits for that same reason.
Any comments?
Offline
give "www-data" permissions to Nextcloud but it was given to the whole system, the issue is that I have no idea how to fix that.
Just to be clear did you change the permissions for all files in the operating system or just the files of the nextcloud install? If you did, then I would suggest reinstalling the operating system.
What I do is to make the <user> the files owner and then set "www-data" as the group owner. Then I add the <user> to the "www-data" group. Finally, I change the chmod of the files to 0775 so that both the files owner and www-data group have read and write ability of the files. To do this, I only have a single user system with no other user accounts.
I would be interested in somebody else adding their input on a proper way to set the permissions in a multi-user system. I have spent some time searching the web for similar information but what I have found mentioned is somewhat conflicting. Some say to make the user "www-data" the owner of the files, but I am unsure about that.
Offline
The user "www-data" is the Apache user, so only applies if you're deploying Apache as your web-server. As for multi-user systems, every Linux system is by default a multi-user system, but most human users will never know, nor have the need to
As for the user-permissions issue mentioned by the OP, there's a fairly simple solution: use a live-cd from your distro (I assume Devuan in this case). Boot your system into the live-cd modus and start a terminal. Then, assuming your entire system is on one SATA disk in a single partition (sda1):
mkdir /tmp/devuan-rescue
mount /dev/sda1 /mnt/devuan-rescue
cd /tmp/devuan-rescue
chown -R root:root ./*
This creates a temp. directory, then mounts the entire system in that and changes the ownership of all files to root as part of the group root. That should allow you to log back in (as root, obviously) into the system and restore file permissions from there. See also
man chown
This'll list you the various options and correct syntax of the command.
Online
Pages: 1