-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading to 1.39.8 Ironbank #418
Comments
Hello @fishpeopleapps - sorry for the delay in responding. And thank you for the detailed bug report. The fact that you don't have sudo/root permissions definitely seems like an issue - it may explain at least the permissions-related issues you are seeing. Can you get this access? To answer your question about run-all: run-apache.sh was renamed to run-all.sh, because the original name was a misnomer: it does a lot more than run Apache. But the script basically does the same thing that it did before - there have been a bunch of small changes to the code, but as far as I remember nothing substantial. |
No apologies needed, thank you so much for your time @yaronkoren ! This issue has been ongoing since 22/April so I am incredibly grateful for any insight you can offer. I inquired about sudo/root permissions and this was the response I received: I wanted to add a couple of things as well.
Here is the contents of the deployment.yaml file - -Kim |
Thoughts on this error in the logs? Brought it up to Ironbank and they aren't sure but are open to test/change things. |
@fishpeopleapps - sorry for the long delay. That was apparently a bug in Canasta, which was fixed in this commit. Maybe it works better now, with the latest code? |
@yaronkoren That did fix the php issue. I noticed Ironbank didn't include skins.yaml and extensions-skins.php in their hardened image. They were able to add extensions-skins.php, but not the skins.yaml because Right now we have this error and I am wondering if it could be related to not having the skins.yaml file in the upstream container?
|
@fishpeopleapps - Sorry again for the delay. Are they using the latest version of Canasta? skins.yaml is right here. |
@yaronkoren When I pointed out that file and how its missing their response was - |
In the hardening_manifest.yaml
|
I asked for specifics from IB and they responded: |
@fishpeopleapps - okay, sorry for the confusion about skins.yaml. We believe that this was actually just an issue with the installing of the Chameleon skin (because it, alone among skins and extensions, starts with a lowercase letter), and that the recent patch #433 solves it. If you get the latest code again, hopefully everything will work now. |
@yaronkoren @jeffw16
|
Thank you for your continued patience. For the problem with loading the Pivot skin - please make sure they are calling For the permission problems - I don't know what is causing that. Maybe the loading issue is leading to that as well? |
@fishpeopleapps - okay, we just checked in PR #434, which fixes some problems that may have caused this error. If you can, please get them to upgrade to this latest code, and try it again. |
@yaronkoren I understand from your website that the Canasta Project does not guarantee the same functionality for Ironbank Canasta, nor does it provide official support. However it's not working at all, Ironbank does not provide development support with PHP/Wiki, and discussions have started about the USSF moving away from Canasta. Could you please share your insights on this matter and the extent of support that might be available for the hardened image from Ironbank? This information would be valuable as I provide updates to leadership. They would like to better understand the scope of assistance that is available to us. Thank you. |
I understand your (and others') frustration, and I certainly hope that you don't move away from Canasta. (And I, too, would like to see Ironbank Canasta fully working.) As far as support: I'm happy to continue providing suggestions (and bug fixes) here. That may or may not be enough to solve the problems you are seeing. If you/they prefer to get more hands-on support, there are any number of consultants, an consulting companies - including my own, WikiWorks - who could be hired to do direct troubleshooting. |
Thank you, I will pass along WikiWorks as a consulting option. I appreciate your quick feedback! |
Thoughts on either of these errors? Also is the wikis.yaml just for wiki farms? It's coming up as "does not exist" and all my attempts at force creating it have failed.
Thank you! |
That first error looks like a problem (maybe a minor one) in the SemanticExtraSpecialProperties extension - hopefully it will be fixed at some point, or has already been fixed. For the second piece of text - what is that? I think wikis.yaml is only present if it's a wiki farm, i.e. more than one wiki. Is its absence causing problems? |
We were able to get our staging environment up and running, the problem was various configuration issues. Several things are now broken however, but I'll close this comment for now. Thank you for your help. |
Wow, that's great to hear! Feel free to post any of the remaining/new problems here, of course. |
Describe the situation
Summary: Multiple issues when attempting to upgrade to newer canasta version using Ironbank's hardened image resulting in broken staging environment, incorrect permission, etc.
Description: Hello! I am the developer on the Space-Wiki. We recently attempted to update to PHP 8.1 and the new hardened image (https://ironbank.dso.mil/repomap/details;registry1Path=opensource%252Fcanastawiki%252Fcanasta) tag 1.39.7. We started this process back in April and continue to have problems so any insight, at all, would be greatly appreciated. Initially our hosting company said we had to use a custom image, due to this error: https://hub.docker.com/_/php. Our "custom image" consists of the Ironbank canasta's image and manually installed required packages.
The custom image seems to "work" but these are some of the errors that appear in ArgoCD's logs:
Screenshots:
rsync: [generator] failed to set times on "/mediawiki/images": Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.2.7] rm -rf /mw_origin_files rm: cannot remove /mw_origin_files: Permission denied
++ find /maintenance-scripts/ -maxdepth 1 -mindepth 1 -type f -name '*.sh' stat: cannot statx '/mediawiki/sitemap': No such file or directory
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.42.90.109. Set the 'ServerName' directive globally to suppress this message [15-Jul-2024 21:44:33] ERROR: failed to open error_log (/var/log/php8.1-fpm.log): Permission denied (13) [15-Jul-2024 21:44:33] ERROR: failed to post process the configuration [15-Jul-2024 21:44:33] ERROR: FPM initialization failed
Warning: wikis.yaml does not exist. Running general jobs.
Here's the full log: argoCDLogs.txt
Final Thoughts --
By posting here I am hoping for a friendly wiki person to please point me in the correct direction of anything I might find useful for understanding what's going on so I can fix the problem. I noticed a lot of changes between run-all and run-apache. Is there a reason we cannot use run-apache or this file was changed?
Steps to reproduce the issue (if applicable):
n/a
Expected behavior
According to Ironbank and our hosting company, nothing is wrong, so I imagine to them the expected behavior is that the upgrade went smoothly and everything functions normally.
System info
Please complete the following information:
Sanity checks
Only applies to troubleshooting requests.
docker exec
directly on the container, removing the Caddy/Varnish containers, adding unauthorized files to the Docker container after startup, etc.? IDKThank you for your help and expertise, it is greatly appreciated.
The text was updated successfully, but these errors were encountered: