Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

odoo and nextcloud on the same server

Subscribe

Get notified when there's activity on this post

This question has been flagged
4 Replies
6954 Views
Avatar
xinux

Hello Everybody

Sorry for my question, I guess it is more about apache2 config but maybe there a charitative soul for the newbies :-)    please forgive me if I mix some technical language, my poor server knowledge and english as my second language could do a real mess.

 I want to add a full nextcloud server like "https://mysite/nextcloud" where I have my Odoo installation. 

Environment: on my own machine: Ubuntu 18.4, Odoo 11 installed with  Yenthe666 script.

So far so good I followed a script out there  where said how to proxypass and redirect my server to change http://mysite:8069 to https://mysite    then my "/etc/apache2/sites-available/*.conf"  apache files are as this tutorial: https://antiun.github.io/odoo-reverse-proxy-howto/   to have a reference on where I am till now.

I tried several apache tutorials, virtual host configs but I give up, I couldn`t get the result, if someone could help me with what I should change on will be appreciated! :-) 

0
Avatar
Discard
Avatar
SEMPER CONNECT, Sébastien COURATIN
Best Answer

It's not a good idea. The characteristics of a high-performance nextcloud server and a high-performance odoo server are not the same. I advise you to make two servers in a virtualized environment for example.

Regard,

0
Avatar
Discard
Avatar
Ermin Trevisan
Best Answer

When you want to do things like that you need to have indepth knowledge of hostnames, request URLs and reverse proxy servers. This is not about Odoo and not about Nextcloud. In the first place I personally do not recommend to run Nextcloud on the same server as Odoo, because maintaining 2 different stacks on 1 server make things unnecessarily complicated.

The second issue is about using Odoo and Nextcloud with the same hostname. I recommend to use different domains for each applications, but at least different subdomains, this makes things much easier. Otherwise you have to analyze and separate all different URL paths of both applications and define the proper redirection rules in your vhost file.

0
Avatar
Discard
Avatar
xinux
Author Best Answer

Dear Piotr

Oddo is a webserver "per se" and of course you can install many "Odoo´s" just pointing to different ports (8069, 8169 and so for example) but nextcloud is a php app then you should put nextcloud and Odoo behind an Apache (or nginx) proxy.

Pointly my question is how to configure things to have access to Oddo on "https://mysite.com" and nextcloud in "https://mysite/nextcloud"  when I try to do that, modifying the .conf example files of https://antiun.github.io/odoo-reverse-proxy-howto/    I just get Oddo saying "404 page not found"



0
Avatar
Discard
Piotr Cierkosz

1) You can install many Odoo but different versions have different requirement(for example different PG version) and that is why many people are complaining that "Odoo 8 and Odoo 10 doesn't work on the same server")

2) SO it is an Apache error. What is your config file like? I am running Wordpress along with Odoo and html pages on one machine without any issue - I just keep the configs for Apache in separate files(for every domain/service)

Avatar
Piotr Cierkosz
Best Answer

Could you clarify what is the problem exactly? Apache configuration or conflict between nextcloud and Odoo?

If you used Yenthe's script Odoo is accessible by default on 8069 port. If you are new to the things I would recommend to use Nginx for both Nextcloud as well as for Odoo. As you already installed Odoo you can follow this steps:

1) Set the nginx uwith Odoo using official template (https://www.odoo.com/documentation/11.0/setup/deploy.html#https)

2) Install NextCloud and configure it with nginx using official documentation(https://docs.nextcloud.com/server/12/admin_manual/installation/nginx.html)

3) Restart the server and check if everything works.

As I never heard about nextcloud I don't know if they won't conflict with each other. For example if you want to install Odoo 9 and Odoo 12 on one server there are likely to be some errors. In that case you can use Docker which creates ecosystems for every application(containers) on the server. Both Odoo and NextCloud have installation packages for Docker.

Good luck

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk Slovenščina Español (América Latina) Español Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now