Capnel delete issue - cpanel

I accidentally deleted my cpanel's homedirectory. I am having trouble doing my tasks because some files are missing. I'm just getting started with Cpanel, and I don't have any backups. I just want everything to function as it did before; I don't need those projects to be backed up. Can anyone help me with my problem?

Related

Sub folders and files deleted-hosting provider has clue how it happend

All the domain's folder are present. but there is nothing inside the folders! Everything is deleted! I asked the hosting provider and they have no clue! They are blaming me that "we don't delete user files, might be someone from you'r side deleted it" But i never deleted the files and nor does anyone has the login credentials of my account. Please someone help restore my files! What can i do!
Unless you have a recent backup, there isn't much you can do. Your hosting provider should have a backup solution and keep at least 1-5 days of backup so they can either restore your files or provide you a zip file with your account files. If they are not able to provide any of those, then you can just consider the files lost and that's pretty much it. If that's the case, I suggest to stop using their services and chose a better provider. Also, always have a backup solution in mind... just in case

Apache won't stop using old project files / refuse to remove old cache

I am using Apache httpd on localhost to connect to the project I'm working on, I have been deleting web cache when website is showing the old project instead of the new one. However recently the project is stuck on an outdated version and restarting/clearing cookies won't work with the user I'm assigned.
I tried using another user with my project and it works just fine. I recently did use svn revert which may have caused my user to get stuck with old project, but I'm not sure that's the problem.
Commands I use to start and stop:
sudo service httpd start
sudo service httpd stop
Any advice or tips are greatly appreciated.
Update: I managed to get the page to update the html, however my JavaScript won't load which I suspect is due to another user being stored and thus not accessing the database I use which leads to nothing being generated.
(Posted on behalf of the OP).
I got everything to "work" again by accident, I made some edits to PHP and my PHP crashed because of a syntax error. When I fixed it back to original stage it was working again. It most likely is related to a user the previous owner created that caused the problem.
Just clear Temporary files
In windows CTRL+R and type %temp% and delete all the files it will help to you

Blank, broken manifest file Windows Server 2008

I have an issue with an instance of Windows Server 2008 where Server Manager will not open, nor will powershell or anything else really. I've researched solutions and attempted a dozen or so fixes including replacing the machine.config with a known good in .NET/Framework/etcetc, running System Update readiness to repair corrupt files, DISM, the works. I believe the problem stems from a specific manifest file. Remote event log viewing shows dozens of SideBySide errors pointing to this manifest file claiming invalid XML, and upon closer inspection it looks like the thing is just straight up whitespace. I have a copy of the same manifest from a known good server configuration so I'm thinking of replacing it.
First: is this a dumb idea? Is there something I don't know that's going to blow up in my face?
Second: I can't seem to replace the manifest file. Permissions are against me. Upon closer inspection it seems TrustedInstaller is the only account to have write access and above on that folder, and those permissions are locked from me even though I'm running as Administrator with elevated access. I'm guessing this is to prevent me from shooting myself in the foot, but I neeeeeeeeed this to work. So second question: how do I elevate my permissions to access the manifests folder in C:\Windows\WinSxs\?
Thank you for your time in reading this far. I greatly appreciate your collective knowledge and assistance.
Nevermind, got it. I took ownership of the specific manifest file, opened it in notepad with elevated permissions, replaced the contents with the contents of the known good config, saved it. Voila, it works just fine. Restored SYSTEM permissions afterwards to clean up after myself.

How to fix cpanel log in error?

My cpanel was working fine till yesterday. Today, when I tried logging into it, I got the following error "The filesystem mounted at / on this server is running out of disk space. cPanel operations have been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition".
How do I go about fixing this issue? I am a newbie at this and would be grateful if the solutions were explained in detail, preferably in steps and in layman language if possible.
Thank You!
The issue was solved!! I contacted the host company and they were able to fix it within a few hours.

Restoring redmine issues by email and svn

We lost server with redmine.
Now we have old database dump and email notifications by redmine and svn history with descriptions (descriptions contains num of issue and some comment).
Does anybody know any way to restore some of lost information?
Well since i dont know for sure i`ve checked the manual page of redmine. Maybe you can create an repository with everything in there and than from there try to get all the datafiles to the right location on youre redmine server.
http://www.redmine.org/projects/redmine/wiki/RedmineRepositories
It`s a pity that there is no documentation about back ups or something else.
Good luck trying to fix it!