Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pocketapocketa

    (@pocketapocketa)

    Thanks all,

    Sorry I have not had the internet at home and am busy with work and other projects (and I am admittedly rather chaotic as I have ADHD) so I have not been posting as much as I would like here.

    Thank you all for your pointers. Somesh79, I have done what you said. I still get asked for FTP log in upon trying to install the wordpress import plug-in. Am I right in thinking this means WordPress does not have write privileges?

    I am attempting a full rebuild from a fresh Linode image. It is possible I made an early error which I will not have the skills to unpick.

    Digico Paris. I am using Debian 8.

    Thanks all. Getting home internet in the week and hoping to have some time to look over it again today. I appreciate your help ??

    Rob

    Thread Starter pocketapocketa

    (@pocketapocketa)

    Hi guys,

    Sorry for the late reply. Busy with work & ADHD and bla bla so I didn’t get around to looking into this again until now.

    If your problem is that you can’t access mysql database, then your root don’t have rights to it, try this:

    mysql -u root -p

    This seems to have resolved itself. I had not problems setting up databases and users this time…

    You do know that MySQL users are not the same as system users?

    Yes, I do know this, but the *depth* my knowledge of users and privileges is not what it could be, and I think last time I was trying to avoid creating users with the root account of my virtual server in order to avoid the necessity of those databases having to be run as root (if this makes no sense it is because my working assumptions are flawed)… My understanding of how apache or mysql run as a user on my virtual server is patchy at best, and I am struggling to find more information on-line.

    I have once again deleted wordpress and unpacked it, chown-ed to my user rozruch:www-data (they were owned by “nobody” at “nogroup”, I think) and recursively chmod-ed directories to 755, files to 644. WordPress still can’t write the initial wp-config.php file. I can create it and cut and paste and then go on to run the instalation script, but since I have done this every time and then gone on to discover that there is a wider permissions issue, I would sooner try and solve it here.

    I will keep on trying, but I think this may have me beat.

    Thanks again.

    Thread Starter pocketapocketa

    (@pocketapocketa)

    Thank you both for your replies. I have had a fair debugging session today. I’m particularly busy at work at the moment, and I’m pretty tired, but nothing so far. I have deleted and re-created the mysql database and, though there were no reported errors this time, WordPress (freshly downloaded and unpacked) is still unable to write wp-config.php and still asks for the FTP connection information.

    Good luck on the debug, you can also check very good tutorials by digitalocean like this one:

    https://www.digitalocean.com/community/tutorials/initial-server-setup-with-debian-8

    Judging by my ssl set-up I followed this one or very similar. I think it may have been this one.

    Use something like:

    $ cat /etc/passwd

    To list current users.

    This lists daemons & special users. Those that strike me as relevant are the following

    […]
    root:x:0:0:root:/root:/bin/bash
    […]
    www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
    mysql:x:109:116:MySQL Server,,,:/nonexistent:/bin/false

    In terms of log in users, there is then the account I use when logging in through ssl. This has sudo privileges.

    Thanks again for your help, I remain at a loss but will keep trying.

    Thread Starter pocketapocketa

    (@pocketapocketa)

    Hi DionDesigns,

    Sorry for the poor thread placement!

    Thanks. You’ve given me a few leads. I’ll look into these and see what I can do. I have no idea what many of the terms mean for the moment.

    Thanks,

    Rob

Viewing 4 replies - 1 through 4 (of 4 total)