Pockethold - A Web based Installer
Please do tell us when you update this for the latest version.
Hi. I can't see any specific changes that would make pockethold not work with latest release, there are two files currently which I need to watch for changes on release (index.php and "flarum") and it seems those have not changed.
It does seems that some hosts I have previously verified works with pockethold have stopped working though, and I am trying to investigate.
It might not be best practice, but I successfully upgraded to Beta 9 by launching Pockethold inside the directory containing Beta 8. No issues so far, will update as I go.
Menomenta Not something I recommend per say, as what it would do is do the whole process again in its own folder and overwrite the current files. Any unneeded files would stay and not be purged, and it might create issues later on.
I am interested to know what exactly you did though, step by step. What happened after the redirect for instance. Maybe I could create an updater instead. Might be less error-prone then doing the whole process again
andreherberth will there be an auto-updater?
If you do, please use simpler programming, so even junior programmers could help out. At least to help maintain it, if not help make it.
Sapioit the lack of simpler programming is that I am a novice myself, and are hacking and slashing my way trough making pockethold.
I will attmpt to move toward following this: https://phptherightway.com/ and https://symfony.com/doc/current/contributing/code/standards.html
- Edited
andreherberth Whenever I try to do something for the first time, I try to use code which even someone who picked up php 2 weeks ago would understand. Classes usage to a minimum, functions whenever possible, include_once instead of namespaces, and things like that.
Check out Clean Code, the dude has some impressive videos.
andreherberth , I simply uploaded the latest version of Pockethold to the folder containing Flarum, and (after manually placing the ajax.log) followed the installation procedure. I noticed Pockethold skipped a few steps, but I can't recall which ones.
Sapioit pockethold was originally without classes. I started using classes as it would make it easier in the future to expand it, and, it teaches me stuff. I would not move away from that at this stage. In theory, object oriented programming is easier to read, as it devides the code base. I do need to clean up the code though.
Menomenta thanks , I will look into it. Although, I would imagine copying over the composer.lock file, and do an update based on that in an external folder might be safer then doing a create-project and pasting the result on top of the previous content. Will look into it.
@andreherberth any news about the upgrade feature?
maicol07 Alas, not yet.
- Edited
i want to install it but it freezes on Getting status page ??
AdemAhmed What link did you use to download it?
It is important to use the "release" version, this time around: https://github.com/Pockethold/pockethold/releases/download/v0.1.0-beta.6/v0.1.0-beta.6-pockethold.zip
If this does not work, please tell me again, and I can attempt to provide support here, via ticket on github or on Discord.
Happy new year
- Edited
andreherberth that works, thank you sir
- Edited
I'm stuck at Getting Status page. It keeps spinning. I've even used the release version. PHP Memory limit is also set to 512M.
@andreherberth
Do you have access to an error log? What does the log files in pocketholds folder say?