Steps to Remove /odoo from the URL 1. Modify the wsgi_script Path in Odoo You can adjust Odoo's behavior to drop /odoo from the path: Locate the wsgi_script Configuration in Odoo: Open the odoo.conf file located in your Odoo installation directory. Edit the Base URL Behavior: Find the parameter controlling the base route (web.base.url) and remove the /odoo from it. 2. Use a Reverse Proxy The best way to clean up the URL is by using a reverse proxy like NGINX or Apache. Set up NGINX:
why did my odoo installation pop up didn't show the "configure the information for the postgreSQL correction" page and i can't choose to install postgreSQL database? it's blank, i'm confused, please help me 🥲
PostgreSQL is Already Installed: The Odoo installer skips the PostgreSQL setup if it detects an existing PostgreSQL installation. If PostgreSQL is installed but not configured correctly, it won't display the configuration page.Permissions Issue: Lack of administrative permissions during the installation can cause certain steps to be skipped, including database setup. Odoo Installer Without PostgreSQL: Some versions of the Odoo installer do not bundle PostgreSQL, requiring you to install and configure it separately.
What did you add when you entered visual studio code and modified some codes? Why don't you download it from the site and work with the program directly? Do you mean that if we download it from the site directly it will not work?
sorry can you please tell me what do you mean by ("What did you add when you entered visual studio code and modified some codes?) do you mean by installing visual studio code? if yes yes you can ofcourse download it from direct site
@@odooistic What I mean is that you downloaded Odoo18 from the site. This is known, but after downloading, you went to the code.visualstudio site and did the downloading process. Then, from minute 9:06, you opened the server file. After that, you installed python. Then, you copied the codes and pasted them from minute 11 and beyond. I mean, why didn't you download the site from the site and run it directly? Will it not work unless you make some modifications or what?
Hello, when you install odoo then installer ask you about installing postgreSQL. Please check first if it's already installed, if yes then uninstall it and install odoo again then keep watching about postgreSQL installation checkbox and remember to check ✔️ it. I hope that answers your question
Hello, when trying to run its saying ModuleNotFoundError and have to manually install all module. Can you pls tell if there is anything I can do about that
its bit strange behaviour, can you please change python path because it looks like you have installed multiple python versions and odoo is using another one which is not holding all module dependencies. or create a virtual env and path\to\venv\Scripts\activate thennavigate to odoo directory cd path\to\odoo then -> install all dependencies by using this command pip install -r requirements.txt then After installation, check that all modules are correctly installed: pip list With the virtual environment active and dependencies installed, start Odoo: python odoo-bin -c path\to\odoo.conf
"Hi! If the .json file isn't being created automatically after installing the extension, don't worry! Here's what you can do to resolve this: Check Extension Functionality: Ensure the required extension (e.g., Python or Odoo Debug) is installed correctly in Visual Studio Code. You can check this by: Going to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS). Searching for the extension and ensuring it’s enabled. Manually Create the File: If the .json file (like launch.json for debugging) is still missing, you can create it manually: Open your project in Visual Studio Code. Navigate to the Run and Debug view by clicking the play icon in the left-hand menu or pressing Ctrl+Shift+D (Cmd+Shift+D on macOS). If prompted, click Create a launch.json file and choose the appropriate environment (Python in this case). If no prompt appears, manually create a launch.json file in the .vscode folder within your project directory: Right-click on the folder, select New File, and name it launch.json and then add the content which i have provided. cheers
Open a terminal (or command prompt on Windows) and navigate to the directory where your Odoo source code is located. For example: cd /path/to/your/odoo then Confirm which branch you’re on. This is important because Odoo has different branches for different versions (16.0, 17.0, 18.0, etc.): git branch. If you’re on the correct branch (e.g., 18.0), you can proceed. If not, switch to it: git checkout 18.0. Fetch the latest updates from the Odoo repository and pull them into your branch: git fetch origin git pull origin 18.0 replace 18.0 if its different one
Steps to Remove /odoo from the URL 1. Modify the wsgi_script Path in Odoo You can adjust Odoo's behavior to drop /odoo from the path: Locate the wsgi_script Configuration in Odoo: Open the odoo.conf file located in your Odoo installation directory. Edit the Base URL Behavior: Find the parameter controlling the base route (web.base.url) and remove the /odoo from it. 2. Use a Reverse Proxy The best way to clean up the URL is by using a reverse proxy like NGINX or Apache. Set up NGINX:
@@odooistic "Odoo service center running on desktop" - didn't see this showing up. Actually all the messages that showed up in Terminal at 14:31 didn't show up to me. What did I do wrong?
14:31 this time i discussed about python path in json file, so you need to look in your system that where python path is. it will be in the odoo folder which you have installed lets suppose in odoo folder look for python folder and then python.exe 14:42 its just about that odoo is running and we are going to see by hitting localhost:8069
Can you add third party modules via this instance?
And we also looking for UBUNTU?
sure i will update you soon
Is it possible to remove /odoo from the url. I want 'localhost:8069/inventory' instead of 'localhost:8069/odoo/inventory'
Steps to Remove /odoo from the URL
1. Modify the wsgi_script Path in Odoo
You can adjust Odoo's behavior to drop /odoo from the path:
Locate the wsgi_script Configuration in Odoo:
Open the odoo.conf file located in your Odoo installation directory.
Edit the Base URL Behavior:
Find the parameter controlling the base route (web.base.url) and remove the /odoo from it.
2. Use a Reverse Proxy
The best way to clean up the URL is by using a reverse proxy like NGINX or Apache.
Set up NGINX:
why did my odoo installation pop up didn't show the "configure the information for the postgreSQL correction" page and i can't choose to install postgreSQL database? it's blank, i'm confused, please help me 🥲
PostgreSQL is Already Installed:
The Odoo installer skips the PostgreSQL setup if it detects an existing PostgreSQL installation.
If PostgreSQL is installed but not configured correctly, it won't display the configuration page.Permissions Issue:
Lack of administrative permissions during the installation can cause certain steps to be skipped, including database setup.
Odoo Installer Without PostgreSQL:
Some versions of the Odoo installer do not bundle PostgreSQL, requiring you to install and configure it separately.
What did you add when you entered visual studio code and modified some codes? Why don't you download it from the site and work with the program directly? Do you mean that if we download it from the site directly it will not work?
sorry can you please tell me what do you mean by ("What did you add when you entered visual studio code and modified some codes?) do you mean by installing visual studio code? if yes yes you can ofcourse download it from direct site
@@odooistic What I mean is that you downloaded Odoo18 from the site. This is known, but after downloading, you went to the code.visualstudio site and did the downloading process. Then, from minute 9:06, you opened the server file. After that, you installed python. Then, you copied the codes and pasted them from minute 11 and beyond.
I mean, why didn't you download the site from the site and run it directly?
Will it not work unless you make some modifications or what?
Hello. For some reason my installer doesn't create the PostgreSQL service. Any ideas?
Hello, when you install odoo then installer ask you about installing postgreSQL. Please check first if it's already installed, if yes then uninstall it and install odoo again then keep watching about postgreSQL installation checkbox and remember to check ✔️ it. I hope that answers your question
@odooistic I did that and didn't work. I solved it by installing PostgreSQL manually.
Hello, when trying to run its saying ModuleNotFoundError and have to manually install all module. Can you pls tell if there is anything I can do about that
its bit strange behaviour, can you please change python path because it looks like you have installed multiple python versions and odoo is using another one which is not holding all module dependencies. or create a virtual env and path\to\venv\Scripts\activate thennavigate to odoo directory cd path\to\odoo then -> install all dependencies by using this command pip install -r requirements.txt then After installation, check that all modules are correctly installed:
pip list With the virtual environment active and dependencies installed, start Odoo:
python odoo-bin -c path\to\odoo.conf
Hi! It's not generating the .json file
Afer installing the extension, it's not creating the .json
"Hi! If the .json file isn't being created automatically after installing the extension, don't worry! Here's what you can do to resolve this:
Check Extension Functionality:
Ensure the required extension (e.g., Python or Odoo Debug) is installed correctly in Visual Studio Code. You can check this by:
Going to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS).
Searching for the extension and ensuring it’s enabled.
Manually Create the File:
If the .json file (like launch.json for debugging) is still missing, you can create it manually:
Open your project in Visual Studio Code.
Navigate to the Run and Debug view by clicking the play icon in the left-hand menu or pressing Ctrl+Shift+D (Cmd+Shift+D on macOS).
If prompted, click Create a launch.json file and choose the appropriate environment (Python in this case).
If no prompt appears, manually create a launch.json file in the .vscode folder within your project directory:
Right-click on the folder, select New File, and name it launch.json and then add the content which i have provided. cheers
run the VS Code as admin. This should fix ur problem.
How to update local odoo to latest odoo code from github?
Open a terminal (or command prompt on Windows) and navigate to the directory where your Odoo source code is located. For example:
cd /path/to/your/odoo then Confirm which branch you’re on. This is important because Odoo has different branches for different versions (16.0, 17.0, 18.0, etc.): git branch. If you’re on the correct branch (e.g., 18.0), you can proceed. If not, switch to it: git checkout 18.0. Fetch the latest updates from the Odoo repository and pull them into your branch: git fetch origin
git pull origin 18.0 replace 18.0 if its different one
Can you a video of how to install Odoo 18 on Ubuntu Server
sure, just give me somedays i will share video very soon
14:42 didn't get these messages 😅
Steps to Remove /odoo from the URL
1. Modify the wsgi_script Path in Odoo
You can adjust Odoo's behavior to drop /odoo from the path:
Locate the wsgi_script Configuration in Odoo:
Open the odoo.conf file located in your Odoo installation directory.
Edit the Base URL Behavior:
Find the parameter controlling the base route (web.base.url) and remove the /odoo from it.
2. Use a Reverse Proxy
The best way to clean up the URL is by using a reverse proxy like NGINX or Apache.
Set up NGINX:
sorry wrongly sent this reply, please ignore
didn't get these messages , sorry i did'nt get this, what do you mean?
@@odooistic "Odoo service center running on desktop" - didn't see this showing up. Actually all the messages that showed up in Terminal at 14:31 didn't show up to me. What did I do wrong?
14:31 this time i discussed about python path in json file, so you need to look in your system that where python path is. it will be in the odoo folder which you have installed lets suppose in odoo folder look for python folder and then python.exe
14:42 its just about that odoo is running and we are going to see by hitting localhost:8069