Its shared hosting, so it’s a little weird. I’ve gotten through a couple stumbling blocks.
– Figuring out shell access you have to use their assigned username and server name rather than root and ip
– Even though the server is running php 7.3 the command line is default accessing php 4. something so you have to specify php7.3-cli before commands that run php (like as grav’s cli)
I’m stuck again on a generic server error 500 and I’m having trouble finding the right logs. Also wondering if anyone out there has already done this and knows the typical stumbling blocks.
@syntaxErrr, There have been a handful of other posts with respect to 1&1 Ionos. Maybe one of these can help you: https://discourse.getgrav.org/search?q=ionos
Thanks, I read through those the other day. I didn’t find anything new. And between posting this and now, I kinda gave up and got the person to agree to switch to Digital Ocean. Maybe the best advice for what to do when confronted with Ionos hosting.
This solution works with IONOS:
- Prepare your site with a local dev stack like XAMPP or MAMP
- Upload all files including the hidden .htaccess file via FTP to the IONOS webspace.
- If you get some error clearing the /cache folder will help in most cases.
https://www.apachefriends.org/
2 Likes
Im posting a reply here as this might be relevant to others. Ive just done a manual install via ftp to 1&1 IONOS as wanted to make sure I can run it there on PhP 8.1 + and under their shared server conditions. Got the homepage up no problem but got 404s on all other site content. Purged the cache totally, as per hschnieder suggestion but this made no difference. Tried manually changing folder permissions. Nope. Googled for other info about Grav 404 errors and yay, the answer is uncommenting RewriteBase in htaccess and adding the folder youve got the site in: RewriteBase /mygravsite. This solved the problem and everything worked fine. [404 Not Found | Grav Documentation]
2 Likes