Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
F

fanvyr

@fanvyr
About
Posts
7
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Expense Categories not shown up - VITE_IS_TEST=true
    F fanvyr

    Got resolved.
    https://github.com/invoiceninja/ui/issues/2151

    Invoice Ninja

  • Update in Production Channel
    F fanvyr

    Hey there,

    when heading to the settings page, i get the offer to update to the latest (beta) update.

    I need because of a migration thing, the latest STABLE release. Any possibility to only update to the latest stable? Do i miss something?

    Thank you so much guys ❤

    Support updates

  • Strapi - Open source Node.js Headless CMS to easily build customisable APIs
    F fanvyr

    any updates here? would love to have strapi here as well...

    App Wishlist

  • Expense Categories not shown up - VITE_IS_TEST=true
    F fanvyr

    Hey folks,

    since a few updates (sadly we don't know which), the ExpenseCategories are not fully loaded when adding a new Expense.
    Only one is beeing shown:

    one-category

    If you start typing, one match will be shown, but you have to know which all exist. Sadly not an option.

    After some research, we found the following:

    The network requests specifically asks for only ONE ExpenseCategory (per Page), as shown here:
    CleanShot 2024-10-25 at 16.58.31.png
    URL: /api/v1/expense_categories?status=active&per_page=1&sort=name%7Casc&filter=

    We found a GitHub Issue claiming to have the same issue.

    So, as you can see in the thread, they suggest the VITE_IS_TEST env is probably set to true, which can be verified by checking the Reports Page.

    If only 4 Products are present in the Dropdown, then the VITE_IS_TEST var is set to true (or equally NOT set to false).

    CleanShot 2024-10-25 at 17.02.14.png

    So, we went over to the Cloudron Dashboard, into the Terminal of the InvoiceNinja App and checked the .env files.

    First, the "Main" .env file (/app/data/env) seems to be the right place. But adding the VITE_IS_TEST=false does not change anything.

    In the GitHub Issue they say, we have to look for the .env file where also the VITE_API_URL var is present and should look like this example.

    The thing is, i do not find the right place. As all the VITE configuration is specifically for the React App, i cannot figure out how to set env-vars for it.

    I also tried to manually set a global var via the cloudron cli (cloudron env set VITE_IS_TEST=false --app <app-id> but with no success.

    So, a few questions:

    • Do you experience the same behaviour?
    • Is the frontend already built / bundled?
    • Where can we pass VITE_XX env vars to the UI / frontend?
    • What other impacts does the VITE_IS_TEST=true have on other features?

    Thank you so much for your help ❤

    Invoice Ninja
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search