SimplePortal
Support => Install and Upgrade => Topic started by: korelabs on December 16, 2014, 04:37:11 PM
-
(edited to add permissions info)
1. Execute Modification smf2/install.xml Modification parse error
2. Execute Modification smf2/install.xml Modification parse error
This is what I'm getting when installing SP 2.3.6 on SMF 2.0.9
I have tried all I can think of.
chowned files to root:root
chowned files to the owner of /var/www
chmodded everything applicable to 755 and/or 777
uploaded the zip from 4 systems.
installed the zip direct from http from SP site.
created the temp folder, and chmod/chowned it as everything else.
cleared the contents of temp between install attempts, and during.
No matter what I do, it gives the same error *every* time.
Permissions seem in order.
/var/www/main Writable (chmod: 0777)
agreement.txt Writable (chmod: 0777)
Settings.php Writable (chmod: 0777)
Settings_bak.php Writable (chmod: 0777)
* attachments Writable (chmod: 0777)
* avatars Writable (chmod: 0777)
* cache Writable (chmod: 0777)
* Smileys Writable (chmod: 0777)
* Sources Writable (chmod: 0777)
* Themes Writable (chmod: 0777)
* Packages Writable (chmod: 0777)
hardware: (not sure if it matters though.)
xeon E3-1246
32GB ECC
software: (probably a little more important.)
debian 7.7 64 (with multilib)
Apache 2.2.22
PHP 5.4.35-0+deb7u2
Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, tls
Registered Stream Filters zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk
-
Welcome :)
A question that might sound stupid but in fact it isn't... Are you trying to install SP 2.3.6 over a previous installation? For example updating 2.3.5 without uninstalling?
I ask because it's not how it works, you should uninstall 2.3.5 and then install 2.3.6, you won't lose your data if you don't choose the "Delete the additional data" checkbox while uninstalling it.
After telling me the above... Try to unzip the package, rename "install.xml" to "Install.xml" (do note the uppercase), re-zip it, re-upload it and retry. This is due to the fact that some weird things can happen in some OS at a times... It happened to me as well before, with another mod.
The things you have done might sound useful but not all of them... In fact having 777 as chmod might cause more troubles than benefits. I'd ask you to bring it back to 775 at maximum.
By the way congrats for providing a boatload of informations, that's uncommon and much appreciated :)
-
I apologize for missing that detail, this is a 100% clean install, and I have full root access to the server (of which I also forgot to mention)
Will try the suggestions and report back asap.
-
Hmmm... Where did you download SP from, SMF site or here?
If the SMF site, try downloading from here and trying that copy.
Just in case something corrupted the copy you had gotten.
-
@ burkeknight, I got it from here.
@ ninja, same thing, I also took the caution of clearing the old cached copies off of the server-side directories, and making 110% sure it uploaded fresh and clean with the edits, it's showing the error as install.xml in SMF's package manager, but it shows quite clearly Install.xml when browsing the zip server side in */Packages/filename.zip, would appear there may be an auto renaming schema in place once things hit the installation script external of the zip file.
-
Have you tried to just upload the SP package to the Packages folder via FTP, then go and try to install from the list in package manager?
-
Oddly enough, I just tried dreamportal as well, and i get the exact same issue...
-
Then it would appear that there is a server issue that needs to be looked at.
-
Yeah, I'm thinking so as well.
Off to chase squirrels around /var for a while!
I'll report back anyway, because I see a few posts on this where users just up and claim fixed, then vanish into the ether with NO information at all... If i find it, i'll post it.
-
it's showing the error as install.xml in SMF's package manager, but it shows quite clearly Install.xml when browsing the zip server side in */Packages/filename.zip, would appear there may be an auto renaming schema in place once things hit the installation script external of the zip file.
Rename it back AFTER you uploaded it to install.xml then (damn I hate this uppercase BS it makes me go crazy, really, see below)...
Then it would appear that there is a server issue that needs to be looked at.
Yeah... I just hope that this is actually fixable. Despite I have more than 130 mods installed I can't install ForumFirewall because it gives me the same exact error no matter what I do.
-
Just installed libxml++ on a whim, and it also installed nearly 600 other packages, rebooting the server for good measure, hopefully something in that heap fixes it.
[edit] Nope, this is getting terribly irritating.
Any suggestions as to packages I may be missing that would cause this?
-
Hell you did quite a lot of things... Let us know huh? :)
-
korelabs,
Imo you somehow have a misconfigured path setting within SMF itself.
To ensure all paths are correct perhaps use the repair_settings.php tool to correct them and try the installation again.
Make sure to remove the tool/file when the process is complete.
ref.
http://wiki.simplemachines.org/smf/Repair_settings.php
Regards.
-
Ran it, hit the remove hooks, restore settings, save settings, then deleted it, same error.
[edited for missed step, corrected.]
-
I would think some server stuff. Why? Because of the same problem I have with ForumFirewall mod... Looks like it doesn't work on my host. Perhaps it's the same thing here. As regards the reason... I'd love to discover it.
-
Ran it, hit the remove hooks, restore settings, save settings, then deleted it, same error.
[edited for missed step, corrected.]
I did not instruct you to remove any hooks. If you have existing mods installed that use them it will render some of those installed mods useless or possibly cause errors. I was suggesting that you fix the directory and path settings. The tool gives you suggested changes as links whereas most of the time you can just select all those links and then save the changed settings.
-
♦ Ninja ZX-10RR ♦,
That sounds like an .htaccess issue you are experiencing, I will suggest that you post in that mods support thread if you have not already done so.
Regards.
-
Just tried it with a clean install, database and everything, without the hooks thing, and same result.
Are there logs kept anywhere I could look at?
-
The php error log path/location is configured within your php.ini file although it is usually viewable from your host panel (if you have one .. ie. Cpanel).
Do you have shell access? Is this CentOS, Ubuntu, etc ?
If you do have shell access, what is your actual forum path to this forum (public_html) folder?
Is this a newer OS installation?
-
It's debian 7.7 AMD64 (with multilib).
I have 100% full access. (hosted rootserver)
Path is /var/www/main
yes, it's a fresh install of debian_minimal, I've added php, mysql, apache myself.
-
Execute the following commands with your shell terminal but change the text of user_name to your actual shell terminal user name.
chown -R www-data:www-data /var/www/main
usermod -a -G www-data user_name
chmod 770 -R /var/www/main
If that still does not work then find the path of your temp folder from within your php.ini file (ensure the line for it is not commented out).
Ensure that folder exists at the appropriate path (create it if necessary) and then apply the above commands to that temp path as well.
-
Still getting the same result, also tried fiddling with php safemode, no change in either state.
-
Always attempt to reset apache after making any changes.
/sbin/service httpd restart
-
running /etc/init.d/apache2 restart after every change.
-
At this point I am not quite sure what the issue is.
I can have a look if you want to temporarily grant me both shell root access and SMF admin access.
If you wish to use that route then PM me the necessary info.
Though for the moment I will be away from the computer for approx. 1 - 1.5 hrs.
Regards.
-
At this point I am not quite sure what the issue is.
I can have a look if you want to temporarily grant me both shell root access and SMF admin access.
If you wish to use that route then PM me the necessary info.
Though for the moment I will be away from the computer for approx. 1 - 1.5 hrs.
Regards.
Sent via PM. if possible just ring the system bell when you show up, I'll hear it.
meanwhile, I'm going to be opportunistic and take your away time to go beat the loving hell out of some things in FireFall to vent a little.
See you soon. and Thanks.
-
If you understand where the error is PLEASE post it Underdog, I am really interested into it as well.
-
Simple Portal installed just fine with no issue.
-
... Wtf?
-
korelabs,
Imo the previous ownership & permission settings fixed the issue and the cache just needed to be cleared.
For me the cache files were fresh. Just use the SMF maintenance to clear the cache and then clear your browser history.
After that attempt to install mods now.
Regards.
-
♦ Ninja ZX-10RR ♦,
As I said prior, your issue is most likely the .htaccess file that the forum firewall adds which is causing an issue.
Assuming you are using Apache2, this can be possibly caused by your Apache2 configuration not allowing .htaccess to override the directory/file allowance.
ref. https://help.ubuntu.com/community/EnablingUseOfApacheHtaccessFiles
Ensure AllowOverride is set to all as instructed from that link.
Regards.
-
odd, i did that... I did not however try a different browser.
-
Simple Portal installed just fine with no issue.
Marking it as solved then, unless there are any logs or steps I should post specific to my system to help any future onlookers?
-
I guess Underdog pretty much explained it... Hell I won't ask my host because I am just in the process of changing it (moving to BurkeKnight's webhost), but I will try again there. If I get errors I'll ask him to have a look at that procedure. Thank you so much Underdog, I spent MONTHS trying to figure that out in co-operation with the mod author and at no avail. Now that I probably know what the issue is then I'm very happy with it.
korelabs yeah I guess you can mark it as solved since Underdog installed SP :P