ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unable add plugins and themes to Wordpress

    Scheduled Pinned Locked Moved IT Discussion
    wordpressplugins
    24 Posts 4 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • black3dynamiteB
      black3dynamite
      last edited by

      Either apache doesn't have write permissions or SELinux needs to be configured.

      JaredBuschJ 1 Reply Last reply Reply Quote 2
      • JaredBuschJ
        JaredBusch @black3dynamite
        last edited by

        @black3dynamite said in Unable add plugins and themes to Wordpress:

        Either apache doesn't have write permissions or SELinux needs to be configured.

        SELinux.

        1 Reply Last reply Reply Quote 0
        • EddieJenningsE
          EddieJennings
          last edited by

          Thanks guys. l’ll see if SELinux is complaining later today.

          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @EddieJennings
            last edited by

            @EddieJennings said in Unable add plugins and themes to Wordpress:

            Thanks guys. l’ll see if SELinux is complaining later today.

            Likely https_can_connect or wtf ever that is.

            1 Reply Last reply Reply Quote 0
            • ObsolesceO
              Obsolesce
              last edited by Obsolesce

              Try this to see if it resolves the issue:
              semanage permissive -a httpd_t

              If that works, then you can do it properly with fcontext

              JaredBuschJ EddieJenningsE 2 Replies Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @Obsolesce
                last edited by

                @Obsolesce said in Unable add plugins and themes to Wordpress:

                Try this to see if it resolves the issue:
                semanage permissive -a httpd_t

                If that works, then you can do it properly with fcontext

                Why put all of httpd into permissive?

                ObsolesceO 1 Reply Last reply Reply Quote 0
                • ObsolesceO
                  Obsolesce @JaredBusch
                  last edited by

                  @JaredBusch said in Unable add plugins and themes to Wordpress:

                  @Obsolesce said in Unable add plugins and themes to Wordpress:

                  Try this to see if it resolves the issue:
                  semanage permissive -a httpd_t

                  If that works, then you can do it properly with fcontext

                  Why put all of httpd into permissive?

                  Quick test to verify issue

                  1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch
                    last edited by

                    @JaredBusch said in Unable add plugins and themes to Wordpress:

                    semanage permissive -a httpd_t

                    I used wp-cli on my last new server setup with WP. I did not set this boolean, so the setup process must have done it.

                    [jbusch@bnaweb01 ~]$ sudo getsebool -a | grep http | grep ' on'
                    httpd_builtin_scripting --> on
                    httpd_can_network_connect --> on
                    httpd_enable_cgi --> on
                    
                    ObsolesceO 1 Reply Last reply Reply Quote 1
                    • ObsolesceO
                      Obsolesce @JaredBusch
                      last edited by

                      @JaredBusch said in Unable add plugins and themes to Wordpress:

                      @JaredBusch said in Unable add plugins and themes to Wordpress:

                      semanage permissive -a httpd_t

                      I used wp-cli on my last new server setup with WP. I did not set this boolean, so the setup process must have done it.

                      [jbusch@bnaweb01 ~]$ sudo getsebool -a | grep http | grep ' on'
                      httpd_builtin_scripting --> on
                      httpd_can_network_connect --> on
                      httpd_enable_cgi --> on
                      

                      It's been awhile since I set mine up per my blog instructions. I don't remember having to do that. Maybe I did, but I didn't incluse that in my instructions so I don't think I did.

                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @Obsolesce
                        last edited by

                        @Obsolesce said in Unable add plugins and themes to Wordpress:

                        @JaredBusch said in Unable add plugins and themes to Wordpress:

                        @JaredBusch said in Unable add plugins and themes to Wordpress:

                        semanage permissive -a httpd_t

                        I used wp-cli on my last new server setup with WP. I did not set this boolean, so the setup process must have done it.

                        [jbusch@bnaweb01 ~]$ sudo getsebool -a | grep http | grep ' on'
                        httpd_builtin_scripting --> on
                        httpd_can_network_connect --> on
                        httpd_enable_cgi --> on
                        

                        It's been awhile since I set mine up per my blog instructions. I don't remember having to do that. Maybe I did, but I didn't incluse that in my instructions so I don't think I did.

                        Last I knew, it is not enable by default. So I assumed that wp-cli did it.

                        1 Reply Last reply Reply Quote 0
                        • EddieJenningsE
                          EddieJennings @Obsolesce
                          last edited by

                          @Obsolesce said in Unable add plugins and themes to Wordpress:

                          Try this to see if it resolves the issue:
                          semanage permissive -a httpd_t

                          If that works, then you can do it properly with fcontext

                          SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch @EddieJennings
                            last edited by

                            @EddieJennings said in Unable add plugins and themes to Wordpress:

                            @Obsolesce said in Unable add plugins and themes to Wordpress:

                            Try this to see if it resolves the issue:
                            semanage permissive -a httpd_t

                            If that works, then you can do it properly with fcontext

                            SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

                            Did oyu check the boolean's as noted?

                            EddieJenningsE 1 Reply Last reply Reply Quote 0
                            • EddieJenningsE
                              EddieJennings @JaredBusch
                              last edited by

                              @JaredBusch said in Unable add plugins and themes to Wordpress:

                              @EddieJennings said in Unable add plugins and themes to Wordpress:

                              @Obsolesce said in Unable add plugins and themes to Wordpress:

                              Try this to see if it resolves the issue:
                              semanage permissive -a httpd_t

                              If that works, then you can do it properly with fcontext

                              SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

                              Did oyu check the boolean's as noted?

                              After trying out permissive, yes.
                              httpd_can_network_connect is off, though I thought I had taken care of that during my setup process. I know there is a setseboolcommand, but I want to see how to do it using fcontext as @Obsolesce suggested.

                              JaredBuschJ 1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @EddieJennings
                                last edited by

                                @EddieJennings said in Unable add plugins and themes to Wordpress:

                                @JaredBusch said in Unable add plugins and themes to Wordpress:

                                @EddieJennings said in Unable add plugins and themes to Wordpress:

                                @Obsolesce said in Unable add plugins and themes to Wordpress:

                                Try this to see if it resolves the issue:
                                semanage permissive -a httpd_t

                                If that works, then you can do it properly with fcontext

                                SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

                                Did oyu check the boolean's as noted?

                                After trying out permissive, yes.
                                httpd_can_network_connect is off, though I thought I had taken care of that during my setup process. I know there is a setseboolcommand, but I want to see how to do it using fcontext as @Obsolesce suggested.

                                silly.

                                EddieJenningsE 1 Reply Last reply Reply Quote 0
                                • EddieJenningsE
                                  EddieJennings @JaredBusch
                                  last edited by

                                  @JaredBusch said in Unable add plugins and themes to Wordpress:

                                  @EddieJennings said in Unable add plugins and themes to Wordpress:

                                  @JaredBusch said in Unable add plugins and themes to Wordpress:

                                  @EddieJennings said in Unable add plugins and themes to Wordpress:

                                  @Obsolesce said in Unable add plugins and themes to Wordpress:

                                  Try this to see if it resolves the issue:
                                  semanage permissive -a httpd_t

                                  If that works, then you can do it properly with fcontext

                                  SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

                                  Did oyu check the boolean's as noted?

                                  After trying out permissive, yes.
                                  httpd_can_network_connect is off, though I thought I had taken care of that during my setup process. I know there is a setseboolcommand, but I want to see how to do it using fcontext as @Obsolesce suggested.

                                  silly.

                                  That I'm a n00b at SELinux and am probably spouting nonsense or that I'm following @Obsolesce 's advice? 😛

                                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch @EddieJennings
                                    last edited by

                                    @EddieJennings said in Unable add plugins and themes to Wordpress:

                                    @JaredBusch said in Unable add plugins and themes to Wordpress:

                                    @EddieJennings said in Unable add plugins and themes to Wordpress:

                                    @JaredBusch said in Unable add plugins and themes to Wordpress:

                                    @EddieJennings said in Unable add plugins and themes to Wordpress:

                                    @Obsolesce said in Unable add plugins and themes to Wordpress:

                                    Try this to see if it resolves the issue:
                                    semanage permissive -a httpd_t

                                    If that works, then you can do it properly with fcontext

                                    SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

                                    Did oyu check the boolean's as noted?

                                    After trying out permissive, yes.
                                    httpd_can_network_connect is off, though I thought I had taken care of that during my setup process. I know there is a setseboolcommand, but I want to see how to do it using fcontext as @Obsolesce suggested.

                                    silly.

                                    That I'm a n00b at SELinux and am probably spouting nonsense or that I'm following @Obsolesce 's advice? 😛

                                    That you don't even understand the advice you are following.

                                    What @Obsolesce told you to do was to set ALL things marked as httpd_t to permissive. Effectively no different than setenforce 0 but jsut to the things with the tag httpd_t.

                                    Change the boolean. Turn enforcing back on.

                                    EddieJenningsE 1 Reply Last reply Reply Quote 0
                                    • JaredBuschJ
                                      JaredBusch
                                      last edited by

                                      @Obsolesce said in Unable add plugins and themes to Wordpress:

                                      httpd_can_network_connect

                                      First go look up WTF that boolean does if you want to learn something.

                                      The name is plenty descriptive for most.

                                      EddieJenningsE 1 Reply Last reply Reply Quote 0
                                      • EddieJenningsE
                                        EddieJennings @JaredBusch
                                        last edited by

                                        @JaredBusch said in Unable add plugins and themes to Wordpress:

                                        @EddieJennings said in Unable add plugins and themes to Wordpress:

                                        @JaredBusch said in Unable add plugins and themes to Wordpress:

                                        @EddieJennings said in Unable add plugins and themes to Wordpress:

                                        @JaredBusch said in Unable add plugins and themes to Wordpress:

                                        @EddieJennings said in Unable add plugins and themes to Wordpress:

                                        @Obsolesce said in Unable add plugins and themes to Wordpress:

                                        Try this to see if it resolves the issue:
                                        semanage permissive -a httpd_t

                                        If that works, then you can do it properly with fcontext

                                        SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

                                        Did oyu check the boolean's as noted?

                                        After trying out permissive, yes.
                                        httpd_can_network_connect is off, though I thought I had taken care of that during my setup process. I know there is a setseboolcommand, but I want to see how to do it using fcontext as @Obsolesce suggested.

                                        silly.

                                        That I'm a n00b at SELinux and am probably spouting nonsense or that I'm following @Obsolesce 's advice? 😛

                                        That you don't even understand the advice you are following.

                                        What @Obsolesce told you to do was to set ALL things marked as httpd_t to permissive. Effectively no different than setenforce 0 but jsut to the things with the tag httpd_t.

                                        Change the boolean. Turn enforcing back on.

                                        I didn't type my thought clearly. The end goal is to find the right way to change httpd_can_network_connect to true, and make sure the value is persistent.

                                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch @EddieJennings
                                          last edited by

                                          @EddieJennings said in Unable add plugins and themes to Wordpress:

                                          @JaredBusch said in Unable add plugins and themes to Wordpress:

                                          @EddieJennings said in Unable add plugins and themes to Wordpress:

                                          @JaredBusch said in Unable add plugins and themes to Wordpress:

                                          @EddieJennings said in Unable add plugins and themes to Wordpress:

                                          @JaredBusch said in Unable add plugins and themes to Wordpress:

                                          @EddieJennings said in Unable add plugins and themes to Wordpress:

                                          @Obsolesce said in Unable add plugins and themes to Wordpress:

                                          Try this to see if it resolves the issue:
                                          semanage permissive -a httpd_t

                                          If that works, then you can do it properly with fcontext

                                          SELinux was the problem. Next is narrowing down what config to fix, so everything isn't permissive.

                                          Did oyu check the boolean's as noted?

                                          After trying out permissive, yes.
                                          httpd_can_network_connect is off, though I thought I had taken care of that during my setup process. I know there is a setseboolcommand, but I want to see how to do it using fcontext as @Obsolesce suggested.

                                          silly.

                                          That I'm a n00b at SELinux and am probably spouting nonsense or that I'm following @Obsolesce 's advice? 😛

                                          That you don't even understand the advice you are following.

                                          What @Obsolesce told you to do was to set ALL things marked as httpd_t to permissive. Effectively no different than setenforce 0 but jsut to the things with the tag httpd_t.

                                          Change the boolean. Turn enforcing back on.

                                          I didn't type my thought clearly. The end goal is to find the right way to change httpd_can_network_connect to true, and make sure the value is persistent.

                                          That does not mesh with WTF you just stated. The two are not the same thing.

                                          You want to set a Boolean. Then you fucking use the tool designed to change booleans.

                                          1 Reply Last reply Reply Quote 0
                                          • EddieJenningsE
                                            EddieJennings @JaredBusch
                                            last edited by

                                            @JaredBusch said in Unable add plugins and themes to Wordpress:

                                            @Obsolesce said in Unable add plugins and themes to Wordpress:

                                            httpd_can_network_connect

                                            First go look up WTF that boolean does if you want to learn something.

                                            The name is plenty descriptive for most.

                                            Just did, and it makes sense.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post