From d34496450be303b50f19c1d9f8c99184e06f0ae6 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Tue, 11 Feb 2025 13:03:49 +0100 Subject: [PATCH 1/3] feat(gen): troubleshooting index test --- .../troubleshooting/index.mdx | 37 ++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/pages/serverless-functions/troubleshooting/index.mdx b/pages/serverless-functions/troubleshooting/index.mdx index 18af1bd847..e7e29fcfb2 100644 --- a/pages/serverless-functions/troubleshooting/index.mdx +++ b/pages/serverless-functions/troubleshooting/index.mdx @@ -5,4 +5,39 @@ meta: content: h1: Functions - Troubleshooting paragraph: Find troubleshooting resources for resolving issues with Scaleway Serverless Functions. ---- \ No newline at end of file +--- + + +## Featured Pages + + + + + + + +## Serverless troubleshooting pages + +- [My secrets and variables are not injected properly in my function](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/cannot-inject-secret-variable/) +- [My function fails after trying too many times](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/too-many-retries/) +- [My function is in an error state](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/function-in-error-state/) +- [Tests fail on Serverless Functions](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/tests-fail-on-function/) +- [Unable to find the function handler](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/handler-not-found/) +- [My function stopped working after a redeploy](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/function-stopped-after-redeploy/) +- [I am unable to create a Serverless Functions namespace](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/cannot-create-namespace/) +- [I am experiencing timeout errors](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/timeout-error/) From 35966cac0e834b8ca0f4a6284c0250462652a868 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Wed, 12 Feb 2025 17:53:38 +0100 Subject: [PATCH 2/3] feat(gen): validated layout --- .../troubleshooting/index.mdx | 46 +++++++++++++++---- 1 file changed, 37 insertions(+), 9 deletions(-) diff --git a/pages/serverless-functions/troubleshooting/index.mdx b/pages/serverless-functions/troubleshooting/index.mdx index e7e29fcfb2..4d8530577e 100644 --- a/pages/serverless-functions/troubleshooting/index.mdx +++ b/pages/serverless-functions/troubleshooting/index.mdx @@ -3,10 +3,18 @@ meta: title: Functions - Troubleshooting description: Find troubleshooting resources for resolving issues with Scaleway Serverless Functions. content: - h1: Functions - Troubleshooting paragraph: Find troubleshooting resources for resolving issues with Scaleway Serverless Functions. +dates: + posted: 2025-01-14 +categories: + - serverless --- + ## Featured Pages @@ -30,14 +38,34 @@ content: label="See more" /> + + + + + ## Serverless troubleshooting pages -- [My secrets and variables are not injected properly in my function](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/cannot-inject-secret-variable/) -- [My function fails after trying too many times](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/too-many-retries/) -- [My function is in an error state](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/function-in-error-state/) -- [Tests fail on Serverless Functions](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/tests-fail-on-function/) -- [Unable to find the function handler](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/handler-not-found/) -- [My function stopped working after a redeploy](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/function-stopped-after-redeploy/) -- [I am unable to create a Serverless Functions namespace](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/cannot-create-namespace/) -- [I am experiencing timeout errors](https://www.scaleway.com/en/docs/serverless-functions/troubleshooting/timeout-error/) +- [My secrets and variables are not injected properly in my function](/serverless-functions/troubleshooting/cannot-inject-secret-variable/) +- [My function fails after trying too many times](/serverless-functions/troubleshooting/too-many-retries/) +- [My function is in an error state](/serverless-functions/troubleshooting/function-in-error-state/) +- [Tests fail on Serverless Functions](/serverless-functions/troubleshooting/tests-fail-on-function/) +- [Unable to find the function handler](/serverless-functions/troubleshooting/handler-not-found/) +- [My function stopped working after a redeploy](/serverless-functions/troubleshooting/function-stopped-after-redeploy/) +- [I am unable to create a Serverless Functions namespace](/serverless-functions/troubleshooting/cannot-create-namespace/) +- [I am experiencing timeout errors](/serverless-functions/troubleshooting/timeout-error/) From 8ec5d817aa0fafdab7b15e819de6eaafdfcdab60 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Mon, 10 Mar 2025 11:47:13 +0100 Subject: [PATCH 3/3] fix(dlb): remove extra FAQ in title --- faq/data-lab.mdx | 2 +- generate_page_list.py | 43 +++++ pages/pages-ts.md | 143 +++++++++++++++ pages/troubleshootingg/index.mdx | 305 +++++++++++++++++++++++++++++++ 4 files changed, 492 insertions(+), 1 deletion(-) create mode 100644 generate_page_list.py create mode 100644 pages/pages-ts.md create mode 100644 pages/troubleshootingg/index.mdx diff --git a/faq/data-lab.mdx b/faq/data-lab.mdx index 1651a99039..5b6310a150 100644 --- a/faq/data-lab.mdx +++ b/faq/data-lab.mdx @@ -3,7 +3,7 @@ meta: title: Distributed Data Lab FAQ description: Discover Scaleway Distributed Data Lab powered by Apache Spark, and how to use it. content: - h1: Distributed Data Lab FAQ + h1: Distributed Data Lab dates: validation: 2025-02-06 category: managed-services diff --git a/generate_page_list.py b/generate_page_list.py new file mode 100644 index 0000000000..2f83dd4be5 --- /dev/null +++ b/generate_page_list.py @@ -0,0 +1,43 @@ +import os +import re + +def extract_title(frontmatter): + title_match = re.search(r'title:\s*(.+)', frontmatter) + if title_match: + return title_match.group(1).strip('"').strip("'") + return None + +def process_file(file_path): + with open(file_path, 'r', encoding='utf-8') as file: + content = file.read() + frontmatter_end = content.find('---', 3) + if frontmatter_end != -1: + frontmatter = content[3:frontmatter_end].strip() + title = extract_title(frontmatter) + if title: + return f"[{title}]({file_path})" + return None + +def main(): + pages_file = 'pages/pages-ts.md' + with open(pages_file, 'r', encoding='utf-8') as file: + pages_content = file.readlines() + + page_paths = [] + for line in pages_content: + line = line.strip() + if line and not line.startswith('#') and not line.startswith('---'): + page_paths.append(line) + + page_list = [] + for page_path in page_paths: + full_path = os.path.join(os.path.dirname(pages_file), page_path) + page_entry = process_file(full_path) + if page_entry: + page_list.append(page_entry) + + for entry in page_list: + print(entry) + +if __name__ == "__main__": + main() \ No newline at end of file diff --git a/pages/pages-ts.md b/pages/pages-ts.md new file mode 100644 index 0000000000..ba5177cd65 --- /dev/null +++ b/pages/pages-ts.md @@ -0,0 +1,143 @@ +### Account +[I cannot close my account and erase personal data](/account/troubleshooting/cannot-erase-account/) +[I cannot log into my account](/account/troubleshooting/cannot-log-into-account/) + +### Apple Silicon +[Troubleshooting SSH connection issues to Scaleway Mac mini servers](/apple-silicon/troubleshooting/cant-connect-using-ssh/) +[Troubleshooting remote desktop connections to Mac mini servers](/apple-silicon/troubleshooting/cant-connect-using-vnc/) +[Troubleshooting account creation for hosted Mac minis](/apple-silicon/troubleshooting/cant-create-apple-account/) +[Troubleshooting deletion issues with Mac minis](/apple-silicon/troubleshooting/cant-delete-mac-mini/) + +### Audit Trail +[I cannot see any events in Audit Trail](/audit-trail/troubleshooting/cannot-see-events/) + +### Billing +[I cannot add a payment method](/billing/troubleshooting/cannot-add-payment-method/) +[Fix common billing issues](/billing/troubleshooting/fix-common-billing-issues/) + +### Cockpit +[My Pusher does not support custom HTTP headers](/cockpit/troubleshooting/pusher-does-not-support-custom-http-headers/) +[Resetting a Grafana password](/cockpit/troubleshooting/resetting-grafana-password-via-the-api/) +[No data showing up on Grafana dashboards](/cockpit/troubleshooting/synchronize-grafana-data-sources/) + +### Data Lab +[Troubleshooting Distributed Data Lab execution issues](/data-lab/troubleshooting/cannot-run-data-lab/) + +### Dedibox Hardware +[Diagnosis of a failing disk](/dedibox-hardware/troubleshooting/diagnose-defective-disk/) + +### Elastic Metal +[Enabling SSH on Elastic Metal servers running virtualization distributions](/elastic-metal/troubleshooting/enable-ssh-virtualization-distribution/) +[Replacing a failed drive in a RAID1 software RAID](/elastic-metal/troubleshooting/replace-failed-drive-software-raid/) +[Resetting the Administrator password on Windows Server OS](/elastic-metal/troubleshooting/reset-admin-password-windows-server/) +[Troubleshooting common Elastic Metal server access issues](/elastic-metal/troubleshooting/troubleshoot-access-issues/) +[Troubleshooting an Elastic Metal server blocked installation](/elastic-metal/troubleshooting/troubleshoot-installation/) +[Troubleshooting remote access (KVM over IP) issues on Elastic Metal servers](/elastic-metal/troubleshooting/troubleshoot-remote-access-issues/) +[Troubleshooting SSH connection issues on Elastic Metal servers](/elastic-metal/troubleshooting/troubleshoot-ssh-issues/) + +### Generative APIs +[Fixing common issues with Generative APIs](/generative-apis/troubleshooting/fixing-common-issues/) + +### GPU +[Fixing GPU issues after installing nvidia-driver packages](/gpu/troubleshooting/fix-driver-issues/) +[Installing NVIDIA drivers on Ubuntu 22.04](/gpu/troubleshooting/install-nvidia-drivers-ubuntu/) +[Fixing GPU issues after upgrading GPU Instances with cloud-init](/gpu/troubleshooting/updating-gpu-instance-with-cloud-init/) + +### IAM +[I am not allowed to perform actions on resources](/iam/troubleshooting/cannot-use-resources/) + +### Instances +[Dealing with the end of life of the bootscript feature](/instances/troubleshooting/bootscript-eol/) +[Troubleshooting SSH connection issues to Instances](/instances/troubleshooting/cant-connect-ssh/) +[I cannot connect to my Instance using SSH after attaching it to a Private Network](/instances/troubleshooting/cant-connect-to-instance-with-pn-gateway/) +[Changing the rescue mode of your Instance](/instances/troubleshooting/change-rescue-mode/) +[Fix broken VPN when switching OpenVPN Instance to routed IP](/instances/troubleshooting/fix-broken-vpn-when-switching-openvpn-vm-to-routed-ip/) +[Fix the wrong user configuration of cloud-init on Debian 12 (Bookworm)](/instances/troubleshooting/fix-cloud-init-debian12/) +[Fix common issues with Scaleway Instances](/instances/troubleshooting/fix-common-issues/) +[Fixing DNS resolution with a routed IPv6-only setup on Debian Bullseye](/instances/troubleshooting/fix-dns-routed-ipv6-only-debian-bullseye/) +[Fix error when fetching SSH keys on Windows Server 2022](/instances/troubleshooting/fix-error-message-in-scw-fetch-ssh-keys/) +[Fix long delays when booting without a public IP](/instances/troubleshooting/fix-long-delays-booting-without-public-ip/) +[Fix lost IPv6 connectivity on old Debian Buster images when migrating to routed IP](/instances/troubleshooting/fix-lost-ip-connectivity-on-debian-buster/) +[Fixing wrong PPA configuration on Ubuntu Noble Instances](/instances/troubleshooting/fix-noble-wrong-ppa-configuration/) +[Fix unreachable Ubuntu Focal Instance when it has two public IP adresses](/instances/troubleshooting/fix-unreachable-focal-with-two-public-ips/) +[Fix unreachable IPv6 RHEL-based Instances after transitioning to routed IP](/instances/troubleshooting/fix-unreachable-ipv6-rhel-based-instance/) +[Fix unreachable Ubuntu Noble Instances following a reboot](/instances/troubleshooting/fix-unreachable-noble-after-reboot/) +[Troubleshooting issues with faulty kernel installations](/instances/troubleshooting/reboot-from-faulty-kernel/) + +### Kubernetes +[Configuring a SQL storage backend in Helm on Scaleway Kubernetes Kapsule](/kubernetes/troubleshooting/configuring-sql-storage-backend-helm/) +[Containers are not starting on ARM Instances](/kubernetes/troubleshooting/containers-not-starting-arm-instances/) + +### Load Balancer +[Load Balancer Limitations](/load-balancer/troubleshooting/load-balancer-limitations/) + +### Managed Databases for PostgreSQL and MySQL +[Dealing with Database Instance connectivity issues](/managed-databases-for-postgresql-and-mysql/troubleshooting/database-instance-connectivity-issues/) +[Dealing with Database Instance performance issues](/managed-databases-for-postgresql-and-mysql/troubleshooting/database-instance-performance-issues/) +[Dealing with Database Instance unavailability](/managed-databases-for-postgresql-and-mysql/troubleshooting/database-instance-unavailable/) +[Dealing with disk_full mode in a Database Instance](/managed-databases-for-postgresql-and-mysql/troubleshooting/disk-full/) +[Dealing with common PostgreSQL extension errors](/managed-databases-for-postgresql-and-mysql/troubleshooting/extension-errors/) + +### Object Storage +[My API key does not work with Object Storage](/object-storage/troubleshooting/api-key-does-not-work/) +[I cannot access my data](/object-storage/troubleshooting/cannot-access-data/) +[I cannot delete my bucket](/object-storage/troubleshooting/cannot-delete-bucket/) +[I cannot restore my objects from Glacier](/object-storage/troubleshooting/cannot-restore-glacier/) +[I lost access to a bucket after applying a bucket policy](/object-storage/troubleshooting/lost-bucket-access-bucket-policy/) +[I am experiencing performance issues](/object-storage/troubleshooting/low-performance/) + +### Public Gateways +[I cannot connect to my Instance using SSH after attaching it to a Private Network with a Public Gateway](/public-gateways/troubleshooting/cant-connect-to-instance-with-pn-gateway/) +[I attached the Public Gateway to my Private Network, but the services provided by the gateway are not working (NAT etc)](/public-gateways/troubleshooting/gateway-services-not-working/) +[Public Gateway Limitations](/public-gateways/troubleshooting/gw-limitations/) + +### Serverless Containers +[Error code 502](/serverless-containers/troubleshooting/502-error-when-scaling/) +[I am unable to create a Serverless Containers namespace](/serverless-containers/troubleshooting/cannot-create-namespace/) +[I am unable to deploy my image](/serverless-containers/troubleshooting/cannot-deploy-image/) +[My secrets and variables are not injected properly in my container](/serverless-containers/troubleshooting/cannot-inject-secret-variable/) +[I cannot retrieve an external image for my container](/serverless-containers/troubleshooting/cannot-retrieve-external-image/) +[My container stopped working after a redeploy](/serverless-containers/troubleshooting/container-stopped-after-redeploy/) +[Tests fail on Serverless Containers](/serverless-containers/troubleshooting/tests-fail-on-container/) + +### Serverless Functions +[I am unable to create a Serverless Functions namespace](/serverless-functions/troubleshooting/cannot-create-namespace/) +[My secrets and variables are not injected properly in my function](/serverless-functions/troubleshooting/cannot-inject-secret-variable/) +[My function does not build properly](/serverless-functions/troubleshooting/function-build-error/) +[My function is in an error state](/serverless-functions/troubleshooting/function-in-error-state/) +[My function stopped working after a redeploy](/serverless-functions/troubleshooting/function-stopped-after-redeploy/) +[Unable to find the function handler](/serverless-functions/troubleshooting/handler-not-found/) +[Tests fail on Serverless Functions](/serverless-functions/troubleshooting/tests-fail-on-function/) +[I am experiencing timeout errors](/serverless-functions/troubleshooting/timeout-error/) +[My function fails after trying too many times](/serverless-functions/troubleshooting/too-many-retries/) + +### Serverless Jobs +[My secrets and variables are not injected properly in my job](/serverless-jobs/troubleshooting/cannot-inject-secret-variable/) +[I cannot retrieve an external image for my job](/serverless-jobs/troubleshooting/cannot-retrieve-external-image/) +[My Job run is in an error state](/serverless-jobs/troubleshooting/job-in-error-state/) +[Missing metrics for my Job Run](/serverless-jobs/troubleshooting/missing-metrics/) + +### Serverless SQL Databases +[Solving connection errors](/serverless-sql-databases/troubleshooting/connection-errors/) +[Solving Serverless SQL Databases connection timeouts](/serverless-sql-databases/troubleshooting/connection-timeout/) +[Solving failing manual backup and restore operations](/serverless-sql-databases/troubleshooting/failing-backup-restore/) +[Solving maximum prepared statements size errors](/serverless-sql-databases/troubleshooting/maximum-prepared-statements-reached/) + +### Transactional Email +[Getting delisted from Spamhaus](/transactional-email/troubleshooting/delist-domain/) + +### VPC +[My Instance is attached to a Private Network but auto-configuration is not working](/vpc/troubleshooting/autoconfig-not-working/) +[I can't delete my VPC or Private Network](/vpc/troubleshooting/cant-delete-vpc-pn/) +[I am experiencing SSL or DNS errors and conflicts with my Private Network](/vpc/troubleshooting/pn-name/) +[Private DNS and/or DHCP are not working](/vpc/troubleshooting/private-dns-dhcp-not-working/) +[My resource is attached to a Private Network but has no IP address on the network](/vpc/troubleshooting/resource-attached-no-ip/) +[VPC Limitations](/vpc/troubleshooting/vpc-limitations/) +[I am experiencing connectivity or routing issues with my VPC or Private Network](/vpc/troubleshooting/vpc-pn-routing-connectivity-issues/) + +### Webhosting +[Troubleshooting email or website access issues](/webhosting/troubleshooting/cant-access-website-mail/) +[Troubleshooting FTP access issues](/webhosting/troubleshooting/cant-connect-ftp/) +[Troubleshooting cPanel or Plesk access issues](/webhosting/troubleshooting/troubleshooting-access-issues-cpanel-plesk/) +[Troubleshooting DNS issues](/webhosting/troubleshooting/troubleshooting-dns-issues/) +[Troubleshooting email delivery issues](/webhosting/troubleshooting/troubleshooting-email/) \ No newline at end of file diff --git a/pages/troubleshootingg/index.mdx b/pages/troubleshootingg/index.mdx new file mode 100644 index 0000000000..c500892231 --- /dev/null +++ b/pages/troubleshootingg/index.mdx @@ -0,0 +1,305 @@ +--- +meta: + title: Support Hub + description: Find information, assistance, and solutions related to Scaleway products and services. +content: + h1: + paragraph: Find information, assistance, and solutions related to Scaleway products and services. +--- + + + + + + + + + + + + + + +## Most viewed pages + + + + + + + +
+ - [My account has been locked]() + - [I can't connect to my instance using SSH]() + - [I can't connect to my Mac Mini using VNC]() + - [How to add a payment method]() + - [How to rename an Organization]() + + - [How to delete an account]() + - [How to validate your identity]() + - [My API key does not work with Object Storage]() + - [I need help installing NVIDIA drivers on Ubuntu 22.04]() + - [I am not allowed to perform actions on resources]() +
+ +## Browse troubleshooting pages by product + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file