Advertisement:

Author Topic: I lost FTP and database details, how to get them?  (Read 1010 times)

Offline Drug Mile

  • Semi-Newbie
  • *
  • Posts: 25
  • Gender: Male
    • Perforum
I lost FTP and database details, how to get them?
« on: June 12, 2019, 07:38:26 AM »
I'm an admin of my forum. Many years ago I set up everything and meanwhile lost password for FTP and database access. Is it possible to get it back just by using SMF? I know SMF has this details written somewhere since I can install mods, and forum is obviously still working (reading and writing to database). Is there a mod that can unhide this data for me?

SMF 2.0.2.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,284
Re: I lost FTP and database details, how to get them?
« Reply #1 on: June 12, 2019, 07:40:39 AM »
SMF will have the database details but not FTP. you would be best to ask your host for further assistance.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,305
Re: I lost FTP and database details, how to get them?
« Reply #2 on: June 12, 2019, 11:44:53 AM »
You need cpanel access to find FTP account info, you'll have to reset password.  Same with database.  You can see db name and user in Server Settings, but not password.


Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,284
Re: I lost FTP and database details, how to get them?
« Reply #3 on: June 12, 2019, 11:56:01 AM »
You can see db name and user in Server Settings, but not password.

the password is in Settings.php file which after you get FTP/cpanel access you can view.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,305
Re: I lost FTP and database details, how to get them?
« Reply #4 on: June 12, 2019, 12:01:21 PM »
We know that, but if OP just has admin access, he can't view Settings.php.  If he has cpanel access, he can reset db and ftp passwords, or edit Settings.php via ftp or filemanager, or use repair_settings.php.



Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,284
Re: I lost FTP and database details, how to get them?
« Reply #5 on: June 12, 2019, 12:04:10 PM »
once you get access back, you also need to upgrade your SMF install to 2.0.15 ASAP.

Offline Drug Mile

  • Semi-Newbie
  • *
  • Posts: 25
  • Gender: Male
    • Perforum
Re: I lost FTP and database details, how to get them?
« Reply #6 on: June 12, 2019, 02:38:24 PM »
I'm trying to contact the guy who installed our forum, it wasn't me. I have no idea where it is hosted.

So, many years ago group of amateurs gathered. We needed some platform for comunication, and one of us said he has some hosting that he don't need. He installed forum, registered domain and gave me the keys. I had all access details then, but I lost it  :-[

Now this guy has gone also. He is paying the bills for hosting since he keeps his stuff here also, so the forum is running but nobody knows where and how. That is why I can not ask our provider. The only chance we have is if this guy sees our emails and respond to them. Who knows...

Meanwhile, we have forum that we are afraid to touch. In the past we installed many mods, deactivated many of them. Many of them have some conflicts and difficulties during installation, so I had to modify some lines manually every time I installed the mod. Now we are lucky that everything is still working.

I would like to fix this. If neccessary, I would start with clean installation, import existing database and continue from there. I downloaded dump file of our database, I see it does not contain any attachment. So it would be difficult to rebuild this forum on some other host without access to files.

What else I could do? Is there mod that can make complete backup/restore/clone of forums, including attachments? Searching keywords did not find it. Not looking for backup of themes, mods, manual adjustments, I can rebuild all of that by myself.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,502
  • Gender: Male
    • Kindred-999 on GitHub
Re: I lost FTP and database details, how to get them?
« Reply #7 on: June 12, 2019, 04:44:19 PM »
in short - no.

To do anything with files and database, you really need access to the hosting account and/or FTP
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,305
Re: I lost FTP and database details, how to get them?
« Reply #8 on: June 12, 2019, 09:49:00 PM »
How did you dump the database?

Link to your forum?

Offline Drug Mile

  • Semi-Newbie
  • *
  • Posts: 25
  • Gender: Male
    • Perforum
Re: I lost FTP and database details, how to get them?
« Reply #9 on: June 13, 2019, 04:28:00 AM »
I performed database backup from admin cp. Unfortunately that's all I can do.

Link: http://www.perforum.info

Offline AlanDewey

  • Semi-Newbie
  • *
  • Posts: 44
    • CCS Forum
Re: I lost FTP and database details, how to get them?
« Reply #10 on: June 13, 2019, 09:47:57 AM »
perforum.info   ip address is 178.218.172.36

This i.p. range is assigned to      Dhh D.o.o

