Hi,
Not sure during what stage I could of made a mistake but I made a backup of a database running on my windows pc on localhost and restored it to an odoo ubunto server. The restore had worked no problem.
Between 48 and 24 hours ago, I was working on conf files for odoo and Nginx. I do not have any custom or 3rd party modules installed, but when I now try to make a backup or restore a database I now get the following error "Database backup error: expected str, bytes or os.PathLike object, not bool".
I don't have any experience with ubunto or odoo.
Edit:
Deleting the the database and creating a new one still has this issue related to:
"Database backup error: expected str, bytes or os.PathLike object, not bool".
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Had to reinstall to fix this.
Here are a few steps you can take to troubleshoot this issue:
Check File Paths: Make sure that the file paths specified for the backup and restore operations are correct. Ensure that the destination path exists and is accessible by the Odoo process.
Permissions: Ensure that the Odoo process has the necessary permissions to read from and write to the backup directory. You might need to adjust file permissions or the user/group ownership of the directory.
File Format: Ensure that the backup file you're trying to restore is in the correct format and is not corrupted. If possible, try creating a new backup file and see if you encounter the same error.
Odoo Configuration: Double-check the Odoo configuration files (.conf) to ensure that there are no errors or misconfigurations that could be causing this issue. Pay particular attention to any settings related to file paths or database backups.
Logs: Check the Odoo logs for any additional error messages or clues that could help diagnose the problem. The logs might provide more context on what exactly is causing the "expected str, bytes, or os.PathLike object, not bool" error.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
1
thg 12 15
|
11079 | ||
|
0
thg 8 24
|
1268 | ||
|
3
thg 2 24
|
2416 | ||
|
0
thg 6 23
|
6172 | ||
|
1
thg 11 23
|
4120 |