244 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by vanvour#0
Context?
tried getting into my oracle cloud instance and i got this error
the error happened after i deleted every file on the instance with an ftp client
uh
every file?
what do you mean by "every file"
yeah
like
including the OS?
every file that was shown in the ftp client
and uh
where was that
in...the ftp client?
no as in
what folders do you remember seeing
and why would you even do it?
minecraft stuff
because i wanted to delete my server files
so you... decided to delete EVERY file / folder that you could see?
are you able to ftp into it right now?
yeah, but i only saw stuff related to mc
no
are you sure your auth details are correct?
you haven't changed your keys
what do you mean by "you haven't changed your keys"
ssh keys
the ones that you downloaded to ssh into the server
like the putty key?
when you created the instance
yeah
or the normal one
both
maybe it did change
i dont know
try recreate a new putty key from the normal one
i dont think i changed it myself tho
i tried doing that
didnt work
yea
didnt work
try restart the oracle instance via the panel
ok
that didnt do anything
:thonk:
The server offered to authenticate via your private key, but your client decided it didn't want to (or the key you have locally didn't match the key on the server).
When you deleted everything on your server, did that include your entire home folder?
Because that would've removed your ~/.ssh/authorized_keys file
what is the name of the home folder?
Depends on your user
and os
it's either in /root/ for the root user
oracle linux
or /home/username
i think i might have deleted it
🥲
i didnt see the home folder tho
its my fault tho
do you see root?
I have no experience with oracle linux, so unsure how different it is from what I know
i cant check because i cannot connect to the ftp server anymore
Does oracle not give you a way to get console access via their panel?
Realistically, if you're unsure how, and you just deleted everything, re-creating the instance will probably be easier for you
no idea
hold on
But what you would need to do is sign in as root, create a new user / re-create your existing user, re-add your public key to the ~/.ssh/authorized_keys of that new/recreated user
can you do that in oracle?
iirc no
what can i do then
remake your instance
is there not any other way
cant i reinstall everything
i dont want to lose my original instance
@SilentBot
found this
maybe this could be helpful
i am in my shell
Nice
how do i see my password?
???
where do i get my password
If they let you set it, it would've been as you setup the machine
they didnt
what do i do
If you can't sign in as root, and oracle do not give you a way to seset it via their VM agent, it depends if disk encryption is setup and if you can boot attached media / isos or if they offer a recovery mode
how do i sign in as root?
Enter the username root, and whatever password is set, if you don't know it / never set it and oracle don't provide you a way to get it, you can't
you may have recieved an email
i know some providers do that
yeah i dont know my password
i have recieved couple of emails
do they have a password
no
i checked all of the emails i recieved
i hate this so much
ughhhh
You can follow a guide like the following: https://www.youtube.com/watch?v=AHC2ygICfn4
Oracle Learning
YouTube
How To Reset Forgotten Root Password Using Serial Console For Oracl...
This video explains how to reset forgotten root passwords of Oracle Linux 7, 8, and 9 instances using the OCI serial console.
Related topic:
* https://community.oracle.com/customerconnect/discussion/637220/how-to-reset-a-forgotten-root-password-from-serial-console-of-oracle-linux-instance-in-oci
* https://mosemp.us.oracle.com/epmos/faces/DocCo...
Which shows you how to enter recovery, mount the volume, chroot and do what you need to in order to create a new user / reset a password / add your ssh key to the authorized_keys file, etc.
Recreate the instance
They are pretty much the options
recovery + reset or recreate
?
Click terminate instance
and create a new instance
Also how the heck didn't you notice the filenames aren't the same as your minecraft server's when deleting
i just didnt
i mean i would atleast expect some sort of warning
when deleting those files
This isn't windows.
Next time don't delete the files without being careful
There are linux operating systems that give you warnings for deleting files that are required
like i said i didnt notice the other files
i read through fast
but it was my fault
at the end of the day
i uhhh
Anyways, what is done is done and you need to recreate the instance and I would recommend using pterodactyl for the panel
dont understand what this guy is doin
is installing ptero easy
yes
if you read the docs
i watched the video
and he just reboots the instance
and somehow gets into recovery
use Crafty
as a panel
easier for beginners
Did you delete all the files on the system or just the home folder ubuntu
they don’t know
the instance runs on oracle linux
not ubuntu
still matters
Same
true
i uh
both are Linux
just logged into the instance on a ftp client
are you able to FTP right now?
and deleted every file
sadly no
why didn’t you just… use ssh to delete what you needed
rather than blindly deleting every file
This is why it's recommended to learn linux before using it
^
Linux != windows
there’s no ‘are you sure you want to delete this’
I personally had no problems learning it I eventually remembered the commands which I was googling for
ill def learn linux
Nah you first have to learn to not delete something without checking
right ill def learn that after i process the 50 messages about that
Good
ok so are you done with telling me to not deleting something without checking
We told you what to do
yeah no
ill try entering grub mode first
@SilentBot i cant enter grub mode
Are you not seeing the option during boot or?
When i launch cloud shell connection, and i press esc the option does not show up
And you're rebooting the VM before opening the console?
As you only get the option during the boot of your VM
I already have the console open while rebooting
And you're pressing it as it says to press it during boot?
as what says?
Sorry, while it's doing the boot countdown
It's okay, i pressed esc and got an error so i decided to re restart again and then nothing happened
so for some reason i cant boot into grub mode
maybe im doing something wrong
does anyone know the problem
It would be more effort to recover it than re-creating it at this point
i understand but i really dont want to make a new instance
Is there any reason why?
wont the ip of my server instance change
It doesn't necessarily need to, assuming OCI allows you to detatch the IP from the current instance, and re-attach it to the new one
dunno if oci allows you to do that
i mean if i just find out how to boot into grub mode, fixing the instance should be easy
Arguably it's more effort than just giving people a new IP, but I guess that's for you to decide
i really dont want to get rid of my original instance
GET RID OF IT SO I CAN MAKE ONE
>:)
what
i've been trying to make an instance for over a week
:doom_wojak:
over a week? me deleting my instance will probably not help you make one in the first place if you have been trying to make one for a WEEK
anyways the fact that you asked me to delete my instance makes me not to want to delete it
:LUL:
@Skullians help!!!
it's been like 12 days
do you have experience with oracle
i have a server
and i must say
recreate your instance
if you can't fix it
and you can't go into recovery mode
there is, afaik, no way to get your instance back
hence why you don't just randomly delete every file you see
why not
i dont want to lose my instance man
idk :Shruge: never had to use it
there has to be a way
to get it back
email oracle
that's what i'd do
They don't provide support for free users. Free users are on their own.
do they not?
they did for me
i did actually email them
and they wanted me to use like their customer support website
and the site looks outdated as hell
yep oracle support is not free
A guy named John Hudson from Oracle called me and emailed me once just to touch base. I sent him an email yesterday and he responded within minutes and helped me. Guess it's not the same for everyone, but I've gotten great support (for free.)
TIL, I usually see people saying they got told to figure it out on their own
it’s definitely a game of luck
I’ve had help from some emails, sometimes not
I guess you need an actual human you can contact
What do you mean by just to touch base?
He called me, told me about Oracle, asked me if I needed any help, etc.
It was like 6 months ago so I don’t really remember. Nice guy though.
Cool! Also what linux distro would you recommend for running a server? i know like most linux distros are basically the same but which one do most people go with?
i went with oracle linux for my old instance
i deleted the old instance
Ubuntu 22.04 with Ampere shape
That’s what was always recommended to me but I’m not Linux expert
setup.md
Oracle Cloud
A modified version of the guide produced by u/Belaboy1095969 on the Admincraft reddit using Ubuntu LTS.
Step by step!
Thanks!
is this updated? because oracle sometimes changes stuff in the site
looks updated to me
except atp you should probably go with java 21, as afaik MC 1.20.6+ requires it
in the bottom right theres a summary box that shows me how much im going to pay
is that normal?
i dont think i got that before when i made an instance
this is free right? @Torrent sorry for the ping
Ignore that, it’s free as long as you follow the guide and use AD-3
i dont see ad 3 as an option
Availability domain, pretty sure it’s the top section and defaults to it
its not there
ad 1 is the only option
That is a glitch for sure, or maybe has something to do with the fact you just deleted your instance
That’s very strange
oh yeah, I got called from oracle cloud sales before. they hung up once they learned I used it for personal usage
I literally told them I was using it for Minecraft and the dude was totally cool and helpful about it
Are you kidding me
so now i cant select ad 3?
Don’t know what to tell you bro
Ur cooked
@Skullians help :sobble:
remake your instance
yw
It won’t let him select AD-3. Is that the only one that’s always-free eligible?
no i am not welcome at all
i cant select ad 3 now
its not a choice
anymore
could you select it before?
also what region is this
Yeah i could
generally 1-3 are depending on regions
what AD did you create your current instance in
or have you terminated it
AD 1
i believe
i terminated it
because everyone kept telling me so
well
just select the AD that is available and free
also how do you reopen your server console after closing the ssh session?
use tmux or screen
So you can keep the mc server running when you close the ssh session
or better yet docker/panel
no offence the fact that they erased their entire OS files suggests it might not be the best idea
Minecraft Server on Docker (Java Edition)
Documentation for Minecraft Server on Docker
true
what is docker tho?
i dont really understand what it is and what its meant for
i heard its useful tho
container system, makes it able to isolate software in "containers", and easily replicate em
i think ill use screen for now
when i close the ssh session how do i reopen my screen session?
iirc you just run
screen
If that doesn’t work, list the sessions with screen -ls
and then screen -S <NAME_OF_SESSION>
the screen -s doesnt work
i typed the name of my session
send the output of
screen -ls
so you only want to type the numbers at the start of each one
so 8274, 8115, etc
i did that but nothing shows up
send the command you are running
Make sure it is an uppercase S
nothing shows up
🤔
way too complicated for a nobb like me
i tried every session
and nothing still showed up
Because to re-attach by ID, it is
screen -r 8303
screen -S
is to attach by session name iirc
It seems like it will be a lot easier in the long run for you as otherwise you'll need to learn how to figure out and fix issues on your own.the installation looks so complicated tho ðŸ˜
There are installation scripts (not that they are fully recommended though)
Ill install ptero but right now it would be really helpful if i could fix this simple issue, i attached a name to my session and did the command screen -r but it still didnt work
do
screen -ls
againThen the only screen session you have created is ID 1435
Which you're currently attached to (and are typing commands in)
im attached to it in another instance of putty
That other session of putty isn't in a screen session
?
When you SSH into a server, you have a terminal you get placed in.
When you run the screen command, you create a separate terminal which runs in the background even after you disconnect.
so i have to run the screen command then the screen -r command
No,
screen -r
is to reattach to a screen session you have already created previously
You need to run screen -s MyServer
to create a new session and start your server in this session
Then at a later time, after you've disconnected / reconnected, you can type screen -r MyServer
to reattach to that sessionlike screen -s MyServer server.jar
or do i run the server.jar after the screen command?
You can do either way
screen -s MyServer java -Xms 8G -Xmx 8G -jar server.jar
Though it would be more like ^screne?
Screen, I'm dyslexic, sorry
oh no its alright
it worked but now it doesnt work again randomly, could you help
Because you're already connceted to the "minecraft" screen
So start the server in there
but its already running
Then it's not running in that screen
You'll have to check with
screen -ls
If there are any others
That it's actually running inthe other one isnt server related i think
So what can i do?
ok nvm i somehow got back in to the console
dont know how but i did the -r command one final time and i got back in
strange
thats what i said too, its so ez and gives you a nice interface to set up your servers in, and you can connect multiple oracle instanes if you like
Yeah fr it’s not that bad if you just pay attention (and have someone to beg for help)
oh that too i forgot
Can someone help
i cant login to oracle instances
for whatever reason
it says "We have detected that your tenancy has been federated to another Identity Provider."
then when i choose continue
the web page just doesnt load
Ask oracle
Or google
How can i ask oracle
when their support is paid
Faq pages?
I looked and didnt find anything
i really need help like right now
Seems like what Oracle possibly does when they close your free account down?
^^ from what i could find
Reddit
From the oraclecloud community on Reddit
Explore this post and more from the oraclecloud community
What?
They closed it?
You would have to reach out to them to figure that out
How do i do that
Man this sucks
i didnt even do anything
They reclaim resources from free accounts they deem aren't using the resources
To go to paying customers
?
idk what that means
If you aren't using your instance with enough load / or they need the resources back
They will delete it and allow other paying customers to use the free resources they dedicated to your instance.
What exactly do they expect me to do?
install billions of plugins?
What do i do
There's nothing really you can do
i can still access my server through ftp
Uhh, if your service isn't down, then they likely haven't suspended you
I'd just take a backup of things to be sure, and reach out to their support, as originally said
take a backu
yeah
How?
In response to which part?
yeah like i can still ssh into my server
how can i contact oracle
i dont want to lose everything
back it up on your own machine
none of the pages load
It doesnt work
nothing works
I'm not Oracle support, that's just what I found from Googling, I'm unsure what the recommended way to reach out to them is :/
Can someone else help
pleaaaaaaaaaaaaaaaaaaaaaaaseeeeee
you do have the files backupped by now correct?
Yeah i transferred the files to my computer through an ftp client
thats your first priority, and google, we arent the only place you can ask how to contact oracle
I did google
nvm
i got back in
@SilentBot @ProGamingDk how can i secure my account from being deleted?
Pay
Or make sure you actually are using your resources. If you you have Minecraft servers that are offline or nothing is being actively saved into memory, then they will reclaim your resources
no
It doesn’t actually cost you lmao
It’s just the capacity is much higher for paid accounts
even if it’s using free resources
I’m on a pay as you go account and haven’t been charged at all
oh
pay for what
and also i know this has nothing to do with minecraft servers but how can i host a website for my server on my vps
That’s.. not something we can help you with. Nobody’s going to teach you how to code and deploy a website from scratch.
Except maybe ChatGPT
wtf
i didnt ask for help with coding a website
yeah you asked how to host a website on your vps, which requires code and deployment
even if it's already done nobody here is going to help you with that since it has nothing to do with minecraft and only loosely has to do with the theme of this server because a VPS is involved
Did you even try? Lol
https://letmegooglethat.com/?q=how+to+set+up+web+server+on+vps
RTFM, and be careful not to delete all ur files again
LetMeGoogleThat.com
How To Set Up Web Server On Vps
For those who think it's easier to annoy you than to Google 'How to set up web server on vps' themselves.
obviously it requires code, but when you ask how to host you dont ask how to code