What Are You Doing Right Now
-
@JaredBusch said in What Are You Doing Right Now:
@dafyre said in What Are You Doing Right Now:
@JaredBusch said in What Are You Doing Right Now:
Guess I cannot update..
SELinux strikes again?
nope.
but if you look at the list. I assume the problem was some of the original owncloud style hardening I did.
Some of the steps of my install process was to set varius ownership and folder/file permissions.
[root@bna-nc ~]# ls -lZ /var/www/html/nextcloud/ drwxr-x---. root apache unconfined_u:object_r:httpd_sys_content_t:s0 3rdparty drwxr-x---. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 apps -rw-r-----. root apache unconfined_u:object_r:httpd_sys_content_t:s0 AUTHORS drwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 config -rw-r-----. root apache unconfined_u:object_r:httpd_sys_content_t:s0 console.php drwxr-x---. root apache unconfined_u:object_r:httpd_sys_content_t:s0 core -rw-r-----. root apache unconfined_u:object_r:httpd_sys_content_t:s0 cron.php lrwxrwxrwx. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 data -> /home/nc_data -rw-r-----. root apache unconfined_u:object_r:httpd_sys_content_t:s0 db_structure.xml -rw-r-----. root apache unconfined_u:object_r:httpd_sys_content_t:s0 index.html -rw-r-----. root apache unconfined_u:object_r:httpd_sys_content_t:s0 index.php drwxr-x---. root apache unconfined_u:object_r:httpd_sys_content_t:s0 l10n drwxr-x---. root apache unconfined_u:object_r:httpd_sys_content_t:s0 lib -rwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_content_t:s0 occ drwxr-x---. root apache unconfined_u:object_r:httpd_sys_content_t:s0 ocs drwxr-x---. root apache unconfined_u:object_r:httpd_sys_content_t:s0 ocs-provider -rw-r-----. root apache unconfined_u:object_r:httpd_sys_content_t:s0 public.php -rw-r-----. root apache unconfined_u:object_r:httpd_sys_content_t:s0 remote.php drwxr-x---. root apache unconfined_u:object_r:httpd_sys_content_t:s0 resources -rw-r-----. root apache unconfined_u:object_r:httpd_sys_content_t:s0 robots.txt drwxr-x---. root apache unconfined_u:object_r:httpd_sys_content_t:s0 settings -rw-r-----. root apache unconfined_u:object_r:httpd_sys_content_t:s0 status.php drwxr-x---. root apache unconfined_u:object_r:httpd_sys_content_t:s0 themes drwxr-xr-x. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0 updater -rw-r-----. root apache unconfined_u:object_r:httpd_sys_content_t:s0 version.php
what is
ls -lZ
?-Z
is not a modifier listed in the man-pages -
@wirestyle22 shows the SELinux context
in mine. CentOS 7
-
@JaredBusch said in What Are You Doing Right Now:
@wirestyle22 shows the SELinux context
in mine. CentOS 7
if you do
rpm -qf $(man -w 2 chown)
what is the output?mine is: man-pages-3.53-5.el7.noarch
-
And found the problem... FFS
Securing your install breaks the updater. Says it right in the guide.
-
-
@JaredBusch said in What Are You Doing Right Now:
What a pain in the ass.
https://docs.nextcloud.com/server/11/admin_manual/maintenance/update.html#set-updating-permissions-label
Can't you just... use the CLI app to begin the update process? That way you don't have to muck around with permissions every time you do an upgrade.
-
@dafyre said in What Are You Doing Right Now:
@JaredBusch said in What Are You Doing Right Now:
What a pain in the ass.
https://docs.nextcloud.com/server/11/admin_manual/maintenance/update.html#set-updating-permissions-label
Can't you just... use the CLI app to begin the update process? That way you don't have to muck around with permissions every time you do an upgrade.
There is no CLI app. Are you inferring to use
occ
manually? That does not get arond the problem of getting the files replaced. that is only the upgrade command for the database. That runs with current permissions. -
@JaredBusch said in What Are You Doing Right Now:
@dafyre said in What Are You Doing Right Now:
@JaredBusch said in What Are You Doing Right Now:
What a pain in the ass.
https://docs.nextcloud.com/server/11/admin_manual/maintenance/update.html#set-updating-permissions-label
Can't you just... use the CLI app to begin the update process? That way you don't have to muck around with permissions every time you do an upgrade.
There is no CLI app. Are you inferring to use
occ
manually? That does not get arond the problem of getting the files replaced. that is only the upgrade command for the database. That runs with current permissions.I thought that was supposed to do everything the web updater did.
Edit, yes, I am referrring to
occ
-
@JaredBusch said in What Are You Doing Right Now:
@wirestyle22 shows the SELinux context
in mine. CentOS 7
You did
ls --help
notman ls
. That's why we have a disparity. -
Trying to get my little dokuwiki test working.
-
@EddieJennings said in What Are You Doing Right Now:
Trying to get my little dokuwiki test working.
I want to make a wiki for all of our documentation here. That will be one of my projects.
-
@dafyre said in What Are You Doing Right Now:
@JaredBusch said in What Are You Doing Right Now:
@dafyre said in What Are You Doing Right Now:
@JaredBusch said in What Are You Doing Right Now:
What a pain in the ass.
https://docs.nextcloud.com/server/11/admin_manual/maintenance/update.html#set-updating-permissions-label
Can't you just... use the CLI app to begin the update process? That way you don't have to muck around with permissions every time you do an upgrade.
There is no CLI app. Are you inferring to use
occ
manually? That does not get arond the problem of getting the files replaced. that is only the upgrade command for the database. That runs with current permissions.I thought that was supposed to do everything the web updater did.
Edit, yes, I am referrring to
occ
No,
occ
does not and never has. The web update does has command line options it seems. but again. the issue is directory permissions for the extract from the compressed archive -
@wirestyle22 said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
Trying to get my little dokuwiki test working.
I want to make a wiki for all of our documentation here. That will be one of my projects.
This is a documentation-becomes-wiki project as well as first-time-ever-dealing-with-apache-jump-in-and-try-to-swim project
-
@wirestyle22 said in What Are You Doing Right Now:
@JaredBusch said in What Are You Doing Right Now:
@wirestyle22 shows the SELinux context
in mine. CentOS 7
You did
ls --help
notman ls
. That's why we have a disparity.nope. don't try and tell me what I fucking typed. You said man did not show it. so I typed
man ls
to prove it. Don't push your idiocy on me. I have enough of my own indiocy to deal with. -
@JaredBusch said in What Are You Doing Right Now:
@wirestyle22 said in What Are You Doing Right Now:
@JaredBusch said in What Are You Doing Right Now:
@wirestyle22 shows the SELinux context
in mine. CentOS 7
You did
ls --help
notman ls
. That's why we have a disparity.nope.
What version of man-pages are you using? The only thing I can think of is that mine are out of date?
-
Like always, I start from CentOS 7 minimal.
-
@JaredBusch said in What Are You Doing Right Now:
Like always, I start from CentOS 7 minimal.
Telling me you start with CentOS minimal is like saying you start with flour when you make bread. I don't even think man-pages comes installed on the minimal install.
-
@JaredBusch said in What Are You Doing Right Now:
Don't push your idiocy on me
Being unintelligent and having a lack of knowledge are two different things. The only way I could recreate what I was seeing in your ss was using
ls --help
. It's completely reasonable for me to think that. -
@wirestyle22 said in What Are You Doing Right Now:
I don't even think man-pages comes installed on the minimal install.
Then you would be wrong.
-
@wirestyle22 said in What Are You Doing Right Now:
@JaredBusch said in What Are You Doing Right Now:
Like always, I start from CentOS 7 minimal.
Telling me you start with CentOS minimal is like saying you start with flour when you make bread. I don't even think man-pages comes installed on the minimal install.
Of course man pages come with minimal.
Minimal simply strips out additional functionality, not the underlying code from subsets.