Bad Messages
Bad Messages
RRailway
Created by Bad Messages on 3/3/2024 in #✋|help
Clear data automatically
Is it possible to clear my database data automatically every night at midnight? We are running a showcase type app using our web framework, and want to clear data. Also - with that being said, another user has "edit" access and they can do most everything else but can't wipe the volume. We can do other things but I'm wondering if its available for us via the UI https://fullstack.litestar.dev/
6 replies
RRailway
Created by Bad Messages on 2/17/2024 in #✋|help
Shared Projects
Someone with edit rights cant wipe a DB volume. Is there a way to allow this? Its for our open source project work
4 replies
RRailway
Created by Bad Messages on 2/15/2024 in #✋|help
Invoice per Project
Is it possible to get/view a breakdown of costs per-deployment in my invoice? I host 2 projects for open source communities and I need to be able to submit the expense but currently the PDF just shows a "lump sum" of usage and cost.
6 replies
RRailway
Created by Bad Messages on 11/21/2023 in #✋|help
Python with Node
Hello, We are having a bit of trouble providing a multi-service application that utilizes Node and Python on one of the services. The issue is nodenv is failing to install and then failing the subsequent npm install/build steps. Our nixpacks.toml: https://github.com/litestar-org/litestar-fullstack/blob/main/nixpacks.toml is there something we are missing?
#12 31.94 Installing the project as an editable package...

#12 34.02 ✔ Install app 0.1.0 successful

#12 34.02
#12 34.02 🎉 All complete!
#12 34.02

#12 34.97 Inside an active virtualenv /opt/venv, reusing it.
#12 34.97 Set env var PDM_IGNORE_ACTIVE_VENV to ignore it.

#12 35.11 Traceback (most recent call last):
#12 35.11 File "/app/scripts/pre-build.py", line 36, in <module>
#12 35.11 build_npm_assets({})
#12 35.11 File "/app/scripts/pre-build.py", line 28, in build_npm_assets
#12 35.11 subprocess.run([nodeenv_command, install_dir, "--force", "--quiet"], **kwargs) # noqa: PLW1510
#12 35.11 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#12 35.12 File "/root/.nix-profile/lib/python3.11/subprocess.py", line 548, in run
#12 35.12 with Popen(*popenargs, **kwargs) as process:
#12 35.12 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
#12 35.12 File "/root/.nix-profile/lib/python3.11/subprocess.py", line 1026, in __init__
#12 35.12 self._execute_child(args, executable, preexec_fn, close_fds,
#12 35.12 File "/root/.nix-profile/lib/python3.11/subprocess.py", line 1950, in _execute_child
#12 35.12 raise child_exception_type(errno_num, err_msg, err_filename)
#12 35.12 FileNotFoundError: [Errno 2] No such file or directory: 'nodeenv'
#12 31.94 Installing the project as an editable package...

#12 34.02 ✔ Install app 0.1.0 successful

#12 34.02
#12 34.02 🎉 All complete!
#12 34.02

#12 34.97 Inside an active virtualenv /opt/venv, reusing it.
#12 34.97 Set env var PDM_IGNORE_ACTIVE_VENV to ignore it.

#12 35.11 Traceback (most recent call last):
#12 35.11 File "/app/scripts/pre-build.py", line 36, in <module>
#12 35.11 build_npm_assets({})
#12 35.11 File "/app/scripts/pre-build.py", line 28, in build_npm_assets
#12 35.11 subprocess.run([nodeenv_command, install_dir, "--force", "--quiet"], **kwargs) # noqa: PLW1510
#12 35.11 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#12 35.12 File "/root/.nix-profile/lib/python3.11/subprocess.py", line 548, in run
#12 35.12 with Popen(*popenargs, **kwargs) as process:
#12 35.12 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
#12 35.12 File "/root/.nix-profile/lib/python3.11/subprocess.py", line 1026, in __init__
#12 35.12 self._execute_child(args, executable, preexec_fn, close_fds,
#12 35.12 File "/root/.nix-profile/lib/python3.11/subprocess.py", line 1950, in _execute_child
#12 35.12 raise child_exception_type(errno_num, err_msg, err_filename)
#12 35.12 FileNotFoundError: [Errno 2] No such file or directory: 'nodeenv'
40 replies