Michal Saloň
Michal Saloň
ZZerops
Created by Amos on 4/1/2025 in #💪・community-support
Postgres vector extension
Yeah sorry, I managed to confuse myself while explaining it :skillIssue:
17 replies
ZZerops
Created by Amos on 4/1/2025 in #💪・community-support
Postgres vector extension
No description
17 replies
ZZerops
Created by Amos on 4/1/2025 in #💪・community-support
Postgres vector extension
By default postgres user has it's own postgres schema. So when you create a DB, there are 3 schemas:
DBNAME - schema named same as your service, usually just "db"
public - standard schema created by postgres, we don't use it for anything
postgres - default schema for superuser
DBNAME - schema named same as your service, usually just "db"
public - standard schema created by postgres, we don't use it for anything
postgres - default schema for superuser
So when you log in as postgres user and do not specify a schema, it will default to postgres schema database.
17 replies
ZZerops
Created by Amos on 4/1/2025 in #💪・community-support
Postgres vector extension
Did you create it for the correct schema?
17 replies
ZZerops
Created by Amos on 4/1/2025 in #💪・community-support
Postgres vector extension
As Ales said, standard user doesn't have superuser permissions. To create/enable extensions, you need to use the superuser credendials, see: https://docs.zerops.io/postgresql/how-to/manage#how-to-install-and-manage-postgresql-plugins
17 replies
ZZerops
Created by minsomai on 3/31/2025 in #💪・community-support
is multiple zerops.yml for prod and QA possible?
Only one zerops.yaml can be defined, but one file can contain multiple setups.
7 replies
ZZerops
Created by bravisek on 11/18/2024 in #💪・community-support
Let's encrypt for subdomain wildcard
This. It's mentioned in our docs as well, if you want to use proxy for AAAA then you can't use A record with shared IPv4 at all. https://docs.zerops.io/features/dns#ipv6-only (see the Note here)
52 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
47 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
UI should say that you either need to use something like CloudFlare with only AAAA record and enable CF Proxy, or you need to set up AAAA and A records. For A record, you can use either our shared IPv4, which is free, or purchase a dedicated IPv4.
47 replies
ZZerops
Created by Louay on 3/14/2025 in #💪・community-support
Object storage custom domain
Did you set the A record correctly? If you only set AAAA and do not have IPv6 capable network, you will not be able to connect to it.
47 replies
ZZerops
Created by vavo on 3/11/2025 in #💪・community-support
Gitlab integration: expired token
Hi, we would like to, but it's not a simple fix, and GitLab isn't used by that many people, it's a bit lower in our priorities, but it's definitely still there. For now I would probably recommend trying to use GitLab CI/CD with our zCLI to push from GitLab. Here is a simple config which should give you 2 jobs deploy:dev (on branches) and deploy:prod (on tags) which pushes the code Zerops via zCLI. You just need to change XYZ for correct PROJECT and SERVICE IDs and also create a variable ZEROPS_ACCESS_TOKEN in you GitLab settings for that project, so zCLI can login and it should work. If it doesn't let me know, i will try to help you make it work. Access token can be generated on this page: https://app.zerops.io/settings/token-management
6 replies
ZZerops
Created by vavo on 3/11/2025 in #💪・community-support
Gitlab integration: expired token
Hello, yes we are aware of that, GitLab changed how the tokens work, and it flew under our radar as most people use GitHub or our zCLI. Currently the token expires every 2 hours :catSad:
6 replies
ZZerops
Created by Dally on 2/25/2025 in #💪・community-support
pnpm killed
Should be fixed :skillIssue:
21 replies
ZZerops
Created by Dally on 2/25/2025 in #💪・community-support
pnpm killed
Leave the container running for a bit, le tme check what it's set to
21 replies
ZZerops
Created by Dally on 2/25/2025 in #💪・community-support
pnpm killed
IIRC Char had issue with a missing package?
21 replies
ZZerops
Created by Dally on 2/25/2025 in #💪・community-support
pnpm killed
I am testing it and can't reproduce it. Container always starts with 8GB of RAM, whether it is new, or existing one with cache (see the available column):
free -h
total used free shared buff/cache available
Mem: 503.6G 134.6G 368.0G 2.1G 1.1G 8.0G
Swap: 8.0G 12.6M 8.0G
free -h
total used free shared buff/cache available
Mem: 503.6G 134.6G 368.0G 2.1G 1.1G 8.0G
Swap: 8.0G 12.6M 8.0G
21 replies
ZZerops
Created by Dally on 2/25/2025 in #💪・community-support
pnpm killed
Hi, if you can run it locally, how much RAM does it use? Because our build containers have fixed 8GB of RAM, so if it needs more, it will fail. You can test this using the Pipeline debug options with Before first command, just like you did, but connect to the build container twice. Run top or htop (to add htop you need to run sudo apk add htop first) on one tab, start your commands in second tab, and look at the RAM usage in top/htop (you can sort by RAM). If it somehow goes up to 8GB, then that would be the issue. If you see that the container has way less RAM than 8GB as it should, that is a bug on our side. If more RAM is needed, I can adjust it for that one build container to see if it helps, but 8GB should be plenty for 5CPU cores.
21 replies
ZZerops
Created by ZenitoGR | Chris | new dev on 2/22/2025 in #💪・community-support
I cannot host on zerops my vite project?
No description
11 replies
ZZerops
Created by ZenitoGR | Chris | new dev on 2/22/2025 in #💪・community-support
I cannot host on zerops my vite project?
Hmmm, this is the correct NodeJs documentation: https://docs.zerops.io/nodejs/overview This one should be deleted https://docs.zerops.io/nodejs/getting-started :facepalm: c.c. @Petra
11 replies
ZZerops
Created by ZenitoGR | Chris | new dev on 2/22/2025 in #💪・community-support
I cannot host on zerops my vite project?
You have port 3000 in zerops.yml and 8080 in your defineConfig and I do not see a PORT env variable defined in your zerops.yml that overrides it to 3000. Also, this will make /var/www/dist, /var/www/package.json and /var/www/node_modules files/folders
deployFiles:
- dist
- package.json
- node_modules
deployFiles:
- dist
- package.json
- node_modules
I am not sure how tis works exactly (not a JS on server side dev), but if you need content of dist folder directly in /var/www you can use ~
deployFiles:
- dist/~
- package.json
- node_modules
deployFiles:
- dist/~
- package.json
- node_modules
More info can be seen in our documentation: https://docs.zerops.io/
11 replies