Everything posted by Kru-x
-
[Support] kru-x - wordpress
Hi LewJ, I use the htaccess method and there is several articles about it, just google it. I guess the bigger issue is how to edit files in WP (or any other containers) and it is quite easy, you just ssh in to unraid and edit any file in your favorite editor. So if you are on Mac, I used "Fork Lift" as my ssh client to find and work with the files, and edit them with "Visual Studio Code" now in windows I use only VS-code as there is an ssh client as a plugin. I use the unraid console all the time, but it is only for finding files, peeking in to containers etc. Actually found this https://www.a2hosting.com/kb/developer-corner/php/using-php-directives-in-custom-htaccess-files/setting-the-php-maximum-upload-file-size-in-an-htaccess-file it's for a hosting company but it explains the whole workflow with ssh as well, just as we do it for our own "hosting server". Hope that explains, Kru-x
-
[Support] kru-x - wordpress
Hi Booman, I love constructive feedback, thank you. There is a biiig problem with the container and the template, that is that it is too many options and as you said you can choose to leave them blank or fill them in. That makes for confusion. I should possibly remove the DB specific varibles and let people figure out the WP installation, then the problem is going to be the DB side of it and that is equally confusing. If you look at https://hub.docker.com/_/wordpress/ there is tons of setting and options, what and what not should we use? I think the best "route forward" would be to have a good turtorial eg. "Spaceinvader" style and I have also suggested that for him. I should maybe have done one myself and added it to the first post, but I am usless at that and am flat out with other stuff (and asnwering this thread) You tell me, what do you think would be esiest, remove them or not? Kru-x
-
[Support] kru-x - wordpress
The plugin is WP specific and wont bother about what operating system you have, and/or it is all linux anyway when you are working with a docker container. You dont need a new container, it just depends on how many instances you need. Duplicator overwrites everything, even the DB. You just remove/delete all files from your WP root folder and put the two files exported from Duplicator, then you open the installation.php in your browser and follow the instructions. Duplicator will change everything needed. Takes a few minutes. I Duplicate my live site onto my laptop where I have my "development" setup, where all my WP development is a plugin. The plugin I install in to a fresh WP instance on my Unraid server for testing or beta. I also copy the whole site from time to time, I have had up to three different isntances on my unraid server to test them in between. Just use as many as you like or only one, work with Docker on all my comuters, same setup everywhere. Work great, just took me some time to get my head around docker now I love it, increadible powerfull the whole concept. Kru-x
-
[Support] kru-x - wordpress
Hi SPOautos, You are on the right track in your understanding. I can only tell you how I work and what I found best, I am sure others would have different opinions. But wordpress works as if you add a page or any redirects to a page/photo/shopping basket or whatever, it saves that value or "link" in the database, so if you have it installed on 192.168.1.100:8080 thats the pointer that is saved. You have to convert those values to the right ones as in the link you refer to if you move/migrate the site. The easiest way I find and the plugin that I use is "Duplicator Pro", it is to move my site around either way, production to develop or the opposite, it works great, it is a small cost but it saves you a lot of headaches. It will convert all the links and copy the DB and the whole site in one, easy as. You just have to fire up a new wp container on any machine and wipe the folder clean, add the files from Duplicator pro and it will automatically install the whole site with the right url's. Kru-x
-
[Support] kru-x - wordpress
There is a setting (andvanced) in the template where you can manually assign the ip:port fore the webgui, I can also recommend that you to read throught this thread. Re: changing IP/ports, you can and will run in to problem when and if you change port other than what you installed WP on. Several posts erlier speaks about this and some run in to weird problems with this. But it has a logic explaniation and as long as you play it right it works fine. Kru-x
-
[Support] kru-x - wordpress
Hi there, More i say 🙂, but no worries. Some difficult questions and an answer that I hate is, "it all depends on". But as a staging or beta server this setup is perfect (at least for me), I develop on my laptop/desktop and the are all runnig the same system, mysql & Wordpress in docker containers. I move my sites around with Duplicatior pro. I can fire up as many as I like and delete them when I am done with them. I also host one site on my unraid and sync the DB to a Beta server in the cloud as I am about to move it. I would be carefull if I stored customers details and would thread carfully, I belive my server is pretty safe but there is a lot of settings that can go wrong, but in the end it can go wrong anyware and I love my server setup. The only thing, it is not reliable as in "no downtime server", a power cut or a fault on the street and my server goes down hence I moving my production server/site to the cloud. A good starting point is to read up about docker if you are not familiar with it and use the same system on all computers you are working on. Tha "app" as you call it is a full copy of Wordpress dockerized in a container and is maintained by the Wordpress creators, can't be more secure and reliable than that, very smart guys, I mearly added the template for it to be used on Unraid. Hope my answer gives you some hints at least, Kru-x
-
<Support> Kru-x - Wekan and MongoDB-wekan templates
What's the problem? Check this post screenshots: but leave the network to bridged. And remove the --link property. Kru-x
-
[Support] kru-x - wordpress
Correct!
-
<Support> Kru-x - Wekan and MongoDB-wekan templates
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
-
[Support] kru-x - Godaddy ddns
Did you sort it out?
-
[Support] kru-x - wordpress
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
-
[Support] kru-x - wordpress
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
-
[Support] kru-x - wordpress
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
-
<Support> Kru-x - Wekan and MongoDB-wekan templates
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
-
[Support] kru-x - wordpress
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
-
[Support] kru-x - wordpress
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
-
[Support] kru-x - wordpress
Did you install WP on your domain name, or local IP?
-
[Support] kru-x - Godaddy ddns
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
-
[Support] kru-x - Godaddy ddns
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
-
[Support] kru-x - wordpress
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
-
[Support] kru-x - wordpress
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
-
[Support] kru-x - wordpress
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
-
[Support] kru-x - wordpress
Hi Jowi, You are right, you have to change port number in WebUi settings if you change the default port. Krux
-
[Support] kru-x - wordpress
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
-
[Support] kru-x - wordpress
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