This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

An error occured, The package archive could not be extracted!
#11
RE: An error occured, The package archive could not be extracted!
Yeah, All tests on my end worked. Confused 

Make sure file and folder permissions are correct. Including /tmp (1777) and /var/sentora/temp (777) as well as all the /etc/sentora/ files and folders (755) All Sentora files and folders should be owned by apache:apache (CentOS) or www-data:www-data (Ubuntu)
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#12
RE: An error occured, The package archive could not be extracted!
All permissions are correct
However everything is owned by root, but I never changed it to root? so i assumed it was part of the install?
Reply
Thanks given by:
#13
RE: An error occured, The package archive could not be extracted!
The default is root for the panel.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by: TGates
#14
RE: An error occured, The package archive could not be extracted!
I think there is an issue with the installer. Had this same problem on a fresh install of CentOS with another community member. Me.B

All files and folders inside /etc/sentora/ should be owned by www-data:www-data in your case.

You will need to change the owner. Apache is running the unzip and can't write the files since the folders are owned by root.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#15
RE: An error occured, The package archive could not be extracted!
I seem to remember checking my old sentora server and they were root on there as well. But ill change it over soon and let you know
Reply
Thanks given by:
#16
RE: An error occured, The package archive could not be extracted!
Nope still getting the same error.
Everything is owned by apache (www-data), however when I run zppy install it downloads the package as root to the zppy-cache/package-downloads.
Not sure if thats normal?
Reply
Thanks given by:
#17
RE: An error occured, The package archive could not be extracted!
Darn permissions! LOL

If it runs as root, then it should install as root and still work... Angry 

I'm still 'new' to this permissions thing, switched over from Windoze a few months back...
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#18
RE: An error occured, The package archive could not be extracted!
The fact I can manually extract the archive should I just install the modules manually just to get them working?
Or do you have other ideas on whats going wrong?
Reply
Thanks given by:
#19
RE: An error occured, The package archive could not be extracted!
chown -r www-data:www-data myfolder

That would fix the permissions
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#20
RE: An error occured, The package archive could not be extracted!
Okay. I fired up my old sentora server and did some tests
I can install xbilling fine on the old one, and not the new one

Did some poking around, the old server has everything set to root as owner, 
I followed the zppy command back down the chain and the only difference I can find in permissions and file access is

/etc/sentora/panel/bin/zsudo
On the old working server its set to 
-rwsr-srx and the filename is red

on the new server its set to 
-rwxr-xr-x and the filename is green

as far as I can tell, all the other permissions are the same between the two servers?

[Image: BBfGdIv.png]
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Repo update error hostingms 3 5 ,454 02-14-2024, 09:20 AM
Last Post: TGates
apt-get install mod_ssl ERROR CMs222 9 25 ,799 11-11-2022, 09:14 PM
Last Post: zustudios
Sentora debug and error files johnnyp 0 1 ,172 10-27-2022, 06:16 PM
Last Post: johnnyp

Forum Jump:


Users browsing this thread: 1 Guest(s)