Ipfs init not failing, tried on aws Linux and Ubuntu both

I am trying to set up ipfs node on aws, but it is failing with the following error:
ERROR provider.queue Failed to enqueue cid: leveldb: closed

Can someone help me with this

Thanks

I also see:

2021-04-12T17:09:01.724Z        ERROR   provider.queue  Failed to enqueue cid: leveldb: closed

After running ipfs init on my new installs. However if I ignore the error, the install appears to function fine anyways.