Moving InvoiceNinja from subdomain to subfolder?

Hi.

Currently I’m running InvoiceNinja in subdomain.domain.com. I’m would like to move it to domain.com/invoiceninja/The reason is SSL certificate that I’ll be getting for main domain. It’s not wildcard so subdomains will not be SSL. I tried to copy InvoceNinja but it will not work. Is that even possible?

Thank you

Br,
Dali

You should be able to make this change by re-configuring your web server.

If you want to copy the app you just need to make sure to also copy the .env file.

Hi Hillel.

I’ve been actually able to get it working and it seems everything is running smoothly. The only thing is that proper fonts are not found. The system is looking for it in domain root instead of domain.com/subfolder/public/fonts.

dashboard:1109 GET http://domain.com/fonts/Roboto-regular/Roboto-regular.woff2
dashboard:1109 GET http://domain.com/fonts/Roboto-700/Roboto-700.woff2
dashboard:2135 GET http://domain.com/fonts/Roboto-100/Roboto-100.woff2
dashboard:2488 GET http://domain.com/fonts/Roboto-regular/Roboto-regular.woff
dashboard:2488 GET http://domain.com/fonts/Roboto-700/Roboto-700.woff
dashboard:2488 GET http://domain.com/fonts/Roboto-100/Roboto-100.woff
dashboard:2488 GET http://domain.com/fonts/Roboto-regular/Roboto-regular.ttf
dashboard:2488 GET http://domain.com/fonts/Roboto-700/Roboto-700.ttf
dashboard:2488 GET http://domain.com/fonts/Roboto-100/Roboto-100.ttf

If I copy the font folder in domain root it works good, but that’s not a solution. Maybe you can set relative path for fonts?

Thank you

Br,
Dali

Thanks for letting us know, we’ll look into correcting it.

Thank you Hillel. Your support is amazing!!!

If possible please drop me a note, so I can update and delete root Fonts folder that I copied as a workaround.

Thank you
Br,
Dali

This will most likely be in the v3.1 release.

No problem, it’s working now with copied folder.

Thank you
Br,
Dali

Hi Hillel.

Another thing, I just noticed, that does not work is google maps in client’s view. I don’t need it though, but it’s nice to see everything is working. Probably also a quick path fix.

Sorry! Something went wrong.
This page didn’t load Google Maps correctly. See the JavaScript console for technical details.

Br,
Dali

More info here: http://docs.invoiceninja.com/en/latest/configure.html#google-map

You can disable it by adding GOOGLE_MAPS_ENABLED=false

Fixed :), plus saving some GUI space :slight_smile: Thx for suggestion.

Maybe you could fix it for users that needs a feature. Else, so far, seems to be working in sub folder installation.

Thx again!!!

Br,
Dali