Kru-x

Community Developer
  • Posts

    242
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Kru-x

  1. What's the problem? Check this post screenshots: but leave the network to bridged. And remove the --link property. Kru-x
  2. Sorry I answered a little bit too quick and now when I have read your post properly: I have seen several time that when people uses custom networks it fails, I would set it to bridged and remove the custom IP, next remove the link option and try. Ones you got it working then try with custom networks, but I think that is the problem. Kru-x
  3. If you are talkiing about the WP template, just leave all settings referring to the DB blank, then you will be presented with WordPress installation where you can choose DB name and location. Delete the folders in between. Kru-x
  4. Hi dancue, You need to read up a bit on how Docker works, then you will understand the setup better. You should not edit the files in the container as those files are changed every time you update or restart, the /var/www/html path is inside the container and has nothing to do with Forklift that is a ftp/ssh client that you can connect too Unraid with. You can use the Console (click on the WordPress icon) in Unraid to connect into the container, but much of the time you shouldn't need to, and changes there would definitely change during restart or update. You say "copying the wp-config file" but i guess you mean overwrite. It is odd and maybe ask in the general docker container forum (https://forums.unraid.net/forum/47-docker-containers/) why a file is being is overwritten it shouldn't be, I don't know and cant understand why it is. Sorry I can't give you an answer, Kru-x
  5. Wordpress is not connecting to the database, probably wrong settings for the DB. Look at the screen shot in this post. its more or less leave all settings blank, Wordpress wants to connect to the DB with root access to have full access, if you add a name and password you have to manually go in to the DB and adjust those. Kru-x
  6. You worked it out, it needs to be http in NPM as it is pointing to the internal adress that is just that, not the external one. Glad you figured it out. Kru-x
  7. Take a deep breath, its a computer and you need to start think like one. 🙂 It do exactly what it should do, when it is on the domain, why would you need to reach it from you ip. First time when you installed it on your ip and a browser request a page, WP (the server returns) hey browser you can find the css at 192.blblabla/css, it cant because obviously its not there, you said some devices could and was probably due to that you where connected to your local network with it. A browser on a laptop have better security so it will complain it it see something weird as in this case. The same goes for the opposite. It works as you said from your domain, then you are good! Kru-x
  8. That’s probably your issues, its the redirects I’ve been talking about. WP stores most in the db, so if you installed it on your ip, it is trying to redirect to 198.168.1.1/yourpage. Easiest is to sort out you domain first and the start the installation from there. Read previous post in this thread, it explains it well. kru-x
  9. Did you install WP on your domain name, or local IP?
  10. No worries, Re the A record again, I will link to this post in the description. I run in to the problem myself that I have one domain not on my server an if I added the A name it updates all. You are right about the special case, there is so many setups so it is hard to cater all, but as long as someone has point it it out, people will figure it out by them self, (especially if they have the need for this container.) Have a good one, Kru-x
  11. Yea you are right, the description was wrong and I change it in the template. Didn't add the A name as it should not matter, the domain name is the A name in Godaddy and I don't know why you would need to use the A name instead of the GODADDY_DOMAINS as it do the same thing, changes the A name. But I am not a wizz and it might be something I don't know (guess it is a reason there is the option ), it works for me and I have several different Domain names on my server, all added as a comma separated list, so a little bit lost on that one. Glad you figured your setup out and thanks for pointing my mistake out, Kru-x
  12. Glad you solved it, Re redirects, people run in to the problem all the time, especially when they install on the local Ip address and want to switch to a domain or change port/ip. Previous post will tell the story, just think about it before you do too much changes and later on want to switch, easier to install it with the domain name or use a program to migrate the WP + DB. Kru-x
  13. Hi Jowi, What is the link showing when you hover over WebUI in the context menu? It should say ip:port, eg what you have added to the WebUi in the template, your case probably http://192.168.1.100:6262 (if that is your internal IP). I suspect that you have wrong redirects in WP due to how you have installed it. Kru-x
  14. Hi again, Both yes and no 🙂, you could potentially use WordPress multi site future, but that is more for specialised cases. Easiest way is to have one Wp container paired with is MariDB for each site. Kru-x
  15. Hi Jowi, You are right, you have to change port number in WebUi settings if you change the default port. Krux
  16. If you dont have much changes I suggest redo it with a domain name, if you have made a lot of changes you need to try something like this: https://wordpress.org/support/topic/unable-to-log-in-after-ip-address-change/ Have you got access to the DB? Kru-x
  17. So how have you had it setup? Are you only using the container locally? Or are you using a domain name? What is working if the above wont? You said "moved" IP, a change of Ip should not affect the container if you are using it with a domain
  18. Have you tried to update the permalink option in wp settings? Kru-x
  19. First the WP docker container has nothing to do with the proxy, the proxy is only to point to the WP container. To use WP in a container us not really needed but it is an easy way to start one up and toss it when you are done. All is preconfigured in the container and done by people that knows what they are doing, I'm not one of them 🙂 Kru-x
  20. Good that you figure it out, but for others that wonders: The docker periodically updates your A record at godaddy (DDNS for godaddy domains). You can create a a comma-separated list of the 'A' record names you'd like to update. For example: "home" or "@,anothername", Kru-x
  21. Sorry it should have been /mnt/user/appdata/your_folder this is the path on your unraid server. Krusader probably mounts the user/ as root/ so it should be the same as yours. See the "/var/www/html", this is the path (folder) inside the container, and the "mnt/user/appdata/wordpress-temp" is the path (folder) on your server. What version of docker wont matter. So when you crank up a new container all files in "/var/www/html" (in this case all files in a new WP installation, the root of your site) gets copied to "mnt/user/appdata/wordpress-temp", after that on each update or restart of the container, all files in this folder should be persistent as docker wont copy and overwrite any files/folders with the same name. I tried Krusader ones but I didn't get it (i'm on mac and are using Forklift), how do you edit and save the wp-config.php file can you confirm in the terminal, if you go to the "mnt/user/appdata/your-site" (your case Root/Appdata/your-site) that the file is actually changed in there after edit. Looks to me that you are editing the file in the container, or that the storage is not persistent on your server but then the whole site would change so I am a little bit lost on that one. Kru-x
  22. Welcome back, Not sure how you have set it up, but docker works as if a file is missing he will add it but if you have a file with the same name he wouldn't. Have you taken the wp-config.php file out of the root folder, or are you renaming it? So, It copies the files from /var/www/html in the docker container to /var/www/html/mnt/user/appdata/your_folder (that is the root of your site), on restart or update, if a file is missing he will add it but never replace it. Odd if he do! I name my WordPress container: my_site1-wordpress and I match it with the MariaDB continer like: my_site1-MariaDB, and so on. I have one database to each WP site. I leave the DB name to default "wordpress" in each MariaDB container. I rarely connect to the DB on my server, I only fiddle with it on my development (my laptop, mac) where I have exactly same setup with docker as on my server. Don't use phpmyadmin, I use TablePlus. I if I need to connect to my MariaDB container i just connect to it with ip:port when I am on my network or by vpn when I am away. Kru-x
  23. Hi Greg, Glad to hear it is running well, a server time out is not really related to this setup and I'm not sure. Really can't help you, ask in a general WP forum, could be anything. But to give you a starting point, you can increase the time b4 it times out both in wp-config and in NginX (NPM) but I am not sure why this would be needed. Maybe ask the plugin developer. I use wkhtmltopdf to generate pdf's from HTML pages, but that is a lot off hassel and have to be built in to the WP docker container in this setup. Sorry I can't be of more help, Kru-x