Search Dhh D.o.o  and find   http://dhh.com.hr/

info@dhh.com.hr

I can not read that language.   I can not tell if it is your host or not.

Good luck.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,305
Re: I lost FTP and database details, how to get them?
« Reply #11 on: June 13, 2019, 04:23:27 PM »
Wouldn't matter, even if you can identify the host, they won't give you access if you're not the owner of record.

I performed database backup from admin cp. Unfortunately that's all I can do.

Admin db backup is not reliable, but sometimes it works, and your db is not large.  It contains all of your forum's content, so you can rebuild the forum in your own host account if you were lucky and got a complete backup.

 

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,559
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: I lost FTP and database details, how to get them?
« Reply #12 on: June 13, 2019, 05:40:23 PM »
If you have access to package manager you can upload scripts such as a file manager/adminer for mysql to get more access to everything.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Drug Mile

  • Semi-Newbie
  • *
  • Posts: 25
  • Gender: Male
    • Perforum
Re: I lost FTP and database details, how to get them?
« Reply #13 on: June 14, 2019, 04:22:29 AM »
I have access to package manager. What are those scripts, where to get them?

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,559
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: I lost FTP and database details, how to get them?
« Reply #14 on: June 14, 2019, 02:01:42 PM »
Nothing is prebuilt you would have to write a custom mod to execute those actions.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline Drug Mile

  • Semi-Newbie
  • *
  • Posts: 25
  • Gender: Male
    • Perforum
Re: I lost FTP and database details, how to get them?
« Reply #15 on: June 14, 2019, 03:05:49 PM »
Nothing is prebuilt you would have to write a custom mod to execute those actions.

I'm totally not ready to do that. I kinda hoped that there is already some mod that could download everything and then upload it to new installation of forum. I downloaded database several times using admin cp, it is only 12 MB and every time same size so I'm guessing it is complete. But then, there is no upload button. What exactly can I do with the .sql file? Except read it with text editor? If I start with new hosting, and get access to empty database, I would be able to upload .sql file that I just downloaded? If that is so, than I need only attachments to be copied to new location.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,305
Re: I lost FTP and database details, how to get them?
« Reply #16 on: June 14, 2019, 10:24:06 PM »
If the database dump is complete, you can do a new 2.0.2 install on your own host account, import the dump into the new database, and you'll be running 2.0.2 in Curve.  You'll have all your members, posts, pms, etc., only really important content you'll be missing is attachments.  If everything works, you can then upgrade to 2.0.15.  You'll have to install any mods you need (copy the installed list from Package Manager on your current forum), and any themes and customizations that have been added to production forum.  If you're sufficiently intent, you can copy theme templates and css using admin theme editor (good luck with that), but you'd have to manually d/l custom images off the current install (better you than me).

If it'll help, I can take a look at the database and see if it's useable, otherwise you'll be wasting your time.
 

Offline Drug Mile

  • Semi-Newbie
  • *
  • Posts: 25
  • Gender: Male
    • Perforum
Re: I lost FTP and database details, how to get them?
« Reply #17 on: June 15, 2019, 03:31:23 AM »
Thanks, maybe that will do the trick. After setting up forum on new location, I could ask existing provider that Alan found to hand us attachments folder.

Offline AlanDewey

  • Semi-Newbie
  • *
  • Posts: 44
    • CCS Forum
Re: I lost FTP and database details, how to get them?
« Reply #18 on: June 15, 2019, 07:57:35 AM »
I suggest you first contact your host.     Maybe the person that "He installed forum, registered domain and gave me the keys"  gave the host your information as one of the official contacts.  If he did, then the host may help you.

If that does not help, then contact the registrar.  The name perforum.info is registered with www.tucows.com.  At a minimum, that other person, is supposed to keep his contact information current with the registrar.  If he did, then they can contact him for you. 

The host & registrar will never give out any information unless the official registrant tells them to do so.    But there is a very small chance that a few emails will get you in contact with "the other person."   

If the 'other person' does not get in contact with you, then your only hope is to try the suggestions the other helpful people have given above. 

Offline Drug Mile

  • Semi-Newbie
  • *
  • Posts: 25
  • Gender: Male
    • Perforum
Re: I lost FTP and database details, how to get them?
« Reply #19 on: June 18, 2019, 02:13:38 PM »
Thank you all. I got everything I need from hosting provider.